diff --git a/Directory.Build.props b/Directory.Build.props
index 13253ee7ac..3a7331f35d 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -45,7 +45,7 @@
$(BaseArtifactsPath)pkg/$(Configuration)/
TerraFX.Interop.Windows
TerraFX.Interop
- 10.0.20348.3
+ 10.0.20348.4
rc1
pr
diff --git a/generation/remap-types.rsp b/generation/remap-types.rsp
index c789656cf4..f3e99eb441 100644
--- a/generation/remap-types.rsp
+++ b/generation/remap-types.rsp
@@ -5558,4 +5558,4 @@ __NCRYPT_PCP_TPM_WEB_AUTHN_ATTESTATION_STATEMENT=NCRYPT_PCP_TPM_WEB_AUTHN_ATTEST
__NCRYPT_SUPPORTED_LENGTHS=NCRYPT_SUPPORTED_LENGTHS
__NCRYPT_UI_POLICY=NCRYPT_UI_POLICY
__NSConstantString_tag=__NSConstantString
-__PUBLIC_OBJECT_TYPE_INFORMATION=PUBLIC_OBJECT_TYPE_INFORMATIO
+__PUBLIC_OBJECT_TYPE_INFORMATION=PUBLIC_OBJECT_TYPE_INFORMATION
diff --git a/generation/settings.rsp b/generation/settings.rsp
index 170b5a20bc..9f7662dba7 100644
--- a/generation/settings.rsp
+++ b/generation/settings.rsp
@@ -18,6 +18,7 @@ generate-aggressive-inlining
generate-cpp-attributes
generate-doc-includes
generate-file-scoped-namespaces
+generate-guid-member
generate-macro-bindings
generate-marker-interfaces
generate-native-inheritance-attribute
@@ -27,6 +28,7 @@ generate-unmanaged-constants
generate-vtbl-index-attribute
log-potential-typedef-remappings
multi-file
+preview-codegen
trimmable-vtbls
--define-macro
GDIPVER=0x0110
diff --git a/samples/DirectX/TerraFX.Samples.DirectX.csproj b/samples/DirectX/TerraFX.Samples.DirectX.csproj
index a935649084..2585ad8a66 100644
--- a/samples/DirectX/TerraFX.Samples.DirectX.csproj
+++ b/samples/DirectX/TerraFX.Samples.DirectX.csproj
@@ -3,7 +3,7 @@
- net6.0
+ net6.0;net7.0
diff --git a/samples/WinForms/TerraFX.Samples.WinForms.csproj b/samples/WinForms/TerraFX.Samples.WinForms.csproj
index cac7b234eb..624d488d17 100644
--- a/samples/WinForms/TerraFX.Samples.WinForms.csproj
+++ b/samples/WinForms/TerraFX.Samples.WinForms.csproj
@@ -3,7 +3,7 @@
- net6.0-windows
+ net6.0-windows;net7.0-windows
WinExe
true
diff --git a/scripts/build.ps1 b/scripts/build.ps1
index 9adb35bf0e..b995678be0 100644
--- a/scripts/build.ps1
+++ b/scripts/build.ps1
@@ -134,6 +134,7 @@ try {
Create-Directory -Path $DotNetInstallDirectory
& $DotNetInstallScript -Channel 6.0 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture
+ & $DotNetInstallScript -Channel 7.0 -Version latest -InstallDir $DotNetInstallDirectory -Architecture $architecture -Quality preview
$env:PATH="$DotNetInstallDirectory;$env:PATH"
}
diff --git a/sources/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7.cs b/sources/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7.cs
index 0c8226b51f..b00c83bfc6 100644
--- a/sources/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7.cs
+++ b/sources/Interop/Windows/DirectX/other/D3D11On12On7/ID3D11On12On7.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("00000000-0000-0000-0000-000000000000")]
[NativeTypeName("struct ID3D11On12On7 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11On12On7 : ID3D11On12On7.Interface
+public unsafe partial struct ID3D11On12On7 : ID3D11On12On7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11On12On7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/other/D3D12Downlevel/ID3D12CommandQueueDownlevel.cs b/sources/Interop/Windows/DirectX/other/D3D12Downlevel/ID3D12CommandQueueDownlevel.cs
index c355f6c3bb..aafa053ff6 100644
--- a/sources/Interop/Windows/DirectX/other/D3D12Downlevel/ID3D12CommandQueueDownlevel.cs
+++ b/sources/Interop/Windows/DirectX/other/D3D12Downlevel/ID3D12CommandQueueDownlevel.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("38A8C5EF-7CCB-4E81-914F-A6E9D072C494")]
[NativeTypeName("struct ID3D12CommandQueueDownlevel : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12CommandQueueDownlevel : ID3D12CommandQueueDownlevel.Interface
+public unsafe partial struct ID3D12CommandQueueDownlevel : ID3D12CommandQueueDownlevel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandQueueDownlevel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/other/D3D12Downlevel/ID3D12DeviceDownlevel.cs b/sources/Interop/Windows/DirectX/other/D3D12Downlevel/ID3D12DeviceDownlevel.cs
index 353b5eb6cf..c6139449df 100644
--- a/sources/Interop/Windows/DirectX/other/D3D12Downlevel/ID3D12DeviceDownlevel.cs
+++ b/sources/Interop/Windows/DirectX/other/D3D12Downlevel/ID3D12DeviceDownlevel.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("74EAEE3F-2F4B-476D-82BA-2B85CB49E310")]
[NativeTypeName("struct ID3D12DeviceDownlevel : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12DeviceDownlevel : ID3D12DeviceDownlevel.Interface
+public unsafe partial struct ID3D12DeviceDownlevel : ID3D12DeviceDownlevel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceDownlevel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/other/d3dx12/D3DX12_MESH_SHADER_PIPELINE_STATE_DESC.cs b/sources/Interop/Windows/DirectX/other/d3dx12/D3DX12_MESH_SHADER_PIPELINE_STATE_DESC.cs
index e90979d003..4a7d3d8c5b 100644
--- a/sources/Interop/Windows/DirectX/other/d3dx12/D3DX12_MESH_SHADER_PIPELINE_STATE_DESC.cs
+++ b/sources/Interop/Windows/DirectX/other/d3dx12/D3DX12_MESH_SHADER_PIPELINE_STATE_DESC.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT).
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
@@ -74,6 +75,7 @@ public partial struct _RTVFormats_e__FixedBuffer
public DXGI_FORMAT e6;
public DXGI_FORMAT e7;
+ [UnscopedRef]
public ref DXGI_FORMAT this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -84,6 +86,7 @@ public ref DXGI_FORMAT this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 8);
}
}
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter.cs
index 712d83fb63..b16a46e12b 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2411E7E1-12AC-4CCF-BD14-9798E8534DC0")]
[NativeTypeName("struct IDXGIAdapter : IDXGIObject")]
[NativeInheritance("IDXGIObject")]
-public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface
+public unsafe partial struct IDXGIAdapter : IDXGIAdapter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs
index 0d77532081..dab366a137 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("29038F61-3839-4626-91FD-086879011A05")]
[NativeTypeName("struct IDXGIAdapter1 : IDXGIAdapter")]
[NativeInheritance("IDXGIAdapter")]
-public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface
+public unsafe partial struct IDXGIAdapter1 : IDXGIAdapter1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDevice.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDevice.cs
index 89c7a6612d..42418bba56 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDevice.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDevice.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("54EC77FA-1377-44E6-8C32-88FD5F44C84C")]
[NativeTypeName("struct IDXGIDevice : IDXGIObject")]
[NativeInheritance("IDXGIObject")]
-public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface
+public unsafe partial struct IDXGIDevice : IDXGIDevice.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDevice1.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDevice1.cs
index cecdd92d3e..59919490ab 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDevice1.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDevice1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("77DB970F-6276-48BA-BA28-070143B4392C")]
[NativeTypeName("struct IDXGIDevice1 : IDXGIDevice")]
[NativeInheritance("IDXGIDevice")]
-public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface
+public unsafe partial struct IDXGIDevice1 : IDXGIDevice1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDeviceSubObject.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDeviceSubObject.cs
index bde0df0b13..75db28b672 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDeviceSubObject.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIDeviceSubObject.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3D3E0379-F9DE-4D58-BB6C-18D62992F1A6")]
[NativeTypeName("struct IDXGIDeviceSubObject : IDXGIObject")]
[NativeInheritance("IDXGIObject")]
-public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interface
+public unsafe partial struct IDXGIDeviceSubObject : IDXGIDeviceSubObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDeviceSubObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIFactory.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIFactory.cs
index b7ddd7f535..f064c359e5 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIFactory.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7B7166EC-21C7-44AE-B21A-C9AE321AE369")]
[NativeTypeName("struct IDXGIFactory : IDXGIObject")]
[NativeInheritance("IDXGIObject")]
-public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface
+public unsafe partial struct IDXGIFactory : IDXGIFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIFactory1.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIFactory1.cs
index e0e9ef1150..6e47226a45 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIFactory1.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIFactory1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("770AAE78-F26F-4DBA-A829-253C83D1B387")]
[NativeTypeName("struct IDXGIFactory1 : IDXGIFactory")]
[NativeInheritance("IDXGIFactory")]
-public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface
+public unsafe partial struct IDXGIFactory1 : IDXGIFactory1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIKeyedMutex.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIKeyedMutex.cs
index 175596e65a..4da2ed3531 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIKeyedMutex.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIKeyedMutex.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9D8E1289-D7B3-465F-8126-250E349AF85D")]
[NativeTypeName("struct IDXGIKeyedMutex : IDXGIDeviceSubObject")]
[NativeInheritance("IDXGIDeviceSubObject")]
-public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface
+public unsafe partial struct IDXGIKeyedMutex : IDXGIKeyedMutex.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIKeyedMutex));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIObject.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIObject.cs
index 7c4130225e..af41b03cb1 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIObject.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIObject.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("AEC22FB8-76F3-4639-9BE0-28EB43A67A2E")]
[NativeTypeName("struct IDXGIObject : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDXGIObject : IDXGIObject.Interface
+public unsafe partial struct IDXGIObject : IDXGIObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIOutput.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIOutput.cs
index 62b2ab821e..b587260e44 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIOutput.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIOutput.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("AE02EEDB-C735-4690-8D52-5A8DC20213AA")]
[NativeTypeName("struct IDXGIOutput : IDXGIObject")]
[NativeInheritance("IDXGIObject")]
-public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface
+public unsafe partial struct IDXGIOutput : IDXGIOutput.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIResource.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIResource.cs
index ed4205ed38..6bdddd128e 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIResource.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGIResource.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("035F3AB4-482E-4E50-B41F-8A7F8BD8960B")]
[NativeTypeName("struct IDXGIResource : IDXGIDeviceSubObject")]
[NativeInheritance("IDXGIDeviceSubObject")]
-public unsafe partial struct IDXGIResource : IDXGIResource.Interface
+public unsafe partial struct IDXGIResource : IDXGIResource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIResource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISurface.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISurface.cs
index f8a6b240c9..8a7c3cd511 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISurface.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISurface.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("CAFCB56C-6AC3-4889-BF47-9E23BBD260EC")]
[NativeTypeName("struct IDXGISurface : IDXGIDeviceSubObject")]
[NativeInheritance("IDXGIDeviceSubObject")]
-public unsafe partial struct IDXGISurface : IDXGISurface.Interface
+public unsafe partial struct IDXGISurface : IDXGISurface.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISurface));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISurface1.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISurface1.cs
index 94abeb74f6..424db8520e 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISurface1.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISurface1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4AE63092-6327-4C1B-80AE-BFE12EA32B86")]
[NativeTypeName("struct IDXGISurface1 : IDXGISurface")]
[NativeInheritance("IDXGISurface")]
-public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface
+public unsafe partial struct IDXGISurface1 : IDXGISurface1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISurface1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISwapChain.cs b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISwapChain.cs
index 9287a3a090..922974f10f 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISwapChain.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi/IDXGISwapChain.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("310D36A0-D2E7-4C0A-AA04-6A9D23B8886A")]
[NativeTypeName("struct IDXGISwapChain : IDXGIDeviceSubObject")]
[NativeInheritance("IDXGIDeviceSubObject")]
-public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface
+public unsafe partial struct IDXGISwapChain : IDXGISwapChain.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIAdapter2.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIAdapter2.cs
index 09331730e3..b0e8c6a39b 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIAdapter2.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIAdapter2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0AA1AE0A-FA0E-4B84-8644-E05FF8E5ACB5")]
[NativeTypeName("struct IDXGIAdapter2 : IDXGIAdapter1")]
[NativeInheritance("IDXGIAdapter1")]
-public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface
+public unsafe partial struct IDXGIAdapter2 : IDXGIAdapter2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIDevice2.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIDevice2.cs
index 4959610ab9..b7e04f5fb9 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIDevice2.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIDevice2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("05008617-FBFD-4051-A790-144884B4F6A9")]
[NativeTypeName("struct IDXGIDevice2 : IDXGIDevice1")]
[NativeInheritance("IDXGIDevice1")]
-public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface
+public unsafe partial struct IDXGIDevice2 : IDXGIDevice2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIDisplayControl.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIDisplayControl.cs
index f1107cbec7..37f61cb995 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIDisplayControl.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIDisplayControl.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("EA9DBF1A-C88E-4486-854A-98AA0138F30C")]
[NativeTypeName("struct IDXGIDisplayControl : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface
+public unsafe partial struct IDXGIDisplayControl : IDXGIDisplayControl.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDisplayControl));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs
index 5e08ed44dd..bdb959ae73 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("50C83A1C-E072-4C48-87B0-3630FA36A6D0")]
[NativeTypeName("struct IDXGIFactory2 : IDXGIFactory1")]
[NativeInheritance("IDXGIFactory1")]
-public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface
+public unsafe partial struct IDXGIFactory2 : IDXGIFactory2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutput1.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutput1.cs
index b9f0c482d1..d1a89dd394 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutput1.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutput1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("00CDDEA8-939B-4B83-A340-A685226666CC")]
[NativeTypeName("struct IDXGIOutput1 : IDXGIOutput")]
[NativeInheritance("IDXGIOutput")]
-public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface
+public unsafe partial struct IDXGIOutput1 : IDXGIOutput1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutputDuplication.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutputDuplication.cs
index 1ec62c22fc..14b1336c79 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutputDuplication.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutputDuplication.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIOutputDuplication : IDXGIObject")]
[NativeInheritance("IDXGIObject")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Interface
+public unsafe partial struct IDXGIOutputDuplication : IDXGIOutputDuplication.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutputDuplication));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIResource1.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIResource1.cs
index 729160d9b8..6e6102f8b3 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIResource1.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIResource1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("30961379-4609-4A41-998E-54FE567EE0C1")]
[NativeTypeName("struct IDXGIResource1 : IDXGIResource")]
[NativeInheritance("IDXGIResource")]
-public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface
+public unsafe partial struct IDXGIResource1 : IDXGIResource1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIResource1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGISurface2.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGISurface2.cs
index 2e0b7fc125..6a4cf98f10 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGISurface2.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGISurface2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("ABA496DD-B617-4CB8-A866-BC44D7EB1FA2")]
[NativeTypeName("struct IDXGISurface2 : IDXGISurface1")]
[NativeInheritance("IDXGISurface1")]
-public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface
+public unsafe partial struct IDXGISurface2 : IDXGISurface2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISurface2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs
index ddace6d783..433f80116a 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("790A45F7-0D42-4876-983A-0A55CFE6F4AA")]
[NativeTypeName("struct IDXGISwapChain1 : IDXGISwapChain")]
[NativeInheritance("IDXGISwapChain")]
-public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface
+public unsafe partial struct IDXGISwapChain1 : IDXGISwapChain1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIDecodeSwapChain.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIDecodeSwapChain.cs
index cde849a1ab..9026297acd 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIDecodeSwapChain.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIDecodeSwapChain.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIDecodeSwapChain : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interface
+public unsafe partial struct IDXGIDecodeSwapChain : IDXGIDecodeSwapChain.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDecodeSwapChain));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIDevice3.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIDevice3.cs
index 202b672872..d1f53440b7 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIDevice3.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIDevice3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIDevice3 : IDXGIDevice2")]
[NativeInheritance("IDXGIDevice2")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface
+public unsafe partial struct IDXGIDevice3 : IDXGIDevice3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIFactory3.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIFactory3.cs
index 85a79ae241..0c0badab1b 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIFactory3.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIFactory3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIFactory3 : IDXGIFactory2")]
[NativeInheritance("IDXGIFactory2")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface
+public unsafe partial struct IDXGIFactory3 : IDXGIFactory3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIFactoryMedia.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIFactoryMedia.cs
index aee47bae94..74e14fde58 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIFactoryMedia.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIFactoryMedia.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIFactoryMedia : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface
+public unsafe partial struct IDXGIFactoryMedia : IDXGIFactoryMedia.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactoryMedia));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput2.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput2.cs
index cc70d04991..0b935c16db 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput2.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIOutput2 : IDXGIOutput1")]
[NativeInheritance("IDXGIOutput1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface
+public unsafe partial struct IDXGIOutput2 : IDXGIOutput2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput3.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput3.cs
index fbe8023366..848e1d2bcb 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput3.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGIOutput3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIOutput3 : IDXGIOutput2")]
[NativeInheritance("IDXGIOutput2")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface
+public unsafe partial struct IDXGIOutput3 : IDXGIOutput3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGISwapChain2.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGISwapChain2.cs
index ddeab7d5cc..c055636b51 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGISwapChain2.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGISwapChain2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGISwapChain2 : IDXGISwapChain1")]
[NativeInheritance("IDXGISwapChain1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface
+public unsafe partial struct IDXGISwapChain2 : IDXGISwapChain2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGISwapChainMedia.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGISwapChainMedia.cs
index 82b6be36dd..bb4a356686 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGISwapChainMedia.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_3/IDXGISwapChainMedia.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGISwapChainMedia : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface
+public unsafe partial struct IDXGISwapChainMedia : IDXGISwapChainMedia.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChainMedia));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIAdapter3.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIAdapter3.cs
index 6827a3c9a6..98b9f17d13 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIAdapter3.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIAdapter3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("645967A4-1392-4310-A798-8053CE3E93FD")]
[NativeTypeName("struct IDXGIAdapter3 : IDXGIAdapter2")]
[NativeInheritance("IDXGIAdapter2")]
-public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface
+public unsafe partial struct IDXGIAdapter3 : IDXGIAdapter3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs
index 33bfaf9a87..83262fd1af 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1BC6EA02-EF36-464F-BF0C-21CA39E5168A")]
[NativeTypeName("struct IDXGIFactory4 : IDXGIFactory3")]
[NativeInheritance("IDXGIFactory3")]
-public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface
+public unsafe partial struct IDXGIFactory4 : IDXGIFactory4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIOutput4.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIOutput4.cs
index 55db7f013d..e97fa862cb 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIOutput4.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGIOutput4.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIOutput4 : IDXGIOutput3")]
[NativeInheritance("IDXGIOutput3")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface
+public unsafe partial struct IDXGIOutput4 : IDXGIOutput4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs
index 80cb80469d..afd7175837 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGISwapChain3 : IDXGISwapChain2")]
[NativeInheritance("IDXGISwapChain2")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface
+public unsafe partial struct IDXGISwapChain3 : IDXGISwapChain3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIDevice4.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIDevice4.cs
index 1ded832e83..8731f44656 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIDevice4.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIDevice4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("95B4F95F-D8DA-4CA4-9EE6-3B76D5968A10")]
[NativeTypeName("struct IDXGIDevice4 : IDXGIDevice3")]
[NativeInheritance("IDXGIDevice3")]
-public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface
+public unsafe partial struct IDXGIDevice4 : IDXGIDevice4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIFactory5.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIFactory5.cs
index c339f5c293..bc5b27dbde 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIFactory5.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIFactory5.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7632E1F5-EE65-4DCA-87FD-84CD75F8838D")]
[NativeTypeName("struct IDXGIFactory5 : IDXGIFactory4")]
[NativeInheritance("IDXGIFactory4")]
-public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface
+public unsafe partial struct IDXGIFactory5 : IDXGIFactory5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIOutput5.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIOutput5.cs
index 66742575b2..857494d4fe 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIOutput5.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGIOutput5.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIOutput5 : IDXGIOutput4")]
[NativeInheritance("IDXGIOutput4")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface
+public unsafe partial struct IDXGIOutput5 : IDXGIOutput5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGISwapChain4.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGISwapChain4.cs
index 043a26030b..dc8700fc74 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGISwapChain4.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_5/IDXGISwapChain4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3D585D5A-BD4A-489E-B1F4-3DBCB6452FFB")]
[NativeTypeName("struct IDXGISwapChain4 : IDXGISwapChain3")]
[NativeInheritance("IDXGISwapChain3")]
-public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface
+public unsafe partial struct IDXGISwapChain4 : IDXGISwapChain4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIAdapter4.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIAdapter4.cs
index 1022b21c81..bd3a5bb7d3 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIAdapter4.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIAdapter4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3C8D99D1-4FBF-4181-A82C-AF66BF7BD24E")]
[NativeTypeName("struct IDXGIAdapter4 : IDXGIAdapter3")]
[NativeInheritance("IDXGIAdapter3")]
-public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface
+public unsafe partial struct IDXGIAdapter4 : IDXGIAdapter4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs
index 82b1c72c33..e8588ce280 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIFactory6 : IDXGIFactory5")]
[NativeInheritance("IDXGIFactory5")]
[SupportedOSPlatform("windows10.0.17134.0")]
-public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface
+public unsafe partial struct IDXGIFactory6 : IDXGIFactory6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIFactory7.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIFactory7.cs
index ce0ce98673..a83179189e 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIFactory7.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIFactory7.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIFactory7 : IDXGIFactory6")]
[NativeInheritance("IDXGIFactory6")]
[SupportedOSPlatform("windows10.0.17763.0")]
-public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface
+public unsafe partial struct IDXGIFactory7 : IDXGIFactory7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIOutput6.cs b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIOutput6.cs
index ef6be17997..648d68bbb3 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIOutput6.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgi1_6/IDXGIOutput6.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIOutput6 : IDXGIOutput5")]
[NativeInheritance("IDXGIOutput5")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface
+public unsafe partial struct IDXGIOutput6 : IDXGIOutput6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL.cs b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL.cs
index f25a5cff01..5b7677f8cb 100644
--- a/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL.cs
+++ b/sources/Interop/Windows/DirectX/shared/dxgitype/DXGI_GAMMA_CONTROL.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -1051,6 +1052,7 @@ public partial struct _GammaCurve_e__FixedBuffer
public DXGI_RGB e1023;
public DXGI_RGB e1024;
+ [UnscopedRef]
public ref DXGI_RGB this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -1061,6 +1063,7 @@ public ref DXGI_RGB this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 1025);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/DXProgrammableCapture/IDXGraphicsAnalysis.cs b/sources/Interop/Windows/DirectX/um/DXProgrammableCapture/IDXGraphicsAnalysis.cs
index 878e2158e6..189a76935a 100644
--- a/sources/Interop/Windows/DirectX/um/DXProgrammableCapture/IDXGraphicsAnalysis.cs
+++ b/sources/Interop/Windows/DirectX/um/DXProgrammableCapture/IDXGraphicsAnalysis.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9F251514-9D4D-4902-9D60-18988AB7D4B5")]
[NativeTypeName("struct IDXGraphicsAnalysis : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDXGraphicsAnalysis : IDXGraphicsAnalysis.Interface
+public unsafe partial struct IDXGraphicsAnalysis : IDXGraphicsAnalysis.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGraphicsAnalysis));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLBindingTable.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLBindingTable.cs
index 6a07d34687..7edfe26f37 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLBindingTable.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLBindingTable.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("29C687DC-DE74-4E3B-AB00-1168F2FC3CFC")]
[NativeTypeName("struct IDMLBindingTable : IDMLDeviceChild")]
[NativeInheritance("IDMLDeviceChild")]
-public unsafe partial struct IDMLBindingTable : IDMLBindingTable.Interface
+public unsafe partial struct IDMLBindingTable : IDMLBindingTable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLBindingTable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLCommandRecorder.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLCommandRecorder.cs
index a0044e7bc8..02eea91eaa 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLCommandRecorder.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLCommandRecorder.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("E6857A76-2E3E-4FDD-BFF4-5D2BA10FB453")]
[NativeTypeName("struct IDMLCommandRecorder : IDMLDeviceChild")]
[NativeInheritance("IDMLDeviceChild")]
-public unsafe partial struct IDMLCommandRecorder : IDMLCommandRecorder.Interface
+public unsafe partial struct IDMLCommandRecorder : IDMLCommandRecorder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLCommandRecorder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLCompiledOperator.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLCompiledOperator.cs
index 5771d216d1..32aba054d3 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLCompiledOperator.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLCompiledOperator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6B15E56A-BF5C-4902-92D8-DA3A650AFEA4")]
[NativeTypeName("struct IDMLCompiledOperator : IDMLDispatchable")]
[NativeInheritance("IDMLDispatchable")]
-public unsafe partial struct IDMLCompiledOperator : IDMLCompiledOperator.Interface
+public unsafe partial struct IDMLCompiledOperator : IDMLCompiledOperator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLCompiledOperator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLDebugDevice.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLDebugDevice.cs
index 9ad902f03f..4e1815a853 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLDebugDevice.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLDebugDevice.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7D6F3AC9-394A-4AC3-92A7-390CC57A8217")]
[NativeTypeName("struct IDMLDebugDevice : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDMLDebugDevice : IDMLDebugDevice.Interface
+public unsafe partial struct IDMLDebugDevice : IDMLDebugDevice.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLDebugDevice));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLDevice.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLDevice.cs
index 2ea5b030a2..a794b3e9a0 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLDevice.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLDevice.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6DBD6437-96FD-423F-A98C-AE5E7C2A573F")]
[NativeTypeName("struct IDMLDevice : IDMLObject")]
[NativeInheritance("IDMLObject")]
-public unsafe partial struct IDMLDevice : IDMLDevice.Interface
+public unsafe partial struct IDMLDevice : IDMLDevice.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLDevice));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLDevice1.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLDevice1.cs
index 73dc2fe3c1..b63a95a5f9 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLDevice1.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLDevice1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A0884F9A-D2BE-4355-AA5D-5901281AD1D2")]
[NativeTypeName("struct IDMLDevice1 : IDMLDevice")]
[NativeInheritance("IDMLDevice")]
-public unsafe partial struct IDMLDevice1 : IDMLDevice1.Interface
+public unsafe partial struct IDMLDevice1 : IDMLDevice1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLDevice1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLDeviceChild.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLDeviceChild.cs
index cd67de561a..f484d8d91e 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLDeviceChild.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLDeviceChild.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("27E83142-8165-49E3-974E-2FD66E4CB69D")]
[NativeTypeName("struct IDMLDeviceChild : IDMLObject")]
[NativeInheritance("IDMLObject")]
-public unsafe partial struct IDMLDeviceChild : IDMLDeviceChild.Interface
+public unsafe partial struct IDMLDeviceChild : IDMLDeviceChild.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLDeviceChild));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLDispatchable.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLDispatchable.cs
index eb9741a701..dbf6b01f27 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLDispatchable.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLDispatchable.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DCB821A8-1039-441E-9F1C-B1759C2F3CEC")]
[NativeTypeName("struct IDMLDispatchable : IDMLPageable")]
[NativeInheritance("IDMLPageable")]
-public unsafe partial struct IDMLDispatchable : IDMLDispatchable.Interface
+public unsafe partial struct IDMLDispatchable : IDMLDispatchable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLDispatchable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLObject.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLObject.cs
index 474e28f712..bba7e4336a 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLObject.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLObject.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C8263AAC-9E0C-4A2D-9B8E-007521A3317C")]
[NativeTypeName("struct IDMLObject : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDMLObject : IDMLObject.Interface
+public unsafe partial struct IDMLObject : IDMLObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLOperator.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLOperator.cs
index 54a8c7d8cf..1c170d89df 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLOperator.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLOperator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("26CAAE7A-3081-4633-9581-226FBE57695D")]
[NativeTypeName("struct IDMLOperator : IDMLDeviceChild")]
[NativeInheritance("IDMLDeviceChild")]
-public unsafe partial struct IDMLOperator : IDMLOperator.Interface
+public unsafe partial struct IDMLOperator : IDMLOperator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLOperator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLOperatorInitializer.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLOperatorInitializer.cs
index f9559d6dd7..327fe7ad1e 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLOperatorInitializer.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLOperatorInitializer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("427C1113-435C-469C-8676-4D5DD072F813")]
[NativeTypeName("struct IDMLOperatorInitializer : IDMLDispatchable")]
[NativeInheritance("IDMLDispatchable")]
-public unsafe partial struct IDMLOperatorInitializer : IDMLOperatorInitializer.Interface
+public unsafe partial struct IDMLOperatorInitializer : IDMLOperatorInitializer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLOperatorInitializer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/DirectML/IDMLPageable.cs b/sources/Interop/Windows/DirectX/um/DirectML/IDMLPageable.cs
index 4028aaa05c..60e00858d7 100644
--- a/sources/Interop/Windows/DirectX/um/DirectML/IDMLPageable.cs
+++ b/sources/Interop/Windows/DirectX/um/DirectML/IDMLPageable.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B1AB0825-4542-4A4B-8617-6DDE6E8F6201")]
[NativeTypeName("struct IDMLPageable : IDMLDeviceChild")]
[NativeInheritance("IDMLDeviceChild")]
-public unsafe partial struct IDMLPageable : IDMLPageable.Interface
+public unsafe partial struct IDMLPageable : IDMLPageable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDMLPageable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/Xinput/XINPUT.cs b/sources/Interop/Windows/DirectX/um/Xinput/XINPUT.cs
index 8493e87632..f9f5b5938a 100644
--- a/sources/Interop/Windows/DirectX/um/Xinput/XINPUT.cs
+++ b/sources/Interop/Windows/DirectX/um/Xinput/XINPUT.cs
@@ -10,7 +10,7 @@ namespace TerraFX.Interop.DirectX;
public static partial class XINPUT
{
[NativeTypeName("#define XINPUT_DLL_A \"xinput1_4.dll\"")]
- public static ReadOnlySpan XINPUT_DLL_A => new byte[] { 0x78, 0x69, 0x6E, 0x70, 0x75, 0x74, 0x31, 0x5F, 0x34, 0x2E, 0x64, 0x6C, 0x6C, 0x00 };
+ public static ReadOnlySpan XINPUT_DLL_A => "xinput1_4.dll"u8;
[NativeTypeName("#define XINPUT_DLL_W L\"xinput1_4.dll\"")]
public const string XINPUT_DLL_W = "xinput1_4.dll";
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Bitmap.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Bitmap.cs
index 292835c767..7adcd9fa35 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Bitmap.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Bitmap.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A2296057-EA42-4099-983B-539FB6505426")]
[NativeTypeName("struct ID2D1Bitmap : ID2D1Image")]
[NativeInheritance("ID2D1Image")]
-public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface
+public unsafe partial struct ID2D1Bitmap : ID2D1Bitmap.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs
index ef6e018dd4..75996cc211 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906AA-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1BitmapBrush : ID2D1Brush")]
[NativeInheritance("ID2D1Brush")]
-public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface
+public unsafe partial struct ID2D1BitmapBrush : ID2D1BitmapBrush.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs
index ed06ac1f40..0fc22eb17d 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs
@@ -13,6 +13,7 @@
using static TerraFX.Interop.DirectX.D2D1_EXTEND_MODE;
using static TerraFX.Interop.DirectX.D2D1_GAMMA;
using static TerraFX.Interop.DirectX.DWRITE_MEASURING_MODE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -20,8 +21,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD90695-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1BitmapRenderTarget : ID2D1RenderTarget")]
[NativeInheritance("ID2D1RenderTarget")]
-public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.Interface
+public unsafe partial struct ID2D1BitmapRenderTarget : ID2D1BitmapRenderTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapRenderTarget));
+
public void** lpVtbl;
public HRESULT CreateBitmap([NativeTypeName("D2D1_SIZE_U")] D2D_SIZE_U size, [NativeTypeName("const D2D1_BITMAP_PROPERTIES &")] D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Brush.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Brush.cs
index 1ea08b6f04..7da0425df3 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Brush.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Brush.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906A8-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1Brush : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface
+public unsafe partial struct ID2D1Brush : ID2D1Brush.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Brush));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs
index 107f42d1f0..c15d05ead4 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs
@@ -13,6 +13,7 @@
using static TerraFX.Interop.DirectX.D2D1_EXTEND_MODE;
using static TerraFX.Interop.DirectX.D2D1_GAMMA;
using static TerraFX.Interop.DirectX.DWRITE_MEASURING_MODE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -20,8 +21,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1C51BC64-DE61-46FD-9899-63A5D8F03950")]
[NativeTypeName("struct ID2D1DCRenderTarget : ID2D1RenderTarget")]
[NativeInheritance("ID2D1RenderTarget")]
-public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface
+public unsafe partial struct ID2D1DCRenderTarget : ID2D1DCRenderTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DCRenderTarget));
+
public void** lpVtbl;
public HRESULT CreateBitmap([NativeTypeName("D2D1_SIZE_U")] D2D_SIZE_U size, [NativeTypeName("const D2D1_BITMAP_PROPERTIES &")] D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DrawingStateBlock.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DrawingStateBlock.cs
index 1f26d87f80..57bd672142 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DrawingStateBlock.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1DrawingStateBlock.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("28506E39-EBF6-46A1-BB47-FD85565AB957")]
[NativeTypeName("struct ID2D1DrawingStateBlock : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Interface
+public unsafe partial struct ID2D1DrawingStateBlock : ID2D1DrawingStateBlock.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs
index 2e48a05669..3ecdad6162 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906A4-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1EllipseGeometry : ID2D1Geometry")]
[NativeInheritance("ID2D1Geometry")]
-public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interface
+public unsafe partial struct ID2D1EllipseGeometry : ID2D1EllipseGeometry.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EllipseGeometry));
+
public void** lpVtbl;
public HRESULT GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* worldTransform, [NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* bounds)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Factory.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Factory.cs
index 83e7fb47a3..b883c08936 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Factory.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Factory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("06152247-6F50-465A-9245-118BFD3B6007")]
[NativeTypeName("struct ID2D1Factory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface
+public unsafe partial struct ID2D1Factory : ID2D1Factory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory));
+
public void** lpVtbl;
public HRESULT CreateDrawingStateBlock([NativeTypeName("const D2D1_DRAWING_STATE_DESCRIPTION &")] D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription, ID2D1DrawingStateBlock** drawingStateBlock)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GdiInteropRenderTarget.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GdiInteropRenderTarget.cs
index de4957f3f8..edcb3888c6 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GdiInteropRenderTarget.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GdiInteropRenderTarget.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("E0DB51C3-6F77-4BAE-B3D5-E47509B35838")]
[NativeTypeName("struct ID2D1GdiInteropRenderTarget : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1GdiInteropRenderTarget : ID2D1GdiInteropRenderTarget.Interface
+public unsafe partial struct ID2D1GdiInteropRenderTarget : ID2D1GdiInteropRenderTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiInteropRenderTarget));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Geometry.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Geometry.cs
index 908ac0a6ec..2342e979cf 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Geometry.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Geometry.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906A1-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1Geometry : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface
+public unsafe partial struct ID2D1Geometry : ID2D1Geometry.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Geometry));
+
public void** lpVtbl;
public HRESULT GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* worldTransform, [NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* bounds)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs
index 356e8e072b..5c27018bc0 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906A6-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1GeometryGroup : ID2D1Geometry")]
[NativeInheritance("ID2D1Geometry")]
-public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface
+public unsafe partial struct ID2D1GeometryGroup : ID2D1GeometryGroup.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryGroup));
+
public void** lpVtbl;
public HRESULT GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* worldTransform, [NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* bounds)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometrySink.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometrySink.cs
index 9a947117da..c1ac7754f4 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometrySink.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GeometrySink.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD9069F-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1GeometrySink : ID2D1SimplifiedGeometrySink")]
[NativeInheritance("ID2D1SimplifiedGeometrySink")]
-public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface
+public unsafe partial struct ID2D1GeometrySink : ID2D1GeometrySink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometrySink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs
index cf0a518322..29f4d9a750 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906A7-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1GradientStopCollection : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopCollection.Interface
+public unsafe partial struct ID2D1GradientStopCollection : ID2D1GradientStopCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs
index 25f009e647..433df4da24 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs
@@ -13,6 +13,7 @@
using static TerraFX.Interop.DirectX.D2D1_EXTEND_MODE;
using static TerraFX.Interop.DirectX.D2D1_GAMMA;
using static TerraFX.Interop.DirectX.DWRITE_MEASURING_MODE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -20,8 +21,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD90698-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1HwndRenderTarget : ID2D1RenderTarget")]
[NativeInheritance("ID2D1RenderTarget")]
-public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Interface
+public unsafe partial struct ID2D1HwndRenderTarget : ID2D1HwndRenderTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1HwndRenderTarget));
+
public void** lpVtbl;
public HRESULT CreateBitmap([NativeTypeName("D2D1_SIZE_U")] D2D_SIZE_U size, [NativeTypeName("const D2D1_BITMAP_PROPERTIES &")] D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Image.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Image.cs
index 48315c99b4..a442e64f0c 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Image.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Image.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("65019F75-8DA2-497C-B32C-DFA34E48EDE6")]
[NativeTypeName("struct ID2D1Image : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1Image : ID2D1Image.Interface
+public unsafe partial struct ID2D1Image : ID2D1Image.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Image));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Layer.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Layer.cs
index 958bac53a5..10f8329844 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Layer.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Layer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD9069B-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1Layer : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1Layer : ID2D1Layer.Interface
+public unsafe partial struct ID2D1Layer : ID2D1Layer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Layer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs
index 0204774e78..e5a36c0d26 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906AB-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1LinearGradientBrush : ID2D1Brush")]
[NativeInheritance("ID2D1Brush")]
-public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush.Interface
+public unsafe partial struct ID2D1LinearGradientBrush : ID2D1LinearGradientBrush.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LinearGradientBrush));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Mesh.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Mesh.cs
index b4f459269f..580cf3e499 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Mesh.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Mesh.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906C2-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1Mesh : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1Mesh : ID2D1Mesh.Interface
+public unsafe partial struct ID2D1Mesh : ID2D1Mesh.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Mesh));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs
index a74d3abd01..1f5727b484 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906A5-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1PathGeometry : ID2D1Geometry")]
[NativeInheritance("ID2D1Geometry")]
-public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface
+public unsafe partial struct ID2D1PathGeometry : ID2D1PathGeometry.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry));
+
public void** lpVtbl;
public HRESULT GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* worldTransform, [NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* bounds)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs
index 6251130c93..2e5372d002 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906AC-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1RadialGradientBrush : ID2D1Brush")]
[NativeInheritance("ID2D1Brush")]
-public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush.Interface
+public unsafe partial struct ID2D1RadialGradientBrush : ID2D1RadialGradientBrush.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RadialGradientBrush));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs
index 71a14e5dce..3d2cbdcd46 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906A2-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1RectangleGeometry : ID2D1Geometry")]
[NativeInheritance("ID2D1Geometry")]
-public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Interface
+public unsafe partial struct ID2D1RectangleGeometry : ID2D1RectangleGeometry.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RectangleGeometry));
+
public void** lpVtbl;
public HRESULT GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* worldTransform, [NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* bounds)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs
index d1b898988c..3299c32e4b 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs
@@ -13,6 +13,7 @@
using static TerraFX.Interop.DirectX.D2D1_EXTEND_MODE;
using static TerraFX.Interop.DirectX.D2D1_GAMMA;
using static TerraFX.Interop.DirectX.DWRITE_MEASURING_MODE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -20,8 +21,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD90694-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1RenderTarget : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface
+public unsafe partial struct ID2D1RenderTarget : ID2D1RenderTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderTarget));
+
public void** lpVtbl;
public HRESULT CreateBitmap([NativeTypeName("D2D1_SIZE_U")] D2D_SIZE_U size, [NativeTypeName("const D2D1_BITMAP_PROPERTIES &")] D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Resource.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Resource.cs
index 7ff56f48d6..f0aaae6441 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Resource.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1Resource.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD90691-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1Resource : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1Resource : ID2D1Resource.Interface
+public unsafe partial struct ID2D1Resource : ID2D1Resource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Resource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs
index 752a61cc88..e67595b040 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906A3-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1RoundedRectangleGeometry : ID2D1Geometry")]
[NativeInheritance("ID2D1Geometry")]
-public unsafe partial struct ID2D1RoundedRectangleGeometry : ID2D1RoundedRectangleGeometry.Interface
+public unsafe partial struct ID2D1RoundedRectangleGeometry : ID2D1RoundedRectangleGeometry.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RoundedRectangleGeometry));
+
public void** lpVtbl;
public HRESULT GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* worldTransform, [NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* bounds)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SimplifiedGeometrySink.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SimplifiedGeometrySink.cs
index a69749186a..6269c511e8 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SimplifiedGeometrySink.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SimplifiedGeometrySink.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD9069E-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1SimplifiedGeometrySink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1SimplifiedGeometrySink : ID2D1SimplifiedGeometrySink.Interface
+public unsafe partial struct ID2D1SimplifiedGeometrySink : ID2D1SimplifiedGeometrySink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SimplifiedGeometrySink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs
index 2a2ad9a739..a1e2a3b113 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906A9-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1SolidColorBrush : ID2D1Brush")]
[NativeInheritance("ID2D1Brush")]
-public unsafe partial struct ID2D1SolidColorBrush : ID2D1SolidColorBrush.Interface
+public unsafe partial struct ID2D1SolidColorBrush : ID2D1SolidColorBrush.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SolidColorBrush));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs
index 32e927797a..270fa13bd3 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD9069D-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1StrokeStyle : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1StrokeStyle : ID2D1StrokeStyle.Interface
+public unsafe partial struct ID2D1StrokeStyle : ID2D1StrokeStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1StrokeStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TessellationSink.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TessellationSink.cs
index 891967ecdb..65dd2726bb 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TessellationSink.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TessellationSink.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906C1-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1TessellationSink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1TessellationSink : ID2D1TessellationSink.Interface
+public unsafe partial struct ID2D1TessellationSink : ID2D1TessellationSink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TessellationSink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs
index f4f2233f4e..ade22d5705 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2CD906BB-12E2-11DC-9FED-001143A055F9")]
[NativeTypeName("struct ID2D1TransformedGeometry : ID2D1Geometry")]
[NativeInheritance("ID2D1Geometry")]
-public unsafe partial struct ID2D1TransformedGeometry : ID2D1TransformedGeometry.Interface
+public unsafe partial struct ID2D1TransformedGeometry : ID2D1TransformedGeometry.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformedGeometry));
+
public void** lpVtbl;
public HRESULT GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* worldTransform, [NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* bounds)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs
index a7348da7b0..9cbb01479e 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A898A84C-3873-4588-B08B-EBBF978DF041")]
[NativeTypeName("struct ID2D1Bitmap1 : ID2D1Bitmap")]
[NativeInheritance("ID2D1Bitmap")]
-public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface
+public unsafe partial struct ID2D1Bitmap1 : ID2D1Bitmap1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs
index 0e703756b7..324a737b58 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("41343A53-E41A-49A2-91CD-21793BBB62E5")]
[NativeTypeName("struct ID2D1BitmapBrush1 : ID2D1BitmapBrush")]
[NativeInheritance("ID2D1BitmapBrush")]
-public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface
+public unsafe partial struct ID2D1BitmapBrush1 : ID2D1BitmapBrush1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs
index 5d18967363..35fe9b62b6 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1C4820BB-5771-4518-A581-2FE4DD0EC657")]
[NativeTypeName("struct ID2D1ColorContext : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1ColorContext : ID2D1ColorContext.Interface
+public unsafe partial struct ID2D1ColorContext : ID2D1ColorContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1CommandList.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1CommandList.cs
index 9d124a7c0a..422a9e4ac6 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1CommandList.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1CommandList.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B4F34A19-2383-4D76-94F6-EC343657C3DC")]
[NativeTypeName("struct ID2D1CommandList : ID2D1Image")]
[NativeInheritance("ID2D1Image")]
-public unsafe partial struct ID2D1CommandList : ID2D1CommandList.Interface
+public unsafe partial struct ID2D1CommandList : ID2D1CommandList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1CommandSink.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1CommandSink.cs
index 084f773a92..3c09e0dfef 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1CommandSink.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1CommandSink.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("54D7898A-A061-40A7-BEC7-E465BCBA2C4F")]
[NativeTypeName("struct ID2D1CommandSink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface
+public unsafe partial struct ID2D1CommandSink : ID2D1CommandSink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Device.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Device.cs
index e4c12715f2..778de6fa44 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Device.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Device.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("47DD575D-AC05-4CDD-8049-9B02CD16F44C")]
[NativeTypeName("struct ID2D1Device : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1Device : ID2D1Device.Interface
+public unsafe partial struct ID2D1Device : ID2D1Device.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs
index f6367bc6a3..bf8814ef40 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs
@@ -15,6 +15,7 @@
using static TerraFX.Interop.DirectX.D2D1_GAMMA;
using static TerraFX.Interop.DirectX.D2D1_INTERPOLATION_MODE;
using static TerraFX.Interop.DirectX.DWRITE_MEASURING_MODE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -22,8 +23,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("E8F7FE7A-191C-466D-AD95-975678BDA998")]
[NativeTypeName("struct ID2D1DeviceContext : ID2D1RenderTarget")]
[NativeInheritance("ID2D1RenderTarget")]
-public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface
+public unsafe partial struct ID2D1DeviceContext : ID2D1DeviceContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext));
+
public void** lpVtbl;
public HRESULT CreateBitmap([NativeTypeName("D2D1_SIZE_U")] D2D_SIZE_U size, [NativeTypeName("const D2D1_BITMAP_PROPERTIES &")] D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DrawingStateBlock1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DrawingStateBlock1.cs
index 0a502e6229..668f40ddf7 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DrawingStateBlock1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1DrawingStateBlock1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("689F1F85-C72E-4E33-8F19-85754EFD5ACE")]
[NativeTypeName("struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock")]
[NativeInheritance("ID2D1DrawingStateBlock")]
-public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.Interface
+public unsafe partial struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Effect.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Effect.cs
index cff09ae46f..a17af0c90a 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Effect.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Effect.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using static TerraFX.Interop.DirectX.D2D1_PROPERTY_TYPE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("28211A43-7D89-476F-8181-2D6159B220AD")]
[NativeTypeName("struct ID2D1Effect : ID2D1Properties")]
[NativeInheritance("ID2D1Properties")]
-public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface
+public unsafe partial struct ID2D1Effect : ID2D1Effect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Effect));
+
public void** lpVtbl;
public HRESULT SetValueByName([NativeTypeName("PCWSTR")] ushort* name, [NativeTypeName("const BYTE *")] byte* data, [NativeTypeName("UINT32")] uint dataSize)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Factory1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Factory1.cs
index d52582821d..589dbb1e17 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Factory1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Factory1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1Factory1 : ID2D1Factory")]
[NativeInheritance("ID2D1Factory")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface
+public unsafe partial struct ID2D1Factory1 : ID2D1Factory1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory1));
+
public void** lpVtbl;
public HRESULT CreateDrawingStateBlock([NativeTypeName("const D2D1_DRAWING_STATE_DESCRIPTION &")] D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription, ID2D1DrawingStateBlock** drawingStateBlock)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GdiMetafile.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GdiMetafile.cs
index 86839bcd30..b4fb9a9b58 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GdiMetafile.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GdiMetafile.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1GdiMetafile : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID2D1GdiMetafile : ID2D1GdiMetafile.Interface
+public unsafe partial struct ID2D1GdiMetafile : ID2D1GdiMetafile.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GdiMetafileSink.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GdiMetafileSink.cs
index 8ce249b833..dbce490aaa 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GdiMetafileSink.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GdiMetafileSink.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1GdiMetafileSink : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID2D1GdiMetafileSink : ID2D1GdiMetafileSink.Interface
+public unsafe partial struct ID2D1GdiMetafileSink : ID2D1GdiMetafileSink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs
index ecd9c4bc9f..74cb063057 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("AE1572F4-5DD0-4777-998B-9279472AE63B")]
[NativeTypeName("struct ID2D1GradientStopCollection1 : ID2D1GradientStopCollection")]
[NativeInheritance("ID2D1GradientStopCollection")]
-public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCollection1.Interface
+public unsafe partial struct ID2D1GradientStopCollection1 : ID2D1GradientStopCollection1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs
index 9d4ef39076..e08cdcd667 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("FE9E984D-3F95-407C-B5DB-CB94D4E8F87C")]
[NativeTypeName("struct ID2D1ImageBrush : ID2D1Brush")]
[NativeInheritance("ID2D1Brush")]
-public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface
+public unsafe partial struct ID2D1ImageBrush : ID2D1ImageBrush.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageBrush));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Multithread.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Multithread.cs
index 827434e95d..db43887e28 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Multithread.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Multithread.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("31E6E7BC-E0FF-4D46-8C64-A0A8C41C15D3")]
[NativeTypeName("struct ID2D1Multithread : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1Multithread : ID2D1Multithread.Interface
+public unsafe partial struct ID2D1Multithread : ID2D1Multithread.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Multithread));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PathGeometry1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PathGeometry1.cs
index 442007beef..ff6fd6c7fd 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PathGeometry1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PathGeometry1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("62BAA2D2-AB54-41B7-B872-787E0106A421")]
[NativeTypeName("struct ID2D1PathGeometry1 : ID2D1PathGeometry")]
[NativeInheritance("ID2D1PathGeometry")]
-public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface
+public unsafe partial struct ID2D1PathGeometry1 : ID2D1PathGeometry1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry1));
+
public void** lpVtbl;
public HRESULT GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* worldTransform, [NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* bounds)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PrintControl.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PrintControl.cs
index 80195f8aba..d0903dd696 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PrintControl.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1PrintControl.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2C1D867D-C290-41C8-AE7E-34A98702E9A5")]
[NativeTypeName("struct ID2D1PrintControl : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1PrintControl : ID2D1PrintControl.Interface
+public unsafe partial struct ID2D1PrintControl : ID2D1PrintControl.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PrintControl));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Properties.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Properties.cs
index 5773f2eb10..767fa7be12 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Properties.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1Properties.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using static TerraFX.Interop.DirectX.D2D1_PROPERTY_TYPE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("483473D7-CD46-4F9D-9D3A-3112AA80159D")]
[NativeTypeName("struct ID2D1Properties : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface
+public unsafe partial struct ID2D1Properties : ID2D1Properties.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Properties));
+
public void** lpVtbl;
public HRESULT SetValueByName([NativeTypeName("PCWSTR")] ushort* name, [NativeTypeName("const BYTE *")] byte* data, [NativeTypeName("UINT32")] uint dataSize)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1StrokeStyle1.cs b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1StrokeStyle1.cs
index d306e30815..096a035ad5 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1StrokeStyle1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_1/ID2D1StrokeStyle1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("10A72A66-E91C-43F4-993F-DDF4B82B0B4A")]
[NativeTypeName("struct ID2D1StrokeStyle1 : ID2D1StrokeStyle")]
[NativeInheritance("ID2D1StrokeStyle")]
-public unsafe partial struct ID2D1StrokeStyle1 : ID2D1StrokeStyle1.Interface
+public unsafe partial struct ID2D1StrokeStyle1 : ID2D1StrokeStyle1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1StrokeStyle1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1CommandSink1.cs b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1CommandSink1.cs
index efbd567a33..bae83ab782 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1CommandSink1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1CommandSink1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1CommandSink1 : ID2D1CommandSink")]
[NativeInheritance("ID2D1CommandSink")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface
+public unsafe partial struct ID2D1CommandSink1 : ID2D1CommandSink1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Device1.cs b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Device1.cs
index 0386812cc1..2eb2588ea1 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Device1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Device1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1Device1 : ID2D1Device")]
[NativeInheritance("ID2D1Device")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface
+public unsafe partial struct ID2D1Device1 : ID2D1Device1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1DeviceContext1.cs b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1DeviceContext1.cs
index c88da51dba..c0a437adea 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1DeviceContext1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1DeviceContext1.cs
@@ -16,6 +16,7 @@
using static TerraFX.Interop.DirectX.D2D1_GAMMA;
using static TerraFX.Interop.DirectX.D2D1_INTERPOLATION_MODE;
using static TerraFX.Interop.DirectX.DWRITE_MEASURING_MODE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -24,8 +25,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1DeviceContext1 : ID2D1DeviceContext")]
[NativeInheritance("ID2D1DeviceContext")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface
+public unsafe partial struct ID2D1DeviceContext1 : ID2D1DeviceContext1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext1));
+
public void** lpVtbl;
public HRESULT CreateBitmap([NativeTypeName("D2D1_SIZE_U")] D2D_SIZE_U size, [NativeTypeName("const D2D1_BITMAP_PROPERTIES &")] D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Factory2.cs b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Factory2.cs
index b6477ff40d..f0b628e42e 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Factory2.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1Factory2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1Factory2 : ID2D1Factory1")]
[NativeInheritance("ID2D1Factory1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface
+public unsafe partial struct ID2D1Factory2 : ID2D1Factory2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory2));
+
public void** lpVtbl;
public HRESULT CreateDrawingStateBlock([NativeTypeName("const D2D1_DRAWING_STATE_DESCRIPTION &")] D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription, ID2D1DrawingStateBlock** drawingStateBlock)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1GeometryRealization.cs b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1GeometryRealization.cs
index ada5a57a45..2a28d02701 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1GeometryRealization.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_2/ID2D1GeometryRealization.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1GeometryRealization : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ID2D1GeometryRealization : ID2D1GeometryRealization.Interface
+public unsafe partial struct ID2D1GeometryRealization : ID2D1GeometryRealization.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryRealization));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ColorContext1.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ColorContext1.cs
index d53e857df4..cac8e98316 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ColorContext1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ColorContext1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1AB42875-C57F-4BE9-BD85-9CD78D6F55EE")]
[NativeTypeName("struct ID2D1ColorContext1 : ID2D1ColorContext")]
[NativeInheritance("ID2D1ColorContext")]
-public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface
+public unsafe partial struct ID2D1ColorContext1 : ID2D1ColorContext1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink2.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink2.cs
index 91f67e4b4f..a067a40a84 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink2.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1CommandSink2 : ID2D1CommandSink1")]
[NativeInheritance("ID2D1CommandSink1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface
+public unsafe partial struct ID2D1CommandSink2 : ID2D1CommandSink2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink3.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink3.cs
index e95288353f..f7966bd2b7 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink3.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("18079135-4CF3-4868-BC8E-06067E6D242D")]
[NativeTypeName("struct ID2D1CommandSink3 : ID2D1CommandSink2")]
[NativeInheritance("ID2D1CommandSink2")]
-public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface
+public unsafe partial struct ID2D1CommandSink3 : ID2D1CommandSink3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink4.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink4.cs
index ed8a11f695..c4f1ad9f15 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink4.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C78A6519-40D6-4218-B2DE-BEEEB744BB3E")]
[NativeTypeName("struct ID2D1CommandSink4 : ID2D1CommandSink3")]
[NativeInheritance("ID2D1CommandSink3")]
-public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface
+public unsafe partial struct ID2D1CommandSink4 : ID2D1CommandSink4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink5.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink5.cs
index c49397d710..ca82856cba 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink5.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1CommandSink5.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7047DD26-B1E7-44A7-959A-8349E2144FA8")]
[NativeTypeName("struct ID2D1CommandSink5 : ID2D1CommandSink4")]
[NativeInheritance("ID2D1CommandSink4")]
-public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface
+public unsafe partial struct ID2D1CommandSink5 : ID2D1CommandSink5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device2.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device2.cs
index 20e9254336..7b7e02ec2a 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device2.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A44472E1-8DFB-4E60-8492-6E2861C9CA8B")]
[NativeTypeName("struct ID2D1Device2 : ID2D1Device1")]
[NativeInheritance("ID2D1Device1")]
-public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface
+public unsafe partial struct ID2D1Device2 : ID2D1Device2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device3.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device3.cs
index 941af7e6d8..83e5062fcb 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device3.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("852F2087-802C-4037-AB60-FF2E7EE6FC01")]
[NativeTypeName("struct ID2D1Device3 : ID2D1Device2")]
[NativeInheritance("ID2D1Device2")]
-public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface
+public unsafe partial struct ID2D1Device3 : ID2D1Device3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device4.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device4.cs
index 47bdd650cb..6a132a8d38 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device4.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("D7BDB159-5683-4A46-BC9C-72DC720B858B")]
[NativeTypeName("struct ID2D1Device4 : ID2D1Device3")]
[NativeInheritance("ID2D1Device3")]
-public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface
+public unsafe partial struct ID2D1Device4 : ID2D1Device4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device5.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device5.cs
index a435171317..5724831b2c 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device5.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device5.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("D55BA0A4-6405-4694-AEF5-08EE1A4358B4")]
[NativeTypeName("struct ID2D1Device5 : ID2D1Device4")]
[NativeInheritance("ID2D1Device4")]
-public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface
+public unsafe partial struct ID2D1Device5 : ID2D1Device5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device6.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device6.cs
index 495bb19e0b..776e52aa61 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device6.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Device6.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7BFEF914-2D75-4BAD-BE87-E18DDB077B6D")]
[NativeTypeName("struct ID2D1Device6 : ID2D1Device5")]
[NativeInheritance("ID2D1Device5")]
-public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface
+public unsafe partial struct ID2D1Device6 : ID2D1Device6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext2.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext2.cs
index 9ad3df590c..06494f708a 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext2.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext2.cs
@@ -18,6 +18,7 @@
using static TerraFX.Interop.DirectX.D2D1_IMAGE_SOURCE_LOADING_OPTIONS;
using static TerraFX.Interop.DirectX.D2D1_INTERPOLATION_MODE;
using static TerraFX.Interop.DirectX.DWRITE_MEASURING_MODE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -26,8 +27,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1DeviceContext2 : ID2D1DeviceContext1")]
[NativeInheritance("ID2D1DeviceContext1")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface
+public unsafe partial struct ID2D1DeviceContext2 : ID2D1DeviceContext2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext2));
+
public void** lpVtbl;
public HRESULT CreateBitmap([NativeTypeName("D2D1_SIZE_U")] D2D_SIZE_U size, [NativeTypeName("const D2D1_BITMAP_PROPERTIES &")] D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext3.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext3.cs
index 444c57c296..a3c0fc7173 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext3.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext3.cs
@@ -19,6 +19,7 @@
using static TerraFX.Interop.DirectX.D2D1_INTERPOLATION_MODE;
using static TerraFX.Interop.DirectX.D2D1_SPRITE_OPTIONS;
using static TerraFX.Interop.DirectX.DWRITE_MEASURING_MODE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -27,8 +28,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1DeviceContext3 : ID2D1DeviceContext2")]
[NativeInheritance("ID2D1DeviceContext2")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface
+public unsafe partial struct ID2D1DeviceContext3 : ID2D1DeviceContext3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext3));
+
public void** lpVtbl;
public HRESULT CreateBitmap([NativeTypeName("D2D1_SIZE_U")] D2D_SIZE_U size, [NativeTypeName("const D2D1_BITMAP_PROPERTIES &")] D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext4.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext4.cs
index 40f9ba043a..85816a019c 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext4.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext4.cs
@@ -20,6 +20,7 @@
using static TerraFX.Interop.DirectX.D2D1_INTERPOLATION_MODE;
using static TerraFX.Interop.DirectX.D2D1_SPRITE_OPTIONS;
using static TerraFX.Interop.DirectX.DWRITE_MEASURING_MODE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -28,8 +29,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1DeviceContext4 : ID2D1DeviceContext3")]
[NativeInheritance("ID2D1DeviceContext3")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID2D1DeviceContext4 : ID2D1DeviceContext4.Interface
+public unsafe partial struct ID2D1DeviceContext4 : ID2D1DeviceContext4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext4));
+
public void** lpVtbl;
public HRESULT CreateBitmap([NativeTypeName("D2D1_SIZE_U")] D2D_SIZE_U size, [NativeTypeName("const D2D1_BITMAP_PROPERTIES &")] D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext5.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext5.cs
index f0edc1f360..5c43e024ae 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext5.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext5.cs
@@ -20,6 +20,7 @@
using static TerraFX.Interop.DirectX.D2D1_INTERPOLATION_MODE;
using static TerraFX.Interop.DirectX.D2D1_SPRITE_OPTIONS;
using static TerraFX.Interop.DirectX.DWRITE_MEASURING_MODE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -28,8 +29,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1DeviceContext5 : ID2D1DeviceContext4")]
[NativeInheritance("ID2D1DeviceContext4")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID2D1DeviceContext5 : ID2D1DeviceContext5.Interface
+public unsafe partial struct ID2D1DeviceContext5 : ID2D1DeviceContext5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext5));
+
public void** lpVtbl;
public HRESULT CreateBitmap([NativeTypeName("D2D1_SIZE_U")] D2D_SIZE_U size, [NativeTypeName("const D2D1_BITMAP_PROPERTIES &")] D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext6.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext6.cs
index 209feb7209..f0e1dbcc51 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext6.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1DeviceContext6.cs
@@ -20,6 +20,7 @@
using static TerraFX.Interop.DirectX.D2D1_INTERPOLATION_MODE;
using static TerraFX.Interop.DirectX.D2D1_SPRITE_OPTIONS;
using static TerraFX.Interop.DirectX.DWRITE_MEASURING_MODE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -28,8 +29,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1DeviceContext6 : ID2D1DeviceContext5")]
[NativeInheritance("ID2D1DeviceContext5")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID2D1DeviceContext6 : ID2D1DeviceContext6.Interface
+public unsafe partial struct ID2D1DeviceContext6 : ID2D1DeviceContext6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext6));
+
public void** lpVtbl;
public HRESULT CreateBitmap([NativeTypeName("D2D1_SIZE_U")] D2D_SIZE_U size, [NativeTypeName("const D2D1_BITMAP_PROPERTIES &")] D2D1_BITMAP_PROPERTIES* bitmapProperties, ID2D1Bitmap** bitmap)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory3.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory3.cs
index f7bca822b3..c5d4093f90 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory3.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0869759F-4F00-413F-B03E-2BDA45404D0F")]
[NativeTypeName("struct ID2D1Factory3 : ID2D1Factory2")]
[NativeInheritance("ID2D1Factory2")]
-public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface
+public unsafe partial struct ID2D1Factory3 : ID2D1Factory3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory3));
+
public void** lpVtbl;
public HRESULT CreateDrawingStateBlock([NativeTypeName("const D2D1_DRAWING_STATE_DESCRIPTION &")] D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription, ID2D1DrawingStateBlock** drawingStateBlock)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory4.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory4.cs
index 72ff0f0708..703ecaae79 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory4.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("BD4EC2D2-0662-4BEE-BA8E-6F29F032E096")]
[NativeTypeName("struct ID2D1Factory4 : ID2D1Factory3")]
[NativeInheritance("ID2D1Factory3")]
-public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface
+public unsafe partial struct ID2D1Factory4 : ID2D1Factory4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory4));
+
public void** lpVtbl;
public HRESULT CreateDrawingStateBlock([NativeTypeName("const D2D1_DRAWING_STATE_DESCRIPTION &")] D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription, ID2D1DrawingStateBlock** drawingStateBlock)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory5.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory5.cs
index 2acc521660..e5b0de7a52 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory5.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory5.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C4349994-838E-4B0F-8CAB-44997D9EEACC")]
[NativeTypeName("struct ID2D1Factory5 : ID2D1Factory4")]
[NativeInheritance("ID2D1Factory4")]
-public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface
+public unsafe partial struct ID2D1Factory5 : ID2D1Factory5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory5));
+
public void** lpVtbl;
public HRESULT CreateDrawingStateBlock([NativeTypeName("const D2D1_DRAWING_STATE_DESCRIPTION &")] D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription, ID2D1DrawingStateBlock** drawingStateBlock)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory6.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory6.cs
index 30e6710517..cad9077ecd 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory6.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory6.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("F9976F46-F642-44C1-97CA-DA32EA2A2635")]
[NativeTypeName("struct ID2D1Factory6 : ID2D1Factory5")]
[NativeInheritance("ID2D1Factory5")]
-public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface
+public unsafe partial struct ID2D1Factory6 : ID2D1Factory6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory6));
+
public void** lpVtbl;
public HRESULT CreateDrawingStateBlock([NativeTypeName("const D2D1_DRAWING_STATE_DESCRIPTION &")] D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription, ID2D1DrawingStateBlock** drawingStateBlock)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory7.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory7.cs
index 8a719b4065..fe19ca6c2f 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory7.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Factory7.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("BDC2BDD3-B96C-4DE6-BDF7-99D4745454DE")]
[NativeTypeName("struct ID2D1Factory7 : ID2D1Factory6")]
[NativeInheritance("ID2D1Factory6")]
-public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface
+public unsafe partial struct ID2D1Factory7 : ID2D1Factory7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory7));
+
public void** lpVtbl;
public HRESULT CreateDrawingStateBlock([NativeTypeName("const D2D1_DRAWING_STATE_DESCRIPTION &")] D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription, ID2D1DrawingStateBlock** drawingStateBlock)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GdiMetafile1.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GdiMetafile1.cs
index 557be2caea..84087800ac 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GdiMetafile1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GdiMetafile1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1GdiMetafile1 : ID2D1GdiMetafile")]
[NativeInheritance("ID2D1GdiMetafile")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface
+public unsafe partial struct ID2D1GdiMetafile1 : ID2D1GdiMetafile1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GdiMetafileSink1.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GdiMetafileSink1.cs
index 7576d878ba..18d0507650 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GdiMetafileSink1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GdiMetafileSink1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1GdiMetafileSink1 : ID2D1GdiMetafileSink")]
[NativeInheritance("ID2D1GdiMetafileSink")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID2D1GdiMetafileSink1 : ID2D1GdiMetafileSink1.Interface
+public unsafe partial struct ID2D1GdiMetafileSink1 : ID2D1GdiMetafileSink1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GradientMesh.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GradientMesh.cs
index 0dbbb49a02..59dc0385b0 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GradientMesh.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1GradientMesh.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1GradientMesh : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ID2D1GradientMesh : ID2D1GradientMesh.Interface
+public unsafe partial struct ID2D1GradientMesh : ID2D1GradientMesh.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientMesh));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ImageSource.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ImageSource.cs
index a86b1d3949..f3b7dbb1db 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ImageSource.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ImageSource.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID2D1ImageSource : ID2D1Image")]
[NativeInheritance("ID2D1Image")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID2D1ImageSource : ID2D1ImageSource.Interface
+public unsafe partial struct ID2D1ImageSource : ID2D1ImageSource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ImageSourceFromWic.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ImageSourceFromWic.cs
index 2df3992468..4899e4f46c 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ImageSourceFromWic.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1ImageSourceFromWic.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("77395441-1C8F-4555-8683-F50DAB0FE792")]
[NativeTypeName("struct ID2D1ImageSourceFromWic : ID2D1ImageSource")]
[NativeInheritance("ID2D1ImageSource")]
-public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.Interface
+public unsafe partial struct ID2D1ImageSourceFromWic : ID2D1ImageSourceFromWic.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSourceFromWic));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Ink.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Ink.cs
index a6f13486b5..9ddc691c08 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Ink.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1Ink.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B499923B-7029-478F-A8B3-432C7C5F5312")]
[NativeTypeName("struct ID2D1Ink : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface
+public unsafe partial struct ID2D1Ink : ID2D1Ink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Ink));
+
public void** lpVtbl;
public HRESULT StreamAsGeometry(ID2D1InkStyle* inkStyle, [NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* worldTransform, ID2D1SimplifiedGeometrySink* geometrySink)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1InkStyle.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1InkStyle.cs
index ef383a75c2..be3ea0e2a8 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1InkStyle.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1InkStyle.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("BAE8B344-23FC-4071-8CB5-D05D6F073848")]
[NativeTypeName("struct ID2D1InkStyle : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface
+public unsafe partial struct ID2D1InkStyle : ID2D1InkStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1InkStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1LookupTable3D.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1LookupTable3D.cs
index 73d43820c1..d071eb767a 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1LookupTable3D.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1LookupTable3D.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("53DD9855-A3B0-4D5B-82E1-26E25C5E5797")]
[NativeTypeName("struct ID2D1LookupTable3D : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1LookupTable3D : ID2D1LookupTable3D.Interface
+public unsafe partial struct ID2D1LookupTable3D : ID2D1LookupTable3D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LookupTable3D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SpriteBatch.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SpriteBatch.cs
index 7c98127a4e..770bf50116 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SpriteBatch.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SpriteBatch.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4DC583BF-3A10-438A-8722-E9765224F1F1")]
[NativeTypeName("struct ID2D1SpriteBatch : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1SpriteBatch : ID2D1SpriteBatch.Interface
+public unsafe partial struct ID2D1SpriteBatch : ID2D1SpriteBatch.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SpriteBatch));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SvgGlyphStyle.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SvgGlyphStyle.cs
index e32ce52346..a73a3d1484 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SvgGlyphStyle.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1SvgGlyphStyle.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("AF671749-D241-4DB8-8E41-DCC2E5C1A438")]
[NativeTypeName("struct ID2D1SvgGlyphStyle : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1SvgGlyphStyle : ID2D1SvgGlyphStyle.Interface
+public unsafe partial struct ID2D1SvgGlyphStyle : ID2D1SvgGlyphStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgGlyphStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1TransformedImageSource.cs b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1TransformedImageSource.cs
index edec4c23ac..667e1ef768 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1TransformedImageSource.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1_3/ID2D1TransformedImageSource.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7F1F79E5-2796-416C-8F55-700F911445E5")]
[NativeTypeName("struct ID2D1TransformedImageSource : ID2D1Image")]
[NativeInheritance("ID2D1Image")]
-public unsafe partial struct ID2D1TransformedImageSource : ID2D1TransformedImageSource.Interface
+public unsafe partial struct ID2D1TransformedImageSource : ID2D1TransformedImageSource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformedImageSource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1AnalysisTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1AnalysisTransform.cs
index ae28f33915..88afd2bb3d 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1AnalysisTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1AnalysisTransform.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0359DC30-95E6-4568-9055-27720D130E93")]
[NativeTypeName("struct ID2D1AnalysisTransform : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1AnalysisTransform : ID2D1AnalysisTransform.Interface
+public unsafe partial struct ID2D1AnalysisTransform : ID2D1AnalysisTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1AnalysisTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BlendTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BlendTransform.cs
index 84ffc7be97..99416693c7 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BlendTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BlendTransform.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("63AC0B32-BA44-450F-8806-7F4CA1FF2F1B")]
[NativeTypeName("struct ID2D1BlendTransform : ID2D1ConcreteTransform")]
[NativeInheritance("ID2D1ConcreteTransform")]
-public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface
+public unsafe partial struct ID2D1BlendTransform : ID2D1BlendTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BlendTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BorderTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BorderTransform.cs
index e03c39c90a..2dd25011de 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BorderTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BorderTransform.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4998735C-3A19-473C-9781-656847E3A347")]
[NativeTypeName("struct ID2D1BorderTransform : ID2D1ConcreteTransform")]
[NativeInheritance("ID2D1ConcreteTransform")]
-public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interface
+public unsafe partial struct ID2D1BorderTransform : ID2D1BorderTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BorderTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BoundsAdjustmentTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BoundsAdjustmentTransform.cs
index 935b1d4309..83d9d9a3a5 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BoundsAdjustmentTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1BoundsAdjustmentTransform.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("90F732E2-5092-4606-A819-8651970BACCD")]
[NativeTypeName("struct ID2D1BoundsAdjustmentTransform : ID2D1TransformNode")]
[NativeInheritance("ID2D1TransformNode")]
-public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustmentTransform.Interface
+public unsafe partial struct ID2D1BoundsAdjustmentTransform : ID2D1BoundsAdjustmentTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BoundsAdjustmentTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ComputeInfo.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ComputeInfo.cs
index 2722edbe63..89b5f4eced 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ComputeInfo.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ComputeInfo.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("5598B14B-9FD7-48B7-9BDB-8F0964EB38BC")]
[NativeTypeName("struct ID2D1ComputeInfo : ID2D1RenderInfo")]
[NativeInheritance("ID2D1RenderInfo")]
-public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface
+public unsafe partial struct ID2D1ComputeInfo : ID2D1ComputeInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ComputeTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ComputeTransform.cs
index 9e60fdb039..8d2b7d690a 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ComputeTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ComputeTransform.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0D85573C-01E3-4F7D-BFD9-0D60608BF3C3")]
[NativeTypeName("struct ID2D1ComputeTransform : ID2D1Transform")]
[NativeInheritance("ID2D1Transform")]
-public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Interface
+public unsafe partial struct ID2D1ComputeTransform : ID2D1ComputeTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ConcreteTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ConcreteTransform.cs
index 3311d63b3b..645c20d77e 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ConcreteTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ConcreteTransform.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1A799D8A-69F7-4E4C-9FED-437CCC6684CC")]
[NativeTypeName("struct ID2D1ConcreteTransform : ID2D1TransformNode")]
[NativeInheritance("ID2D1TransformNode")]
-public unsafe partial struct ID2D1ConcreteTransform : ID2D1ConcreteTransform.Interface
+public unsafe partial struct ID2D1ConcreteTransform : ID2D1ConcreteTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ConcreteTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs
index f3366f6f4c..74f47bdc3f 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1DrawInfo.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using static TerraFX.Interop.DirectX.D2D1_PIXEL_OPTIONS;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("693CE632-7F2F-45DE-93FE-18D88B37AA21")]
[NativeTypeName("struct ID2D1DrawInfo : ID2D1RenderInfo")]
[NativeInheritance("ID2D1RenderInfo")]
-public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface
+public unsafe partial struct ID2D1DrawInfo : ID2D1DrawInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs
index 9ea8f781a1..aae4c0380c 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1DrawTransform.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("36BFDCB6-9739-435D-A30D-A653BEFF6A6F")]
[NativeTypeName("struct ID2D1DrawTransform : ID2D1Transform")]
[NativeInheritance("ID2D1Transform")]
-public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface
+public unsafe partial struct ID2D1DrawTransform : ID2D1DrawTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs
index f09551c655..84f49e5b86 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1EffectContext.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3D9F916B-27DC-4AD7-B4F1-64945340F563")]
[NativeTypeName("struct ID2D1EffectContext : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface
+public unsafe partial struct ID2D1EffectContext : ID2D1EffectContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs
index 940f97f5e5..12b5ba1a15 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1EffectImpl.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A248FD3F-3E6C-4E63-9F03-7F68ECC91DB9")]
[NativeTypeName("struct ID2D1EffectImpl : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1EffectImpl : ID2D1EffectImpl.Interface
+public unsafe partial struct ID2D1EffectImpl : ID2D1EffectImpl.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectImpl));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1OffsetTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1OffsetTransform.cs
index f8591b96f8..62aec2e009 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1OffsetTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1OffsetTransform.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3FE6ADEA-7643-4F53-BD14-A0CE63F24042")]
[NativeTypeName("struct ID2D1OffsetTransform : ID2D1TransformNode")]
[NativeInheritance("ID2D1TransformNode")]
-public unsafe partial struct ID2D1OffsetTransform : ID2D1OffsetTransform.Interface
+public unsafe partial struct ID2D1OffsetTransform : ID2D1OffsetTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1OffsetTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1RenderInfo.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1RenderInfo.cs
index 173ed26b10..f015d9c710 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1RenderInfo.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1RenderInfo.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("519AE1BD-D19A-420D-B849-364F594776B7")]
[NativeTypeName("struct ID2D1RenderInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1RenderInfo : ID2D1RenderInfo.Interface
+public unsafe partial struct ID2D1RenderInfo : ID2D1RenderInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs
index f3ae343af6..1ecc3969e5 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ResourceTexture.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("688D15C3-02B0-438D-B13A-D1B44C32C39A")]
[NativeTypeName("struct ID2D1ResourceTexture : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1ResourceTexture : ID2D1ResourceTexture.Interface
+public unsafe partial struct ID2D1ResourceTexture : ID2D1ResourceTexture.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ResourceTexture));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1SourceTransform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1SourceTransform.cs
index a926a8d869..fec348b421 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1SourceTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1SourceTransform.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DB1800DD-0C34-4CF9-BE90-31CC0A5653E1")]
[NativeTypeName("struct ID2D1SourceTransform : ID2D1Transform")]
[NativeInheritance("ID2D1Transform")]
-public unsafe partial struct ID2D1SourceTransform : ID2D1SourceTransform.Interface
+public unsafe partial struct ID2D1SourceTransform : ID2D1SourceTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SourceTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1Transform.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1Transform.cs
index 386ea97064..6f0c9afb66 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1Transform.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1Transform.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("EF1A287D-342A-4F76-8FDB-DA0D6EA9F92B")]
[NativeTypeName("struct ID2D1Transform : ID2D1TransformNode")]
[NativeInheritance("ID2D1TransformNode")]
-public unsafe partial struct ID2D1Transform : ID2D1Transform.Interface
+public unsafe partial struct ID2D1Transform : ID2D1Transform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Transform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs
index eaae493719..7d0c40b157 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1TransformGraph.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("13D29038-C3E6-4034-9081-13B53A417992")]
[NativeTypeName("struct ID2D1TransformGraph : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1TransformGraph : ID2D1TransformGraph.Interface
+public unsafe partial struct ID2D1TransformGraph : ID2D1TransformGraph.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformGraph));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs
index 780c74ed77..f4a48981bc 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1TransformNode.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B2EFE1E7-729F-4102-949F-505FA21BF666")]
[NativeTypeName("struct ID2D1TransformNode : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1TransformNode : ID2D1TransformNode.Interface
+public unsafe partial struct ID2D1TransformNode : ID2D1TransformNode.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformNode));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1VertexBuffer.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1VertexBuffer.cs
index 5c18df49da..31194189e9 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1VertexBuffer.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1VertexBuffer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B8B1336-00A5-4668-92B7-CED5D8BF9B7B")]
[NativeTypeName("struct ID2D1VertexBuffer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID2D1VertexBuffer : ID2D1VertexBuffer.Interface
+public unsafe partial struct ID2D1VertexBuffer : ID2D1VertexBuffer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1VertexBuffer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor_1/ID2D1EffectContext1.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor_1/ID2D1EffectContext1.cs
index db81597856..d5af5a755f 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor_1/ID2D1EffectContext1.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor_1/ID2D1EffectContext1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("84AB595A-FC81-4546-BACD-E8EF4D8ABE7A")]
[NativeTypeName("struct ID2D1EffectContext1 : ID2D1EffectContext")]
[NativeInheritance("ID2D1EffectContext")]
-public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface
+public unsafe partial struct ID2D1EffectContext1 : ID2D1EffectContext1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1effectauthor_1/ID2D1EffectContext2.cs b/sources/Interop/Windows/DirectX/um/d2d1effectauthor_1/ID2D1EffectContext2.cs
index 571446ca44..72b3c9e63e 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1effectauthor_1/ID2D1EffectContext2.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1effectauthor_1/ID2D1EffectContext2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("577AD2A0-9FC7-4DDA-8B18-DAB810140052")]
[NativeTypeName("struct ID2D1EffectContext2 : ID2D1EffectContext1")]
[NativeInheritance("ID2D1EffectContext1")]
-public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface
+public unsafe partial struct ID2D1EffectContext2 : ID2D1EffectContext2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgAttribute.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgAttribute.cs
index 97bad1f9b4..b902c98568 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgAttribute.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgAttribute.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C9CDB0DD-F8C9-4E70-B7C2-301C80292C5E")]
[NativeTypeName("struct ID2D1SvgAttribute : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1SvgAttribute : ID2D1SvgAttribute.Interface
+public unsafe partial struct ID2D1SvgAttribute : ID2D1SvgAttribute.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgAttribute));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgDocument.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgDocument.cs
index 9260aa508d..906b423784 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgDocument.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgDocument.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("86B88E4D-AFA4-4D7B-88E4-68A51C4A0AEC")]
[NativeTypeName("struct ID2D1SvgDocument : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface
+public unsafe partial struct ID2D1SvgDocument : ID2D1SvgDocument.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgDocument));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgElement.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgElement.cs
index d9f1769fb5..0b6103fbea 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgElement.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgElement.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
using static TerraFX.Interop.DirectX.D2D1_SVG_ATTRIBUTE_POD_TYPE;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("AC7B67A6-183E-49C1-A823-0EBE40B0DB29")]
[NativeTypeName("struct ID2D1SvgElement : ID2D1Resource")]
[NativeInheritance("ID2D1Resource")]
-public unsafe partial struct ID2D1SvgElement : ID2D1SvgElement.Interface
+public unsafe partial struct ID2D1SvgElement : ID2D1SvgElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgElement));
+
public void** lpVtbl;
public HRESULT SetAttributeValue([NativeTypeName("PCWSTR")] ushort* name, float value)
diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPaint.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPaint.cs
index 2cc87ca876..78b57913ff 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPaint.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPaint.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("D59BAB0A-68A2-455B-A5DC-9EB2854E2490")]
[NativeTypeName("struct ID2D1SvgPaint : ID2D1SvgAttribute")]
[NativeInheritance("ID2D1SvgAttribute")]
-public unsafe partial struct ID2D1SvgPaint : ID2D1SvgPaint.Interface
+public unsafe partial struct ID2D1SvgPaint : ID2D1SvgPaint.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgPaint));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPathData.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPathData.cs
index faab20753b..450c15648d 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPathData.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPathData.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C095E4F4-BB98-43D6-9745-4D1B84EC9888")]
[NativeTypeName("struct ID2D1SvgPathData : ID2D1SvgAttribute")]
[NativeInheritance("ID2D1SvgAttribute")]
-public unsafe partial struct ID2D1SvgPathData : ID2D1SvgPathData.Interface
+public unsafe partial struct ID2D1SvgPathData : ID2D1SvgPathData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgPathData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPointCollection.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPointCollection.cs
index 5aff496712..80288ab2be 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPointCollection.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgPointCollection.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9DBE4C0D-3572-4DD9-9825-5530813BB712")]
[NativeTypeName("struct ID2D1SvgPointCollection : ID2D1SvgAttribute")]
[NativeInheritance("ID2D1SvgAttribute")]
-public unsafe partial struct ID2D1SvgPointCollection : ID2D1SvgPointCollection.Interface
+public unsafe partial struct ID2D1SvgPointCollection : ID2D1SvgPointCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgPointCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgStrokeDashArray.cs b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgStrokeDashArray.cs
index f404eedf25..789b644726 100644
--- a/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgStrokeDashArray.cs
+++ b/sources/Interop/Windows/DirectX/um/d2d1svg/ID2D1SvgStrokeDashArray.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("F1C0CA52-92A3-4F00-B4CE-F35691EFD9D9")]
[NativeTypeName("struct ID2D1SvgStrokeDashArray : ID2D1SvgAttribute")]
[NativeInheritance("ID2D1SvgAttribute")]
-public unsafe partial struct ID2D1SvgStrokeDashArray : ID2D1SvgStrokeDashArray.Interface
+public unsafe partial struct ID2D1SvgStrokeDashArray : ID2D1SvgStrokeDashArray.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgStrokeDashArray));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BLEND_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BLEND_DESC.cs
index 1e29216861..b6e555dc7b 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BLEND_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BLEND_DESC.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
@@ -54,6 +55,7 @@ public partial struct _BlendEnable_e__FixedBuffer
public BOOL e6;
public BOOL e7;
+ [UnscopedRef]
public ref BOOL this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -64,6 +66,7 @@ public ref BOOL this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 8);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BUFFER_RTV.cs b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BUFFER_RTV.cs
index 3221f4334d..df27ed47bb 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BUFFER_RTV.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BUFFER_RTV.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d10.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -20,42 +21,46 @@ public partial struct D3D10_BUFFER_RTV
public _Anonymous2_e__Union Anonymous2;
///
+ [UnscopedRef]
public ref uint FirstElement
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.FirstElement, 1));
+ return ref Anonymous1.FirstElement;
}
}
///
+ [UnscopedRef]
public ref uint ElementOffset
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.ElementOffset, 1));
+ return ref Anonymous1.ElementOffset;
}
}
///
+ [UnscopedRef]
public ref uint NumElements
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.NumElements, 1));
+ return ref Anonymous2.NumElements;
}
}
///
+ [UnscopedRef]
public ref uint ElementWidth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.ElementWidth, 1));
+ return ref Anonymous2.ElementWidth;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BUFFER_SRV.cs b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BUFFER_SRV.cs
index ca3f22be37..33f41b0cea 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BUFFER_SRV.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_BUFFER_SRV.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d10.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -20,42 +21,46 @@ public partial struct D3D10_BUFFER_SRV
public _Anonymous2_e__Union Anonymous2;
///
+ [UnscopedRef]
public ref uint FirstElement
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.FirstElement, 1));
+ return ref Anonymous1.FirstElement;
}
}
///
+ [UnscopedRef]
public ref uint ElementOffset
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.ElementOffset, 1));
+ return ref Anonymous1.ElementOffset;
}
}
///
+ [UnscopedRef]
public ref uint NumElements
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.NumElements, 1));
+ return ref Anonymous2.NumElements;
}
}
///
+ [UnscopedRef]
public ref uint ElementWidth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.ElementWidth, 1));
+ return ref Anonymous2.ElementWidth;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_DEPTH_STENCIL_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_DEPTH_STENCIL_VIEW_DESC.cs
index ca081f522a..c3839ee6b6 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_DEPTH_STENCIL_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_DEPTH_STENCIL_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d10.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,62 +23,68 @@ public partial struct D3D10_DEPTH_STENCIL_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D10_TEX1D_DSV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX1D_ARRAY_DSV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2D_DSV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2D_ARRAY_DSV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2DMS_DSV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2DMS_ARRAY_DSV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_RENDER_TARGET_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_RENDER_TARGET_VIEW_DESC.cs
index 39f3732b40..51f5c931c2 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_RENDER_TARGET_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_RENDER_TARGET_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d10.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,82 +23,90 @@ public partial struct D3D10_RENDER_TARGET_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D10_BUFFER_RTV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX1D_RTV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX1D_ARRAY_RTV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2D_RTV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2D_ARRAY_RTV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2DMS_RTV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2DMS_ARRAY_RTV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX3D_RTV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_SHADER_RESOURCE_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_SHADER_RESOURCE_VIEW_DESC.cs
index d8b2315b0b..b70c4e8aba 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/D3D10_SHADER_RESOURCE_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/D3D10_SHADER_RESOURCE_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d10.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -23,92 +24,101 @@ public partial struct D3D10_SHADER_RESOURCE_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D10_BUFFER_SRV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX1D_SRV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX1D_ARRAY_SRV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2D_SRV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2D_ARRAY_SRV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2DMS_SRV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2DMS_ARRAY_SRV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX3D_SRV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEXCUBE_SRV TextureCube
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.TextureCube, 1));
+ return ref Anonymous.TextureCube;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Asynchronous.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Asynchronous.cs
index ecd51e281b..20532d93fa 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Asynchronous.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Asynchronous.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C0D-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Asynchronous : ID3D10DeviceChild")]
[NativeInheritance("ID3D10DeviceChild")]
-public unsafe partial struct ID3D10Asynchronous : ID3D10Asynchronous.Interface
+public unsafe partial struct ID3D10Asynchronous : ID3D10Asynchronous.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Asynchronous));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10BlendState.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10BlendState.cs
index b61cc89dc6..79d325a715 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10BlendState.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10BlendState.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("EDAD8D19-8A35-4D6D-8566-2EA276CDE161")]
[NativeTypeName("struct ID3D10BlendState : ID3D10DeviceChild")]
[NativeInheritance("ID3D10DeviceChild")]
-public unsafe partial struct ID3D10BlendState : ID3D10BlendState.Interface
+public unsafe partial struct ID3D10BlendState : ID3D10BlendState.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10BlendState));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Buffer.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Buffer.cs
index ae15b983f1..22c12419f8 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Buffer.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Buffer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C02-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Buffer : ID3D10Resource")]
[NativeInheritance("ID3D10Resource")]
-public unsafe partial struct ID3D10Buffer : ID3D10Buffer.Interface
+public unsafe partial struct ID3D10Buffer : ID3D10Buffer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Buffer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Counter.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Counter.cs
index 97615173b2..93e4478647 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Counter.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Counter.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C11-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Counter : ID3D10Asynchronous")]
[NativeInheritance("ID3D10Asynchronous")]
-public unsafe partial struct ID3D10Counter : ID3D10Counter.Interface
+public unsafe partial struct ID3D10Counter : ID3D10Counter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Counter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DepthStencilState.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DepthStencilState.cs
index ad3feeeae1..b93e84c83a 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DepthStencilState.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DepthStencilState.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2B4B1CC8-A4AD-41F8-8322-CA86FC3EC675")]
[NativeTypeName("struct ID3D10DepthStencilState : ID3D10DeviceChild")]
[NativeInheritance("ID3D10DeviceChild")]
-public unsafe partial struct ID3D10DepthStencilState : ID3D10DepthStencilState.Interface
+public unsafe partial struct ID3D10DepthStencilState : ID3D10DepthStencilState.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10DepthStencilState));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DepthStencilView.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DepthStencilView.cs
index 8f8a8d9c29..a9d7f2b317 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DepthStencilView.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DepthStencilView.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C09-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10DepthStencilView : ID3D10View")]
[NativeInheritance("ID3D10View")]
-public unsafe partial struct ID3D10DepthStencilView : ID3D10DepthStencilView.Interface
+public unsafe partial struct ID3D10DepthStencilView : ID3D10DepthStencilView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10DepthStencilView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Device.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Device.cs
index eb54321b8c..2c375fe8de 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Device.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Device.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C0F-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Device : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D10Device : ID3D10Device.Interface
+public unsafe partial struct ID3D10Device : ID3D10Device.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Device));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DeviceChild.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DeviceChild.cs
index cbcee5208c..cd02562b4a 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DeviceChild.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10DeviceChild.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C00-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10DeviceChild : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D10DeviceChild : ID3D10DeviceChild.Interface
+public unsafe partial struct ID3D10DeviceChild : ID3D10DeviceChild.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10DeviceChild));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10GeometryShader.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10GeometryShader.cs
index a139692774..6a65ac646e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10GeometryShader.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10GeometryShader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6316BE88-54CD-4040-AB44-20461BC81F68")]
[NativeTypeName("struct ID3D10GeometryShader : ID3D10DeviceChild")]
[NativeInheritance("ID3D10DeviceChild")]
-public unsafe partial struct ID3D10GeometryShader : ID3D10GeometryShader.Interface
+public unsafe partial struct ID3D10GeometryShader : ID3D10GeometryShader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10GeometryShader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10InputLayout.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10InputLayout.cs
index db7a1dbc82..31a3bebeb1 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10InputLayout.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10InputLayout.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C0B-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10InputLayout : ID3D10DeviceChild")]
[NativeInheritance("ID3D10DeviceChild")]
-public unsafe partial struct ID3D10InputLayout : ID3D10InputLayout.Interface
+public unsafe partial struct ID3D10InputLayout : ID3D10InputLayout.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10InputLayout));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Multithread.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Multithread.cs
index 9dec9dd729..f47f38b940 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Multithread.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Multithread.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4E00-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Multithread : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D10Multithread : ID3D10Multithread.Interface
+public unsafe partial struct ID3D10Multithread : ID3D10Multithread.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Multithread));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10PixelShader.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10PixelShader.cs
index b97d04e4a3..41d16e4b58 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10PixelShader.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10PixelShader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4968B601-9D00-4CDE-8346-8E7F675819B6")]
[NativeTypeName("struct ID3D10PixelShader : ID3D10DeviceChild")]
[NativeInheritance("ID3D10DeviceChild")]
-public unsafe partial struct ID3D10PixelShader : ID3D10PixelShader.Interface
+public unsafe partial struct ID3D10PixelShader : ID3D10PixelShader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10PixelShader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Predicate.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Predicate.cs
index eaaa3f0525..2df787c15d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Predicate.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Predicate.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C10-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Predicate : ID3D10Query")]
[NativeInheritance("ID3D10Query")]
-public unsafe partial struct ID3D10Predicate : ID3D10Predicate.Interface
+public unsafe partial struct ID3D10Predicate : ID3D10Predicate.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Predicate));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Query.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Query.cs
index 1ca436b64c..bac9cc9c90 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Query.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Query.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C0E-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Query : ID3D10Asynchronous")]
[NativeInheritance("ID3D10Asynchronous")]
-public unsafe partial struct ID3D10Query : ID3D10Query.Interface
+public unsafe partial struct ID3D10Query : ID3D10Query.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Query));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10RasterizerState.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10RasterizerState.cs
index 96a360e50c..74c780fc12 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10RasterizerState.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10RasterizerState.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A2A07292-89AF-4345-BE2E-C53D9FBB6E9F")]
[NativeTypeName("struct ID3D10RasterizerState : ID3D10DeviceChild")]
[NativeInheritance("ID3D10DeviceChild")]
-public unsafe partial struct ID3D10RasterizerState : ID3D10RasterizerState.Interface
+public unsafe partial struct ID3D10RasterizerState : ID3D10RasterizerState.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10RasterizerState));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10RenderTargetView.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10RenderTargetView.cs
index 94de6cdd11..acd2b8c62c 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10RenderTargetView.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10RenderTargetView.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C08-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10RenderTargetView : ID3D10View")]
[NativeInheritance("ID3D10View")]
-public unsafe partial struct ID3D10RenderTargetView : ID3D10RenderTargetView.Interface
+public unsafe partial struct ID3D10RenderTargetView : ID3D10RenderTargetView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10RenderTargetView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Resource.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Resource.cs
index 617fff4e00..89c78b185b 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Resource.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Resource.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C01-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Resource : ID3D10DeviceChild")]
[NativeInheritance("ID3D10DeviceChild")]
-public unsafe partial struct ID3D10Resource : ID3D10Resource.Interface
+public unsafe partial struct ID3D10Resource : ID3D10Resource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Resource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10SamplerState.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10SamplerState.cs
index 9092294bce..acb639d834 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10SamplerState.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10SamplerState.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C0C-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10SamplerState : ID3D10DeviceChild")]
[NativeInheritance("ID3D10DeviceChild")]
-public unsafe partial struct ID3D10SamplerState : ID3D10SamplerState.Interface
+public unsafe partial struct ID3D10SamplerState : ID3D10SamplerState.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10SamplerState));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10ShaderResourceView.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10ShaderResourceView.cs
index 5a29391a1b..d233d45733 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10ShaderResourceView.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10ShaderResourceView.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C07-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10ShaderResourceView : ID3D10View")]
[NativeInheritance("ID3D10View")]
-public unsafe partial struct ID3D10ShaderResourceView : ID3D10ShaderResourceView.Interface
+public unsafe partial struct ID3D10ShaderResourceView : ID3D10ShaderResourceView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10ShaderResourceView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture1D.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture1D.cs
index 94d8ae11fe..87fbd01ed7 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture1D.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture1D.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C03-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Texture1D : ID3D10Resource")]
[NativeInheritance("ID3D10Resource")]
-public unsafe partial struct ID3D10Texture1D : ID3D10Texture1D.Interface
+public unsafe partial struct ID3D10Texture1D : ID3D10Texture1D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Texture1D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture2D.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture2D.cs
index 2c86bc89e2..22e294875d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture2D.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture2D.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C04-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Texture2D : ID3D10Resource")]
[NativeInheritance("ID3D10Resource")]
-public unsafe partial struct ID3D10Texture2D : ID3D10Texture2D.Interface
+public unsafe partial struct ID3D10Texture2D : ID3D10Texture2D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Texture2D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture3D.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture3D.cs
index 6208c87d3e..c16b6e6ecc 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture3D.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10Texture3D.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C05-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Texture3D : ID3D10Resource")]
[NativeInheritance("ID3D10Resource")]
-public unsafe partial struct ID3D10Texture3D : ID3D10Texture3D.Interface
+public unsafe partial struct ID3D10Texture3D : ID3D10Texture3D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Texture3D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10VertexShader.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10VertexShader.cs
index f030e103c4..23900c1d5a 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10VertexShader.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10VertexShader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C0A-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10VertexShader : ID3D10DeviceChild")]
[NativeInheritance("ID3D10DeviceChild")]
-public unsafe partial struct ID3D10VertexShader : ID3D10VertexShader.Interface
+public unsafe partial struct ID3D10VertexShader : ID3D10VertexShader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10VertexShader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10View.cs b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10View.cs
index f1c3c20345..69ffc0ab58 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10/ID3D10View.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10/ID3D10View.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C902B03F-60A7-49BA-9936-2A3AB37A7E33")]
[NativeTypeName("struct ID3D10View : ID3D10DeviceChild")]
[NativeInheritance("ID3D10DeviceChild")]
-public unsafe partial struct ID3D10View : ID3D10View.Interface
+public unsafe partial struct ID3D10View : ID3D10View.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10View));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_BLEND_DESC1.cs b/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_BLEND_DESC1.cs
index bcd3cd85b2..047291c9eb 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_BLEND_DESC1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_BLEND_DESC1.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
@@ -35,6 +36,7 @@ public partial struct _RenderTarget_e__FixedBuffer
public D3D10_RENDER_TARGET_BLEND_DESC1 e6;
public D3D10_RENDER_TARGET_BLEND_DESC1 e7;
+ [UnscopedRef]
public ref D3D10_RENDER_TARGET_BLEND_DESC1 this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -45,6 +47,7 @@ public ref D3D10_RENDER_TARGET_BLEND_DESC1 this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 8);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_SHADER_RESOURCE_VIEW_DESC1.cs b/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_SHADER_RESOURCE_VIEW_DESC1.cs
index fecbd42b98..e4d3d43d09 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_SHADER_RESOURCE_VIEW_DESC1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10_1/D3D10_SHADER_RESOURCE_VIEW_DESC1.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d10_1.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -23,102 +24,112 @@ public partial struct D3D10_SHADER_RESOURCE_VIEW_DESC1
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D10_BUFFER_SRV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX1D_SRV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX1D_ARRAY_SRV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2D_SRV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2D_ARRAY_SRV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2DMS_SRV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX2DMS_ARRAY_SRV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEX3D_SRV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEXCUBE_SRV TextureCube
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.TextureCube, 1));
+ return ref Anonymous.TextureCube;
}
}
///
+ [UnscopedRef]
public ref D3D10_TEXCUBE_ARRAY_SRV1 TextureCubeArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.TextureCubeArray, 1));
+ return ref Anonymous.TextureCubeArray;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10BlendState1.cs b/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10BlendState1.cs
index 6c8a451478..0842680012 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10BlendState1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10BlendState1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("EDAD8D99-8A35-4D6D-8566-2EA276CDE161")]
[NativeTypeName("struct ID3D10BlendState1 : ID3D10BlendState")]
[NativeInheritance("ID3D10BlendState")]
-public unsafe partial struct ID3D10BlendState1 : ID3D10BlendState1.Interface
+public unsafe partial struct ID3D10BlendState1 : ID3D10BlendState1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10BlendState1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10Device1.cs b/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10Device1.cs
index 868b663d4f..247e749a86 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10Device1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10Device1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C8F-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Device1 : ID3D10Device")]
[NativeInheritance("ID3D10Device")]
-public unsafe partial struct ID3D10Device1 : ID3D10Device1.Interface
+public unsafe partial struct ID3D10Device1 : ID3D10Device1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Device1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10ShaderResourceView1.cs b/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10ShaderResourceView1.cs
index f8e8e1f40a..b9e734d608 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10ShaderResourceView1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10_1/ID3D10ShaderResourceView1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4C87-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10ShaderResourceView1 : ID3D10ShaderResourceView")]
[NativeInheritance("ID3D10ShaderResourceView")]
-public unsafe partial struct ID3D10ShaderResourceView1 : ID3D10ShaderResourceView1.Interface
+public unsafe partial struct ID3D10ShaderResourceView1 : ID3D10ShaderResourceView1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10ShaderResourceView1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_INST_INFO.cs b/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_INST_INFO.cs
index 4c8d44a2a4..3739d3b18e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_INST_INFO.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_INST_INFO.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -49,6 +50,7 @@ public partial struct _pOutputs_e__FixedBuffer
public D3D10_SHADER_DEBUG_OUTPUTREG_INFO e0;
public D3D10_SHADER_DEBUG_OUTPUTREG_INFO e1;
+ [UnscopedRef]
public ref D3D10_SHADER_DEBUG_OUTPUTREG_INFO this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -59,6 +61,7 @@ public ref D3D10_SHADER_DEBUG_OUTPUTREG_INFO this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 2);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_OUTPUTREG_INFO.cs b/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_OUTPUTREG_INFO.cs
index afa1dcf6bf..b2ae6b58b7 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_OUTPUTREG_INFO.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10_1shader/D3D10_SHADER_DEBUG_OUTPUTREG_INFO.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -43,6 +44,7 @@ public partial struct _OutputVars_e__FixedBuffer
public D3D10_SHADER_DEBUG_OUTPUTVAR e2;
public D3D10_SHADER_DEBUG_OUTPUTVAR e3;
+ [UnscopedRef]
public ref D3D10_SHADER_DEBUG_OUTPUTVAR this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -53,6 +55,7 @@ public ref D3D10_SHADER_DEBUG_OUTPUTVAR this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 4);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1.cs b/sources/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1.cs
index 9c346c6aba..453ba371da 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10_1shader/ID3D10ShaderReflection1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C3457783-A846-47CE-9520-CEA6F66E7447")]
[NativeTypeName("struct ID3D10ShaderReflection1 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D10ShaderReflection1 : ID3D10ShaderReflection1.Interface
+public unsafe partial struct ID3D10ShaderReflection1 : ID3D10ShaderReflection1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10ShaderReflection1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10Effect.cs b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10Effect.cs
index 78dd039cc9..61351f554f 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10Effect.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10Effect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("51B0CA8B-EC0B-4519-870D-8EE1CB5017C7")]
[NativeTypeName("struct ID3D10Effect : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D10Effect : ID3D10Effect.Interface
+public unsafe partial struct ID3D10Effect : ID3D10Effect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Effect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPool.cs b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPool.cs
index fa79aa9fb7..431d578eb7 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPool.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectPool.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9537AB04-3250-412E-8213-FCD2F8677933")]
[NativeTypeName("struct ID3D10EffectPool : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D10EffectPool : ID3D10EffectPool.Interface
+public unsafe partial struct ID3D10EffectPool : ID3D10EffectPool.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10EffectPool));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlock.cs b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlock.cs
index 66f6d98811..0436a3bf41 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlock.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10effect/ID3D10StateBlock.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0803425A-57F5-4DD6-9465-A87570834A08")]
[NativeTypeName("struct ID3D10StateBlock : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D10StateBlock : ID3D10StateBlock.Interface
+public unsafe partial struct ID3D10StateBlock : ID3D10StateBlock.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10StateBlock));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10Debug.cs b/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10Debug.cs
index 7f2444b71c..14dee1bafe 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10Debug.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10Debug.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4E01-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10Debug : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D10Debug : ID3D10Debug.Interface
+public unsafe partial struct ID3D10Debug : ID3D10Debug.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Debug));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10InfoQueue.cs b/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10InfoQueue.cs
index bd6d1aabdb..4ece1b6014 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10InfoQueue.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10InfoQueue.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1B940B17-2642-4D1F-AB1F-B99BAD0C395F")]
[NativeTypeName("struct ID3D10InfoQueue : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D10InfoQueue : ID3D10InfoQueue.Interface
+public unsafe partial struct ID3D10InfoQueue : ID3D10InfoQueue.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10InfoQueue));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10SwitchToRef.cs b/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10SwitchToRef.cs
index 4bd85895d4..7f3ab84444 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10SwitchToRef.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10sdklayers/ID3D10SwitchToRef.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4E02-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D10SwitchToRef : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D10SwitchToRef : ID3D10SwitchToRef.Interface
+public unsafe partial struct ID3D10SwitchToRef : ID3D10SwitchToRef.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10SwitchToRef));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflection.cs b/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflection.cs
index 687419e15d..bd4c6f521d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflection.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflection.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("D40E20B6-F8F7-42AD-AB20-4BAF8F15DFAA")]
[NativeTypeName("struct ID3D10ShaderReflection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D10ShaderReflection : ID3D10ShaderReflection.Interface
+public unsafe partial struct ID3D10ShaderReflection : ID3D10ShaderReflection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10ShaderReflection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionConstantBuffer.cs b/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionConstantBuffer.cs
index f6bee247fa..095635262c 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionConstantBuffer.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionConstantBuffer.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d10shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("66C66A94-DDDD-4B62-A66A-F0DA33C2B4D0")]
-public unsafe partial struct ID3D10ShaderReflectionConstantBuffer : ID3D10ShaderReflectionConstantBuffer.Interface
+public unsafe partial struct ID3D10ShaderReflectionConstantBuffer : ID3D10ShaderReflectionConstantBuffer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10ShaderReflectionConstantBuffer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionType.cs b/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionType.cs
index 0321a20d7b..0a178d7488 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionType.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionType.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d10shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("C530AD7D-9B16-4395-A979-BA2ECFF83ADD")]
-public unsafe partial struct ID3D10ShaderReflectionType : ID3D10ShaderReflectionType.Interface
+public unsafe partial struct ID3D10ShaderReflectionType : ID3D10ShaderReflectionType.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10ShaderReflectionType));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionVariable.cs b/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionVariable.cs
index 466b3e0621..fd969121b7 100644
--- a/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionVariable.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d10shader/ID3D10ShaderReflectionVariable.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d10shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("1BF63C95-2650-405D-99C1-3636BD1DA0A1")]
-public unsafe partial struct ID3D10ShaderReflectionVariable : ID3D10ShaderReflectionVariable.Interface
+public unsafe partial struct ID3D10ShaderReflectionVariable : ID3D10ShaderReflectionVariable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10ShaderReflectionVariable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BLEND_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BLEND_DESC.cs
index 17f4519ae6..6677202aed 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BLEND_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BLEND_DESC.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
@@ -35,6 +36,7 @@ public partial struct _RenderTarget_e__FixedBuffer
public D3D11_RENDER_TARGET_BLEND_DESC e6;
public D3D11_RENDER_TARGET_BLEND_DESC e7;
+ [UnscopedRef]
public ref D3D11_RENDER_TARGET_BLEND_DESC this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -45,6 +47,7 @@ public ref D3D11_RENDER_TARGET_BLEND_DESC this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 8);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BUFFER_RTV.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BUFFER_RTV.cs
index 5d7bbab205..ecbdeb882b 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BUFFER_RTV.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BUFFER_RTV.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -20,42 +21,46 @@ public partial struct D3D11_BUFFER_RTV
public _Anonymous2_e__Union Anonymous2;
///
+ [UnscopedRef]
public ref uint FirstElement
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.FirstElement, 1));
+ return ref Anonymous1.FirstElement;
}
}
///
+ [UnscopedRef]
public ref uint ElementOffset
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.ElementOffset, 1));
+ return ref Anonymous1.ElementOffset;
}
}
///
+ [UnscopedRef]
public ref uint NumElements
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.NumElements, 1));
+ return ref Anonymous2.NumElements;
}
}
///
+ [UnscopedRef]
public ref uint ElementWidth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.ElementWidth, 1));
+ return ref Anonymous2.ElementWidth;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BUFFER_SRV.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BUFFER_SRV.cs
index 0224d5d60f..06402dd0b3 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BUFFER_SRV.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_BUFFER_SRV.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -20,42 +21,46 @@ public partial struct D3D11_BUFFER_SRV
public _Anonymous2_e__Union Anonymous2;
///
+ [UnscopedRef]
public ref uint FirstElement
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.FirstElement, 1));
+ return ref Anonymous1.FirstElement;
}
}
///
+ [UnscopedRef]
public ref uint ElementOffset
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.ElementOffset, 1));
+ return ref Anonymous1.ElementOffset;
}
}
///
+ [UnscopedRef]
public ref uint NumElements
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.NumElements, 1));
+ return ref Anonymous2.NumElements;
}
}
///
+ [UnscopedRef]
public ref uint ElementWidth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.ElementWidth, 1));
+ return ref Anonymous2.ElementWidth;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_DEPTH_STENCIL_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_DEPTH_STENCIL_VIEW_DESC.cs
index 3a29a292d2..c8ccb692fb 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_DEPTH_STENCIL_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_DEPTH_STENCIL_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,62 +26,68 @@ public partial struct D3D11_DEPTH_STENCIL_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_TEX1D_DSV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_ARRAY_DSV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_DSV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_ARRAY_DSV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2DMS_DSV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2DMS_ARRAY_DSV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_RENDER_TARGET_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_RENDER_TARGET_VIEW_DESC.cs
index 59bf95594e..29a8db21c3 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_RENDER_TARGET_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_RENDER_TARGET_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,82 +23,90 @@ public partial struct D3D11_RENDER_TARGET_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_BUFFER_RTV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_RTV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_ARRAY_RTV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_RTV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_ARRAY_RTV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2DMS_RTV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2DMS_ARRAY_RTV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX3D_RTV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_SHADER_RESOURCE_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_SHADER_RESOURCE_VIEW_DESC.cs
index f55192a98c..3075fe27dc 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_SHADER_RESOURCE_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_SHADER_RESOURCE_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -23,112 +24,123 @@ public partial struct D3D11_SHADER_RESOURCE_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_BUFFER_SRV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_SRV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_ARRAY_SRV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_SRV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_ARRAY_SRV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2DMS_SRV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2DMS_ARRAY_SRV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX3D_SRV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEXCUBE_SRV TextureCube
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.TextureCube, 1));
+ return ref Anonymous.TextureCube;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEXCUBE_ARRAY_SRV TextureCubeArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.TextureCubeArray, 1));
+ return ref Anonymous.TextureCubeArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_BUFFEREX_SRV BufferEx
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.BufferEx, 1));
+ return ref Anonymous.BufferEx;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_UNORDERED_ACCESS_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_UNORDERED_ACCESS_VIEW_DESC.cs
index 34d919ddd6..81c9261477 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_UNORDERED_ACCESS_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_UNORDERED_ACCESS_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,62 +23,68 @@ public partial struct D3D11_UNORDERED_ACCESS_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_BUFFER_UAV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_UAV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_ARRAY_UAV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_UAV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_ARRAY_UAV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX3D_UAV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_COLOR.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_COLOR.cs
index 1f7c51d0c3..13f008456f 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_COLOR.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_COLOR.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
@@ -18,22 +19,24 @@ public partial struct D3D11_VIDEO_COLOR
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_VIDEO_COLOR_YCbCrA YCbCr
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.YCbCr, 1));
+ return ref Anonymous.YCbCr;
}
}
///
+ [UnscopedRef]
public ref D3D11_VIDEO_COLOR_RGBA RGBA
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.RGBA, 1));
+ return ref Anonymous.RGBA;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC.cs
index c683ba65f7..ffcc5bc587 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
@@ -25,12 +26,13 @@ public partial struct D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_TEX2D_VDOV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC.cs
index d0e8c64aae..99aaffce07 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
@@ -24,12 +25,13 @@ public partial struct D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_TEX2D_VPIV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC.cs
index 3a05a7b328..14ea72127a 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
@@ -21,22 +22,24 @@ public partial struct D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_TEX2D_VPOV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_ARRAY_VPOV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Asynchronous.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Asynchronous.cs
index 92f4da92bf..ab2fa3a8e6 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Asynchronous.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Asynchronous.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4B35D0CD-1E15-4258-9C98-1B1333F6DD3B")]
[NativeTypeName("struct ID3D11Asynchronous : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface
+public unsafe partial struct ID3D11Asynchronous : ID3D11Asynchronous.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Asynchronous));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11AuthenticatedChannel.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11AuthenticatedChannel.cs
index f3c8c33578..8a4fc29759 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11AuthenticatedChannel.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11AuthenticatedChannel.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11AuthenticatedChannel : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedChannel.Interface
+public unsafe partial struct ID3D11AuthenticatedChannel : ID3D11AuthenticatedChannel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11AuthenticatedChannel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11BlendState.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11BlendState.cs
index 14482a3b53..8ed56c2d26 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11BlendState.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11BlendState.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("75B68FAA-347D-4159-8F45-A0640F01CD9A")]
[NativeTypeName("struct ID3D11BlendState : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface
+public unsafe partial struct ID3D11BlendState : ID3D11BlendState.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11BlendState));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Buffer.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Buffer.cs
index d252ff6383..9150e36cb9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Buffer.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Buffer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("48570B85-D1EE-4FCD-A250-EB350722B037")]
[NativeTypeName("struct ID3D11Buffer : ID3D11Resource")]
[NativeInheritance("ID3D11Resource")]
-public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface
+public unsafe partial struct ID3D11Buffer : ID3D11Buffer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Buffer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ClassInstance.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ClassInstance.cs
index 1d9f7f4cbf..a5094770cf 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ClassInstance.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ClassInstance.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A6CD7FAA-B0B7-4A2F-9436-8662A65797CB")]
[NativeTypeName("struct ID3D11ClassInstance : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface
+public unsafe partial struct ID3D11ClassInstance : ID3D11ClassInstance.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ClassInstance));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ClassLinkage.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ClassLinkage.cs
index d76af60d72..d81e963181 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ClassLinkage.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ClassLinkage.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DDF57CBA-9543-46E4-A12B-F207A0FE7FED")]
[NativeTypeName("struct ID3D11ClassLinkage : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface
+public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ClassLinkage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11CommandList.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11CommandList.cs
index 943b2b8d94..b87d0e6487 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11CommandList.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11CommandList.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A24BC4D1-769E-43F7-8013-98FF566C18E2")]
[NativeTypeName("struct ID3D11CommandList : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface
+public unsafe partial struct ID3D11CommandList : ID3D11CommandList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11CommandList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ComputeShader.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ComputeShader.cs
index 160aa13b1c..53ecff0b31 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ComputeShader.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ComputeShader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4F5B196E-C2BD-495E-BD01-1FDED38E4969")]
[NativeTypeName("struct ID3D11ComputeShader : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface
+public unsafe partial struct ID3D11ComputeShader : ID3D11ComputeShader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ComputeShader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Counter.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Counter.cs
index 7d2acc3ee7..d7675e5468 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Counter.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Counter.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6E8C49FB-A371-4770-B440-29086022B741")]
[NativeTypeName("struct ID3D11Counter : ID3D11Asynchronous")]
[NativeInheritance("ID3D11Asynchronous")]
-public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface
+public unsafe partial struct ID3D11Counter : ID3D11Counter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Counter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11CryptoSession.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11CryptoSession.cs
index f000f8e053..938384521e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11CryptoSession.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11CryptoSession.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11CryptoSession : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface
+public unsafe partial struct ID3D11CryptoSession : ID3D11CryptoSession.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11CryptoSession));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DepthStencilState.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DepthStencilState.cs
index 611dd1b762..a880f90be3 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DepthStencilState.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DepthStencilState.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("03823EFB-8D8F-4E1C-9AA2-F64BB2CBFDF1")]
[NativeTypeName("struct ID3D11DepthStencilState : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.Interface
+public unsafe partial struct ID3D11DepthStencilState : ID3D11DepthStencilState.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DepthStencilState));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DepthStencilView.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DepthStencilView.cs
index 11d6d67968..cce6e09f8d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DepthStencilView.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DepthStencilView.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9FDAC92A-1876-48C3-AFAD-25B94F84A9B6")]
[NativeTypeName("struct ID3D11DepthStencilView : ID3D11View")]
[NativeInheritance("ID3D11View")]
-public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Interface
+public unsafe partial struct ID3D11DepthStencilView : ID3D11DepthStencilView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DepthStencilView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Device.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Device.cs
index fc62491ccc..978f748046 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Device.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Device.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DB6F6DDB-AC77-4E88-8253-819DF9BBF140")]
[NativeTypeName("struct ID3D11Device : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11Device : ID3D11Device.Interface
+public unsafe partial struct ID3D11Device : ID3D11Device.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceChild.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceChild.cs
index d28d8468b0..d3b46565e9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceChild.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceChild.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1841E5C8-16B0-489B-BCC8-44CFB0D5DEAE")]
[NativeTypeName("struct ID3D11DeviceChild : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface
+public unsafe partial struct ID3D11DeviceChild : ID3D11DeviceChild.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceChild));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceContext.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceContext.cs
index af8f7f5e20..8fd4ef256a 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceContext.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DeviceContext.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C0BFA96C-E089-44FB-8EAF-26F8796190DA")]
[NativeTypeName("struct ID3D11DeviceContext : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface
+public unsafe partial struct ID3D11DeviceContext : ID3D11DeviceContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DomainShader.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DomainShader.cs
index c11f6016bf..6aed343c20 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DomainShader.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11DomainShader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("F582C508-0F36-490C-9977-31EECE268CFA")]
[NativeTypeName("struct ID3D11DomainShader : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface
+public unsafe partial struct ID3D11DomainShader : ID3D11DomainShader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DomainShader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11GeometryShader.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11GeometryShader.cs
index 7131b46f40..c891432943 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11GeometryShader.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11GeometryShader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("38325B96-EFFB-4022-BA02-2E795B70275C")]
[NativeTypeName("struct ID3D11GeometryShader : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interface
+public unsafe partial struct ID3D11GeometryShader : ID3D11GeometryShader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11GeometryShader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11HullShader.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11HullShader.cs
index b7ebd1435f..84caf8bfe1 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11HullShader.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11HullShader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("8E5C6061-628A-4C8E-8264-BBE45CB3D5DD")]
[NativeTypeName("struct ID3D11HullShader : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface
+public unsafe partial struct ID3D11HullShader : ID3D11HullShader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11HullShader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11InputLayout.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11InputLayout.cs
index 0639f9a95c..05023fc09e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11InputLayout.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11InputLayout.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("E4819DDC-4CF0-4025-BD26-5DE82A3E07B7")]
[NativeTypeName("struct ID3D11InputLayout : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface
+public unsafe partial struct ID3D11InputLayout : ID3D11InputLayout.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11InputLayout));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11PixelShader.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11PixelShader.cs
index ddb89a8644..61dd9e50c3 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11PixelShader.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11PixelShader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("EA82E40D-51DC-4F33-93D4-DB7C9125AE8C")]
[NativeTypeName("struct ID3D11PixelShader : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface
+public unsafe partial struct ID3D11PixelShader : ID3D11PixelShader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11PixelShader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Predicate.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Predicate.cs
index 95757ddd24..061a1ce4f9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Predicate.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Predicate.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9EB576DD-9F77-4D86-81AA-8BAB5FE490E2")]
[NativeTypeName("struct ID3D11Predicate : ID3D11Query")]
[NativeInheritance("ID3D11Query")]
-public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface
+public unsafe partial struct ID3D11Predicate : ID3D11Predicate.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Predicate));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Query.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Query.cs
index 1eae5f2be6..0b71f88d57 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Query.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Query.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("D6C00747-87B7-425E-B84D-44D108560AFD")]
[NativeTypeName("struct ID3D11Query : ID3D11Asynchronous")]
[NativeInheritance("ID3D11Asynchronous")]
-public unsafe partial struct ID3D11Query : ID3D11Query.Interface
+public unsafe partial struct ID3D11Query : ID3D11Query.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Query));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11RasterizerState.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11RasterizerState.cs
index 515803047b..3c50d811a4 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11RasterizerState.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11RasterizerState.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9BB4AB81-AB1A-4D8F-B506-FC04200B6EE7")]
[NativeTypeName("struct ID3D11RasterizerState : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Interface
+public unsafe partial struct ID3D11RasterizerState : ID3D11RasterizerState.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RasterizerState));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11RenderTargetView.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11RenderTargetView.cs
index 6e9d2c6073..ac13aea23e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11RenderTargetView.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11RenderTargetView.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DFDBA067-0B8D-4865-875B-D7B4516CC164")]
[NativeTypeName("struct ID3D11RenderTargetView : ID3D11View")]
[NativeInheritance("ID3D11View")]
-public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Interface
+public unsafe partial struct ID3D11RenderTargetView : ID3D11RenderTargetView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RenderTargetView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Resource.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Resource.cs
index f4a91f9297..39b8622c57 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Resource.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Resource.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DC8E63F3-D12B-4952-B47B-5E45026A862D")]
[NativeTypeName("struct ID3D11Resource : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface
+public unsafe partial struct ID3D11Resource : ID3D11Resource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Resource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11SamplerState.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11SamplerState.cs
index 416ba9b63d..a67368db59 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11SamplerState.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11SamplerState.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DA6FEA51-564C-4487-9810-F0D0F9B4E3A5")]
[NativeTypeName("struct ID3D11SamplerState : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface
+public unsafe partial struct ID3D11SamplerState : ID3D11SamplerState.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11SamplerState));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ShaderResourceView.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ShaderResourceView.cs
index 1910b1936f..708e2eb06b 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ShaderResourceView.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11ShaderResourceView.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B0E06FE0-8192-4E1A-B1CA-36D7414710B2")]
[NativeTypeName("struct ID3D11ShaderResourceView : ID3D11View")]
[NativeInheritance("ID3D11View")]
-public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView.Interface
+public unsafe partial struct ID3D11ShaderResourceView : ID3D11ShaderResourceView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderResourceView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture1D.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture1D.cs
index 815d8b6e4b..76b77cab89 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture1D.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture1D.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("F8FB5C27-C6B3-4F75-A4C8-439AF2EF564C")]
[NativeTypeName("struct ID3D11Texture1D : ID3D11Resource")]
[NativeInheritance("ID3D11Resource")]
-public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface
+public unsafe partial struct ID3D11Texture1D : ID3D11Texture1D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture1D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture2D.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture2D.cs
index 9eee2a5f4f..47c3c90d12 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture2D.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture2D.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6F15AAF2-D208-4E89-9AB4-489535D34F9C")]
[NativeTypeName("struct ID3D11Texture2D : ID3D11Resource")]
[NativeInheritance("ID3D11Resource")]
-public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface
+public unsafe partial struct ID3D11Texture2D : ID3D11Texture2D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture2D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture3D.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture3D.cs
index 6c53ee2e9e..a0d143fd0c 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture3D.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11Texture3D.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("037E866E-F56D-4357-A8AF-9DABBE6E250E")]
[NativeTypeName("struct ID3D11Texture3D : ID3D11Resource")]
[NativeInheritance("ID3D11Resource")]
-public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface
+public unsafe partial struct ID3D11Texture3D : ID3D11Texture3D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture3D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11UnorderedAccessView.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11UnorderedAccessView.cs
index 8813915f48..7bb1b70519 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11UnorderedAccessView.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11UnorderedAccessView.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("28ACF509-7F5C-48F6-8611-F316010A6380")]
[NativeTypeName("struct ID3D11UnorderedAccessView : ID3D11View")]
[NativeInheritance("ID3D11View")]
-public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessView.Interface
+public unsafe partial struct ID3D11UnorderedAccessView : ID3D11UnorderedAccessView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11UnorderedAccessView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VertexShader.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VertexShader.cs
index b00e831df9..edb42fd8ed 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VertexShader.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VertexShader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3B301D64-D678-4289-8897-22F8928B72F3")]
[NativeTypeName("struct ID3D11VertexShader : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface
+public unsafe partial struct ID3D11VertexShader : ID3D11VertexShader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VertexShader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoContext.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoContext.cs
index 7b27299f17..5f6c2831e0 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoContext.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoContext.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoContext : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface
+public unsafe partial struct ID3D11VideoContext : ID3D11VideoContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDecoder.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDecoder.cs
index 6199b7a472..044b6c6dc2 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDecoder.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDecoder.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoDecoder : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface
+public unsafe partial struct ID3D11VideoDecoder : ID3D11VideoDecoder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDecoder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDecoderOutputView.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDecoderOutputView.cs
index 292ca8403c..69565f7721 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDecoderOutputView.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDecoderOutputView.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoDecoderOutputView : ID3D11View")]
[NativeInheritance("ID3D11View")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOutputView.Interface
+public unsafe partial struct ID3D11VideoDecoderOutputView : ID3D11VideoDecoderOutputView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDecoderOutputView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDevice.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDevice.cs
index 45d9b17d63..72d9f1fdb1 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDevice.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoDevice.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoDevice : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface
+public unsafe partial struct ID3D11VideoDevice : ID3D11VideoDevice.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDevice));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessor.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessor.cs
index c9c635f1b2..6108de22f6 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessor.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessor.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoProcessor : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interface
+public unsafe partial struct ID3D11VideoProcessor : ID3D11VideoProcessor.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessor));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorEnumerator.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorEnumerator.cs
index dd8d613842..fe3f26c90e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorEnumerator.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorEnumerator.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoProcessorEnumerator : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcessorEnumerator.Interface
+public unsafe partial struct ID3D11VideoProcessorEnumerator : ID3D11VideoProcessorEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorInputView.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorInputView.cs
index 42633db9a4..1febb19aba 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorInputView.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorInputView.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoProcessorInputView : ID3D11View")]
[NativeInheritance("ID3D11View")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcessorInputView.Interface
+public unsafe partial struct ID3D11VideoProcessorInputView : ID3D11VideoProcessorInputView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorInputView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorOutputView.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorOutputView.cs
index fd13d8cf97..7724f662ae 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorOutputView.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11VideoProcessorOutputView.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoProcessorOutputView : ID3D11View")]
[NativeInheritance("ID3D11View")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcessorOutputView.Interface
+public unsafe partial struct ID3D11VideoProcessorOutputView : ID3D11VideoProcessorOutputView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorOutputView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11View.cs b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11View.cs
index 1909b3f8c9..ba3921c742 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11/ID3D11View.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11/ID3D11View.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("839D1216-BB2E-412B-B7F4-A9DBEBE08ED1")]
[NativeTypeName("struct ID3D11View : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11View : ID3D11View.Interface
+public unsafe partial struct ID3D11View : ID3D11View.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11View));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_BLEND_DESC1.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_BLEND_DESC1.cs
index 5186c6acc0..dacfb0f0b5 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_BLEND_DESC1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_1/D3D11_BLEND_DESC1.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
@@ -35,6 +36,7 @@ public partial struct _RenderTarget_e__FixedBuffer
public D3D11_RENDER_TARGET_BLEND_DESC1 e6;
public D3D11_RENDER_TARGET_BLEND_DESC1 e7;
+ [UnscopedRef]
public ref D3D11_RENDER_TARGET_BLEND_DESC1 this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -45,6 +47,7 @@ public ref D3D11_RENDER_TARGET_BLEND_DESC1 this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 8);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11BlendState1.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11BlendState1.cs
index 872e4998f0..64ee6ca3aa 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11BlendState1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11BlendState1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("CC86FABE-DA55-401D-85E7-E3C9DE2877E9")]
[NativeTypeName("struct ID3D11BlendState1 : ID3D11BlendState")]
[NativeInheritance("ID3D11BlendState")]
-public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface
+public unsafe partial struct ID3D11BlendState1 : ID3D11BlendState1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11BlendState1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11Device1.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11Device1.cs
index 9623661811..41c8bce47e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11Device1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11Device1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A04BFB29-08EF-43D6-A49C-A9BDBDCBE686")]
[NativeTypeName("struct ID3D11Device1 : ID3D11Device")]
[NativeInheritance("ID3D11Device")]
-public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface
+public unsafe partial struct ID3D11Device1 : ID3D11Device1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11DeviceContext1.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11DeviceContext1.cs
index c333d83eec..65bcabbf4d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11DeviceContext1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11DeviceContext1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("BB2C6FAA-B5FB-4082-8E6B-388B8CFA90E1")]
[NativeTypeName("struct ID3D11DeviceContext1 : ID3D11DeviceContext")]
[NativeInheritance("ID3D11DeviceContext")]
-public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interface
+public unsafe partial struct ID3D11DeviceContext1 : ID3D11DeviceContext1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11RasterizerState1.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11RasterizerState1.cs
index 5cec98ba91..a874b9fa7d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11RasterizerState1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11RasterizerState1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1217D7A6-5039-418C-B042-9CBE256AFD6E")]
[NativeTypeName("struct ID3D11RasterizerState1 : ID3D11RasterizerState")]
[NativeInheritance("ID3D11RasterizerState")]
-public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Interface
+public unsafe partial struct ID3D11RasterizerState1 : ID3D11RasterizerState1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RasterizerState1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoContext1.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoContext1.cs
index fe97600c61..1861b378f3 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoContext1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoContext1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoContext1 : ID3D11VideoContext")]
[NativeInheritance("ID3D11VideoContext")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface
+public unsafe partial struct ID3D11VideoContext1 : ID3D11VideoContext1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoDevice1.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoDevice1.cs
index 26180d9530..776370eeaf 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoDevice1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoDevice1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoDevice1 : ID3D11VideoDevice")]
[NativeInheritance("ID3D11VideoDevice")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface
+public unsafe partial struct ID3D11VideoDevice1 : ID3D11VideoDevice1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDevice1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoProcessorEnumerator1.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoProcessorEnumerator1.cs
index aba7309e00..8565fae41b 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoProcessorEnumerator1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3D11VideoProcessorEnumerator1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProcessorEnumerator")]
[NativeInheritance("ID3D11VideoProcessorEnumerator")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProcessorEnumerator1.Interface
+public unsafe partial struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProcessorEnumerator1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorEnumerator1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3DDeviceContextState.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3DDeviceContextState.cs
index 6b1ff13a17..3f0e3c45eb 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3DDeviceContextState.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3DDeviceContextState.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("5C1E0D8A-7C23-48F9-8C59-A92958CEFF11")]
[NativeTypeName("struct ID3DDeviceContextState : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Interface
+public unsafe partial struct ID3DDeviceContextState : ID3DDeviceContextState.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3DDeviceContextState));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3DUserDefinedAnnotation.cs b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3DUserDefinedAnnotation.cs
index 8d401a85cf..63625f9f01 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_1/ID3DUserDefinedAnnotation.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_1/ID3DUserDefinedAnnotation.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B2DAAD8B-03D4-4DBF-95EB-32AB4B63D0AB")]
[NativeTypeName("struct ID3DUserDefinedAnnotation : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotation.Interface
+public unsafe partial struct ID3DUserDefinedAnnotation : ID3DUserDefinedAnnotation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3DUserDefinedAnnotation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11Device2.cs b/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11Device2.cs
index 64ffe46c33..49f8d981ab 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11Device2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11Device2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11Device2 : ID3D11Device1")]
[NativeInheritance("ID3D11Device1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface
+public unsafe partial struct ID3D11Device2 : ID3D11Device2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11DeviceContext2.cs b/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11DeviceContext2.cs
index 9dbc3795e5..b21cb547e2 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11DeviceContext2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_2/ID3D11DeviceContext2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11DeviceContext2 : ID3D11DeviceContext1")]
[NativeInheritance("ID3D11DeviceContext1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interface
+public unsafe partial struct ID3D11DeviceContext2 : ID3D11DeviceContext2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_RENDER_TARGET_VIEW_DESC1.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_RENDER_TARGET_VIEW_DESC1.cs
index 245ddf5650..fa62af49f8 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_RENDER_TARGET_VIEW_DESC1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_RENDER_TARGET_VIEW_DESC1.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11_3.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,82 +23,90 @@ public partial struct D3D11_RENDER_TARGET_VIEW_DESC1
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_BUFFER_RTV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_RTV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_ARRAY_RTV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_RTV1 Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_ARRAY_RTV1 Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2DMS_RTV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2DMS_ARRAY_RTV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX3D_RTV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_SHADER_RESOURCE_VIEW_DESC1.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_SHADER_RESOURCE_VIEW_DESC1.cs
index ce5199cc37..4fb0985e20 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_SHADER_RESOURCE_VIEW_DESC1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_SHADER_RESOURCE_VIEW_DESC1.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11_3.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -23,112 +24,123 @@ public partial struct D3D11_SHADER_RESOURCE_VIEW_DESC1
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_BUFFER_SRV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_SRV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_ARRAY_SRV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_SRV1 Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_ARRAY_SRV1 Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2DMS_SRV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2DMS_ARRAY_SRV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX3D_SRV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEXCUBE_SRV TextureCube
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.TextureCube, 1));
+ return ref Anonymous.TextureCube;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEXCUBE_ARRAY_SRV TextureCubeArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.TextureCubeArray, 1));
+ return ref Anonymous.TextureCubeArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_BUFFEREX_SRV BufferEx
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.BufferEx, 1));
+ return ref Anonymous.BufferEx;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_UNORDERED_ACCESS_VIEW_DESC1.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_UNORDERED_ACCESS_VIEW_DESC1.cs
index 934fdfe7a9..b74b1fed43 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_UNORDERED_ACCESS_VIEW_DESC1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/D3D11_UNORDERED_ACCESS_VIEW_DESC1.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11_3.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,62 +23,68 @@ public partial struct D3D11_UNORDERED_ACCESS_VIEW_DESC1
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_BUFFER_UAV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_UAV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX1D_ARRAY_UAV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_UAV1 Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX2D_ARRAY_UAV1 Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D11_TEX3D_UAV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Device3.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Device3.cs
index 4dd04e99e5..991bd41b19 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Device3.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Device3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11Device3 : ID3D11Device2")]
[NativeInheritance("ID3D11Device2")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface
+public unsafe partial struct ID3D11Device3 : ID3D11Device3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext3.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext3.cs
index 03cdd869b1..084827f443 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext3.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B4E3C01D-E79E-4637-91B2-510E9F4C9B8F")]
[NativeTypeName("struct ID3D11DeviceContext3 : ID3D11DeviceContext2")]
[NativeInheritance("ID3D11DeviceContext2")]
-public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interface
+public unsafe partial struct ID3D11DeviceContext3 : ID3D11DeviceContext3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext4.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext4.cs
index 6c68514233..ef16bc25c3 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext4.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11DeviceContext4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("917600DA-F58C-4C33-98D8-3E15B390FA24")]
[NativeTypeName("struct ID3D11DeviceContext4 : ID3D11DeviceContext3")]
[NativeInheritance("ID3D11DeviceContext3")]
-public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interface
+public unsafe partial struct ID3D11DeviceContext4 : ID3D11DeviceContext4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Fence.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Fence.cs
index 0d1fbd3af4..0393b0fd5d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Fence.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Fence.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("AFFDE9D1-1DF7-4BB7-8A34-0F46251DAB80")]
[NativeTypeName("struct ID3D11Fence : ID3D11DeviceChild")]
[NativeInheritance("ID3D11DeviceChild")]
-public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface
+public unsafe partial struct ID3D11Fence : ID3D11Fence.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Fence));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Query1.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Query1.cs
index 374a2430ff..d6fb200fd9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Query1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Query1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11Query1 : ID3D11Query")]
[NativeInheritance("ID3D11Query")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface
+public unsafe partial struct ID3D11Query1 : ID3D11Query1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Query1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11RasterizerState2.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11RasterizerState2.cs
index 7bfa6cf7f7..784af67e33 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11RasterizerState2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11RasterizerState2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11RasterizerState2 : ID3D11RasterizerState1")]
[NativeInheritance("ID3D11RasterizerState1")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Interface
+public unsafe partial struct ID3D11RasterizerState2 : ID3D11RasterizerState2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RasterizerState2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11RenderTargetView1.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11RenderTargetView1.cs
index 576670344b..0c359c4eff 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11RenderTargetView1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11RenderTargetView1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11RenderTargetView1 : ID3D11RenderTargetView")]
[NativeInheritance("ID3D11RenderTargetView")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.Interface
+public unsafe partial struct ID3D11RenderTargetView1 : ID3D11RenderTargetView1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RenderTargetView1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11ShaderResourceView1.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11ShaderResourceView1.cs
index 6c22a034f3..0e86b0a738 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11ShaderResourceView1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11ShaderResourceView1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceView")]
[NativeInheritance("ID3D11ShaderResourceView")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceView1.Interface
+public unsafe partial struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceView1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderResourceView1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Texture2D1.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Texture2D1.cs
index 11ad61cd9d..69cb56a237 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Texture2D1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Texture2D1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11Texture2D1 : ID3D11Texture2D")]
[NativeInheritance("ID3D11Texture2D")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface
+public unsafe partial struct ID3D11Texture2D1 : ID3D11Texture2D1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture2D1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Texture3D1.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Texture3D1.cs
index 77edb8c92b..fb0dd85bed 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Texture3D1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11Texture3D1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11Texture3D1 : ID3D11Texture3D")]
[NativeInheritance("ID3D11Texture3D")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface
+public unsafe partial struct ID3D11Texture3D1 : ID3D11Texture3D1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture3D1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11UnorderedAccessView1.cs b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11UnorderedAccessView1.cs
index 2d5fa26c45..38b9239b75 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11UnorderedAccessView1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_3/ID3D11UnorderedAccessView1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessView")]
[NativeInheritance("ID3D11UnorderedAccessView")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessView1.Interface
+public unsafe partial struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessView1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11UnorderedAccessView1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Device4.cs b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Device4.cs
index 0d981bbaf7..adbc962ae9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Device4.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Device4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("8992AB71-02E6-4B8D-BA48-B056DCDA42C4")]
[NativeTypeName("struct ID3D11Device4 : ID3D11Device3")]
[NativeInheritance("ID3D11Device3")]
-public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface
+public unsafe partial struct ID3D11Device4 : ID3D11Device4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Device5.cs b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Device5.cs
index edaef46d39..f382b4aadd 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Device5.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Device5.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("8FFDE202-A0E7-45DF-9E01-E837801B5EA0")]
[NativeTypeName("struct ID3D11Device5 : ID3D11Device4")]
[NativeInheritance("ID3D11Device4")]
-public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface
+public unsafe partial struct ID3D11Device5 : ID3D11Device5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Multithread.cs b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Multithread.cs
index e43e18e3fb..1ba634f8b0 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Multithread.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11Multithread.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E4E00-342C-4106-A19F-4F2704F689F0")]
[NativeTypeName("struct ID3D11Multithread : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface
+public unsafe partial struct ID3D11Multithread : ID3D11Multithread.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Multithread));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoContext2.cs b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoContext2.cs
index 75f82c6c78..f85fb69277 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoContext2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoContext2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11VideoContext2 : ID3D11VideoContext1")]
[NativeInheritance("ID3D11VideoContext1")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface
+public unsafe partial struct ID3D11VideoContext2 : ID3D11VideoContext2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoContext3.cs b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoContext3.cs
index 366ef68537..877354c392 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoContext3.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoContext3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A9E2FAA0-CB39-418F-A0B7-D8AAD4DE672E")]
[NativeTypeName("struct ID3D11VideoContext3 : ID3D11VideoContext2")]
[NativeInheritance("ID3D11VideoContext2")]
-public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface
+public unsafe partial struct ID3D11VideoContext3 : ID3D11VideoContext3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoDevice2.cs b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoDevice2.cs
index 2c4c8cc410..09b45e19c9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoDevice2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11_4/ID3D11VideoDevice2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("59C0CB01-35F0-4A70-8F67-87905C906A53")]
[NativeTypeName("struct ID3D11VideoDevice2 : ID3D11VideoDevice1")]
[NativeInheritance("ID3D11VideoDevice1")]
-public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface
+public unsafe partial struct ID3D11VideoDevice2 : ID3D11VideoDevice2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDevice2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device.cs b/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device.cs
index 05a2442003..bce905b52d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("85611E73-70A9-490E-9614-A9E302777904")]
[NativeTypeName("struct ID3D11On12Device : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11On12Device : ID3D11On12Device.Interface
+public unsafe partial struct ID3D11On12Device : ID3D11On12Device.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11On12Device));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device1.cs b/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device1.cs
index 3b6554ddbe..4507d9205e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11On12Device1 : ID3D11On12Device")]
[NativeInheritance("ID3D11On12Device")]
[SupportedOSPlatform("windows10.0.18362.0")]
-public unsafe partial struct ID3D11On12Device1 : ID3D11On12Device1.Interface
+public unsafe partial struct ID3D11On12Device1 : ID3D11On12Device1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11On12Device1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device2.cs b/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device2.cs
index c867b7f445..cc23d467a9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11on12/ID3D11On12Device2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11On12Device2 : ID3D11On12Device1")]
[NativeInheritance("ID3D11On12Device1")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct ID3D11On12Device2 : ID3D11On12Device2.Interface
+public unsafe partial struct ID3D11On12Device2 : ID3D11On12Device2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11On12Device2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11Debug.cs b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11Debug.cs
index 6833308212..1c38c947fc 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11Debug.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11Debug.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("79CF2233-7536-4948-9D36-1E4692DC5760")]
[NativeTypeName("struct ID3D11Debug : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface
+public unsafe partial struct ID3D11Debug : ID3D11Debug.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Debug));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11InfoQueue.cs b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11InfoQueue.cs
index 96c4974b71..3fbeeebac6 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11InfoQueue.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11InfoQueue.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6543DBB6-1B48-42F5-AB82-E97EC74326F6")]
[NativeTypeName("struct ID3D11InfoQueue : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface
+public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11InfoQueue));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11RefDefaultTrackingOptions.cs b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11RefDefaultTrackingOptions.cs
index dbd26cd29e..f0dd4abd7e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11RefDefaultTrackingOptions.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11RefDefaultTrackingOptions.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11RefDefaultTrackingOptions : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11RefDefaultTrackingOptions : ID3D11RefDefaultTrackingOptions.Interface
+public unsafe partial struct ID3D11RefDefaultTrackingOptions : ID3D11RefDefaultTrackingOptions.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RefDefaultTrackingOptions));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11RefTrackingOptions.cs b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11RefTrackingOptions.cs
index 9f6285d647..cb233ab515 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11RefTrackingOptions.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11RefTrackingOptions.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11RefTrackingOptions : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11RefTrackingOptions : ID3D11RefTrackingOptions.Interface
+public unsafe partial struct ID3D11RefTrackingOptions : ID3D11RefTrackingOptions.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RefTrackingOptions));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11SwitchToRef.cs b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11SwitchToRef.cs
index 347a30fdee..7b02503551 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11SwitchToRef.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11SwitchToRef.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1EF337E3-58E7-4F83-A692-DB221F5ED47E")]
[NativeTypeName("struct ID3D11SwitchToRef : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface
+public unsafe partial struct ID3D11SwitchToRef : ID3D11SwitchToRef.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11SwitchToRef));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11TracingDevice.cs b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11TracingDevice.cs
index 45e0e5eb3f..b2488e8510 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11TracingDevice.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11sdklayers/ID3D11TracingDevice.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11TracingDevice : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11TracingDevice : ID3D11TracingDevice.Interface
+public unsafe partial struct ID3D11TracingDevice : ID3D11TracingDevice.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11TracingDevice));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionLinkingGraph.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionLinkingGraph.cs
index 4480c1ac4a..82cc04444f 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionLinkingGraph.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionLinkingGraph.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("54133220-1CE8-43D3-8236-9855C5CEECFF")]
[NativeTypeName("struct ID3D11FunctionLinkingGraph : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingGraph.Interface
+public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingGraph.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionLinkingGraph));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionParameterReflection.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionParameterReflection.cs
index 2e75a2498b..66a1b17008 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionParameterReflection.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionParameterReflection.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d11shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("42757488-334F-47FE-982E-1A65D08CC462")]
-public unsafe partial struct ID3D11FunctionParameterReflection : ID3D11FunctionParameterReflection.Interface
+public unsafe partial struct ID3D11FunctionParameterReflection : ID3D11FunctionParameterReflection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionParameterReflection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionReflection.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionReflection.cs
index 41c9e850b8..0bf6ac901b 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionReflection.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11FunctionReflection.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d11shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("207BCECB-D683-4A06-A8A3-9B149B9F73A4")]
-public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection.Interface
+public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionReflection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11LibraryReflection.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11LibraryReflection.cs
index 1c14a118c1..0e6574cf44 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11LibraryReflection.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11LibraryReflection.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("54384F1B-5B3E-4BB7-AE01-60BA3097CBB6")]
[NativeTypeName("struct ID3D11LibraryReflection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11LibraryReflection : ID3D11LibraryReflection.Interface
+public unsafe partial struct ID3D11LibraryReflection : ID3D11LibraryReflection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11LibraryReflection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11Linker.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11Linker.cs
index d18171a713..b99e3e0dee 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11Linker.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11Linker.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("59A6CD0E-E10D-4C1F-88C0-63ABA1DAF30E")]
[NativeTypeName("struct ID3D11Linker : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface
+public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Linker));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11LinkingNode.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11LinkingNode.cs
index e5c212b9ea..39d6ba9d89 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11LinkingNode.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11LinkingNode.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("D80DD70C-8D2F-4751-94A1-03C79B3556DB")]
[NativeTypeName("struct ID3D11LinkingNode : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11LinkingNode : ID3D11LinkingNode.Interface
+public unsafe partial struct ID3D11LinkingNode : ID3D11LinkingNode.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11LinkingNode));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11Module.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11Module.cs
index 7f74a3ba90..3e4de0fc89 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11Module.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11Module.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("CAC701EE-80FC-4122-8242-10B39C8CEC34")]
[NativeTypeName("struct ID3D11Module : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11Module : ID3D11Module.Interface
+public unsafe partial struct ID3D11Module : ID3D11Module.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Module));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ModuleInstance.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ModuleInstance.cs
index 76ed79d46a..392c42b012 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ModuleInstance.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ModuleInstance.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("469E07F7-045A-48D5-AA12-68A478CDF75D")]
[NativeTypeName("struct ID3D11ModuleInstance : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interface
+public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ModuleInstance));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs
index e791d6f32e..6a0d9369fb 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflection.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("8D536CA1-0CCA-4956-A837-786963755584")]
[NativeTypeName("struct ID3D11ShaderReflection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Interface
+public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionConstantBuffer.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionConstantBuffer.cs
index 568a2c3dc3..3b77494440 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionConstantBuffer.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionConstantBuffer.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d11shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("EB62D63D-93DD-4318-8AE8-C6F83AD371B8")]
-public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11ShaderReflectionConstantBuffer.Interface
+public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11ShaderReflectionConstantBuffer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflectionConstantBuffer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionType.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionType.cs
index 2caf62aafa..ff6edd78ca 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionType.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionType.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d11shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("6E6FFA6A-9BAE-4613-A51E-91652D508C21")]
-public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflectionType.Interface
+public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflectionType.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflectionType));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionVariable.cs b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionVariable.cs
index 91602a0c88..7a3108004e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionVariable.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shader/ID3D11ShaderReflectionVariable.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d11shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("51F23923-F3E5-4BD1-91CB-606177D8DB4C")]
-public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflectionVariable.Interface
+public unsafe partial struct ID3D11ShaderReflectionVariable : ID3D11ShaderReflectionVariable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflectionVariable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_SHADER_TRACE_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_SHADER_TRACE_DESC.cs
index 5f0cab9791..fa77669aed 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_SHADER_TRACE_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_SHADER_TRACE_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d11shadertracing.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
@@ -24,62 +25,68 @@ public partial struct D3D11_SHADER_TRACE_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D11_VERTEX_SHADER_TRACE_DESC VertexShaderTraceDesc
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.VertexShaderTraceDesc, 1));
+ return ref Anonymous.VertexShaderTraceDesc;
}
}
///
+ [UnscopedRef]
public ref D3D11_HULL_SHADER_TRACE_DESC HullShaderTraceDesc
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.HullShaderTraceDesc, 1));
+ return ref Anonymous.HullShaderTraceDesc;
}
}
///
+ [UnscopedRef]
public ref D3D11_DOMAIN_SHADER_TRACE_DESC DomainShaderTraceDesc
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.DomainShaderTraceDesc, 1));
+ return ref Anonymous.DomainShaderTraceDesc;
}
}
///
+ [UnscopedRef]
public ref D3D11_GEOMETRY_SHADER_TRACE_DESC GeometryShaderTraceDesc
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.GeometryShaderTraceDesc, 1));
+ return ref Anonymous.GeometryShaderTraceDesc;
}
}
///
+ [UnscopedRef]
public ref D3D11_PIXEL_SHADER_TRACE_DESC PixelShaderTraceDesc
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.PixelShaderTraceDesc, 1));
+ return ref Anonymous.PixelShaderTraceDesc;
}
}
///
+ [UnscopedRef]
public ref D3D11_COMPUTE_SHADER_TRACE_DESC ComputeShaderTraceDesc
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.ComputeShaderTraceDesc, 1));
+ return ref Anonymous.ComputeShaderTraceDesc;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_REGISTER.cs b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_REGISTER.cs
index d01c5b9f67..12ef633872 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_REGISTER.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/D3D11_TRACE_REGISTER.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
@@ -30,16 +31,18 @@ public unsafe partial struct D3D11_TRACE_REGISTER
public byte Flags;
///
+ [UnscopedRef]
public ref ushort Index1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Index1D, 1));
+ return ref Anonymous.Index1D;
}
}
///
+ [UnscopedRef]
public Span Index2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/ID3D11ShaderTrace.cs b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/ID3D11ShaderTrace.cs
index 177c0a51ec..ca646f888c 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/ID3D11ShaderTrace.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/ID3D11ShaderTrace.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11ShaderTrace : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface
+public unsafe partial struct ID3D11ShaderTrace : ID3D11ShaderTrace.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderTrace));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/ID3D11ShaderTraceFactory.cs b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/ID3D11ShaderTraceFactory.cs
index 23091120b8..4a125b474c 100644
--- a/sources/Interop/Windows/DirectX/um/d3d11shadertracing/ID3D11ShaderTraceFactory.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d11shadertracing/ID3D11ShaderTraceFactory.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D11ShaderTraceFactory : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ID3D11ShaderTraceFactory : ID3D11ShaderTraceFactory.Interface
+public unsafe partial struct ID3D11ShaderTraceFactory : ID3D11ShaderTraceFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderTraceFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BLEND_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BLEND_DESC.cs
index 85a3eb5812..b3fca49cd1 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BLEND_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BLEND_DESC.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
@@ -35,6 +36,7 @@ public partial struct _RenderTarget_e__FixedBuffer
public D3D12_RENDER_TARGET_BLEND_DESC e6;
public D3D12_RENDER_TARGET_BLEND_DESC e7;
+ [UnscopedRef]
public ref D3D12_RENDER_TARGET_BLEND_DESC this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -45,6 +47,7 @@ public ref D3D12_RENDER_TARGET_BLEND_DESC this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 8);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS.cs
index bca4f7b36d..146a0e9dd9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -28,32 +29,35 @@ public unsafe partial struct D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUT
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref ulong InstanceDescs
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.InstanceDescs, 1));
+ return ref Anonymous.InstanceDescs;
}
}
///
+ [UnscopedRef]
public ref D3D12_RAYTRACING_GEOMETRY_DESC* pGeometryDescs
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.pGeometryDescs;
+ return ref Anonymous.pGeometryDescs;
}
}
///
+ [UnscopedRef]
public ref D3D12_RAYTRACING_GEOMETRY_DESC** ppGeometryDescs
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.ppGeometryDescs;
+ return ref Anonymous.ppGeometryDescs;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs
index be9e58e119..ef2b6b15bf 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_CLEAR_VALUE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -20,6 +21,7 @@ public unsafe partial struct D3D12_CLEAR_VALUE
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public Span Color
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -30,12 +32,13 @@ public Span Color
}
///
+ [UnscopedRef]
public ref D3D12_DEPTH_STENCIL_VALUE DepthStencil
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.DepthStencil, 1));
+ return ref Anonymous.DepthStencil;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VIEW_DESC.cs
index 563f478c54..0c7eb0b60e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_DEPTH_STENCIL_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,62 +26,68 @@ public partial struct D3D12_DEPTH_STENCIL_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D12_TEX1D_DSV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX1D_ARRAY_DSV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2D_DSV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2D_ARRAY_DSV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2DMS_DSV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2DMS_ARRAY_DSV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_GRAPHICS_PIPELINE_STATE_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_GRAPHICS_PIPELINE_STATE_DESC.cs
index 6845e8d5bf..ad9742b95b 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_GRAPHICS_PIPELINE_STATE_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_GRAPHICS_PIPELINE_STATE_DESC.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
@@ -89,6 +90,7 @@ public partial struct _RTVFormats_e__FixedBuffer
public DXGI_FORMAT e6;
public DXGI_FORMAT e7;
+ [UnscopedRef]
public ref DXGI_FORMAT this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -99,6 +101,7 @@ public ref DXGI_FORMAT this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 8);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_INDIRECT_ARGUMENT_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_INDIRECT_ARGUMENT_DESC.cs
index eabbe3ee8d..56120d24c8 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_INDIRECT_ARGUMENT_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_INDIRECT_ARGUMENT_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -19,52 +20,57 @@ public partial struct D3D12_INDIRECT_ARGUMENT_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref _Anonymous_e__Union._VertexBuffer_e__Struct VertexBuffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.VertexBuffer, 1));
+ return ref Anonymous.VertexBuffer;
}
}
///
+ [UnscopedRef]
public ref _Anonymous_e__Union._Constant_e__Struct Constant
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Constant, 1));
+ return ref Anonymous.Constant;
}
}
///
+ [UnscopedRef]
public ref _Anonymous_e__Union._ConstantBufferView_e__Struct ConstantBufferView
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.ConstantBufferView, 1));
+ return ref Anonymous.ConstantBufferView;
}
}
///
+ [UnscopedRef]
public ref _Anonymous_e__Union._ShaderResourceView_e__Struct ShaderResourceView
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.ShaderResourceView, 1));
+ return ref Anonymous.ShaderResourceView;
}
}
///
+ [UnscopedRef]
public ref _Anonymous_e__Union._UnorderedAccessView_e__Struct UnorderedAccessView
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.UnorderedAccessView, 1));
+ return ref Anonymous.UnorderedAccessView;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RAYTRACING_GEOMETRY_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RAYTRACING_GEOMETRY_DESC.cs
index 26f3764cc8..f8d86abb90 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RAYTRACING_GEOMETRY_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RAYTRACING_GEOMETRY_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,22 +23,24 @@ public partial struct D3D12_RAYTRACING_GEOMETRY_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC Triangles
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Triangles, 1));
+ return ref Anonymous.Triangles;
}
}
///
+ [UnscopedRef]
public ref D3D12_RAYTRACING_GEOMETRY_AABBS_DESC AABBs
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.AABBs, 1));
+ return ref Anonymous.AABBs;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_PASS_BEGINNING_ACCESS.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_PASS_BEGINNING_ACCESS.cs
index 03a3b46179..ac2614e7d6 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_PASS_BEGINNING_ACCESS.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_PASS_BEGINNING_ACCESS.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -19,12 +20,13 @@ public partial struct D3D12_RENDER_PASS_BEGINNING_ACCESS
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D12_RENDER_PASS_BEGINNING_ACCESS_CLEAR_PARAMETERS Clear
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Clear, 1));
+ return ref Anonymous.Clear;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_PASS_ENDING_ACCESS.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_PASS_ENDING_ACCESS.cs
index f617a1db75..67ba986d87 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_PASS_ENDING_ACCESS.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_PASS_ENDING_ACCESS.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -19,12 +20,13 @@ public partial struct D3D12_RENDER_PASS_ENDING_ACCESS
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_PARAMETERS Resolve
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Resolve, 1));
+ return ref Anonymous.Resolve;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_TARGET_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_TARGET_VIEW_DESC.cs
index dbd4d2eef8..9e961fc152 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_TARGET_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RENDER_TARGET_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,82 +23,90 @@ public partial struct D3D12_RENDER_TARGET_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D12_BUFFER_RTV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX1D_RTV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX1D_ARRAY_RTV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2D_RTV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2D_ARRAY_RTV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2DMS_RTV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2DMS_ARRAY_RTV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX3D_RTV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs
index 5aa6cf7e09..ebe6cf951e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RESOURCE_BARRIER.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,32 +23,35 @@ public partial struct D3D12_RESOURCE_BARRIER
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D12_RESOURCE_TRANSITION_BARRIER Transition
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Transition, 1));
+ return ref Anonymous.Transition;
}
}
///
+ [UnscopedRef]
public ref D3D12_RESOURCE_ALIASING_BARRIER Aliasing
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Aliasing, 1));
+ return ref Anonymous.Aliasing;
}
}
///
+ [UnscopedRef]
public ref D3D12_RESOURCE_UAV_BARRIER UAV
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.UAV, 1));
+ return ref Anonymous.UAV;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs
index 8b4cc4b879..fba2412d10 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,32 +23,35 @@ public partial struct D3D12_ROOT_PARAMETER
public D3D12_SHADER_VISIBILITY ShaderVisibility;
///
+ [UnscopedRef]
public ref D3D12_ROOT_DESCRIPTOR_TABLE DescriptorTable
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.DescriptorTable, 1));
+ return ref Anonymous.DescriptorTable;
}
}
///
+ [UnscopedRef]
public ref D3D12_ROOT_CONSTANTS Constants
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Constants, 1));
+ return ref Anonymous.Constants;
}
}
///
+ [UnscopedRef]
public ref D3D12_ROOT_DESCRIPTOR Descriptor
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Descriptor, 1));
+ return ref Anonymous.Descriptor;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs
index a2e9c1e5b5..71c498e93f 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_ROOT_PARAMETER1.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,32 +23,35 @@ public partial struct D3D12_ROOT_PARAMETER1
public D3D12_SHADER_VISIBILITY ShaderVisibility;
///
+ [UnscopedRef]
public ref D3D12_ROOT_DESCRIPTOR_TABLE1 DescriptorTable
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.DescriptorTable, 1));
+ return ref Anonymous.DescriptorTable;
}
}
///
+ [UnscopedRef]
public ref D3D12_ROOT_CONSTANTS Constants
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Constants, 1));
+ return ref Anonymous.Constants;
}
}
///
+ [UnscopedRef]
public ref D3D12_ROOT_DESCRIPTOR1 Descriptor
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Descriptor, 1));
+ return ref Anonymous.Descriptor;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RT_FORMAT_ARRAY.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RT_FORMAT_ARRAY.cs
index dbb6f42f21..040d65a79b 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RT_FORMAT_ARRAY.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_RT_FORMAT_ARRAY.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -31,6 +32,7 @@ public partial struct _RTFormats_e__FixedBuffer
public DXGI_FORMAT e6;
public DXGI_FORMAT e7;
+ [UnscopedRef]
public ref DXGI_FORMAT this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -41,6 +43,7 @@ public ref DXGI_FORMAT this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 8);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs
index 553c89bca2..53427d3d97 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_SHADER_RESOURCE_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,112 +26,123 @@ public partial struct D3D12_SHADER_RESOURCE_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D12_BUFFER_SRV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX1D_SRV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX1D_ARRAY_SRV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2D_SRV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2D_ARRAY_SRV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2DMS_SRV Texture2DMS
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMS, 1));
+ return ref Anonymous.Texture2DMS;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2DMS_ARRAY_SRV Texture2DMSArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DMSArray, 1));
+ return ref Anonymous.Texture2DMSArray;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX3D_SRV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEXCUBE_SRV TextureCube
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.TextureCube, 1));
+ return ref Anonymous.TextureCube;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEXCUBE_ARRAY_SRV TextureCubeArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.TextureCubeArray, 1));
+ return ref Anonymous.TextureCubeArray;
}
}
///
+ [UnscopedRef]
public ref D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV RaytracingAccelerationStructure
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.RaytracingAccelerationStructure, 1));
+ return ref Anonymous.RaytracingAccelerationStructure;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs
index 546c39897a..9a410d84c9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_TEXTURE_COPY_LOCATION.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,22 +23,24 @@ public unsafe partial struct D3D12_TEXTURE_COPY_LOCATION
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D12_PLACED_SUBRESOURCE_FOOTPRINT PlacedFootprint
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.PlacedFootprint, 1));
+ return ref Anonymous.PlacedFootprint;
}
}
///
+ [UnscopedRef]
public ref uint SubresourceIndex
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.SubresourceIndex, 1));
+ return ref Anonymous.SubresourceIndex;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs
index 157cf93f37..634662a5bb 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_UNORDERED_ACCESS_VIEW_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,62 +23,68 @@ public partial struct D3D12_UNORDERED_ACCESS_VIEW_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D12_BUFFER_UAV Buffer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Buffer, 1));
+ return ref Anonymous.Buffer;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX1D_UAV Texture1D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1D, 1));
+ return ref Anonymous.Texture1D;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX1D_ARRAY_UAV Texture1DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture1DArray, 1));
+ return ref Anonymous.Texture1DArray;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2D_UAV Texture2D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2D, 1));
+ return ref Anonymous.Texture2D;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX2D_ARRAY_UAV Texture2DArray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture2DArray, 1));
+ return ref Anonymous.Texture2DArray;
}
}
///
+ [UnscopedRef]
public ref D3D12_TEX3D_UAV Texture3D
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Texture3D, 1));
+ return ref Anonymous.Texture3D;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA.cs
index 939290aaf9..400e3ffbe9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -19,42 +20,46 @@ public partial struct D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D12_DEVICE_REMOVED_EXTENDED_DATA Dred_1_0
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Dred_1_0, 1));
+ return ref Anonymous.Dred_1_0;
}
}
///
+ [UnscopedRef]
public ref D3D12_DEVICE_REMOVED_EXTENDED_DATA1 Dred_1_1
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Dred_1_1, 1));
+ return ref Anonymous.Dred_1_1;
}
}
///
+ [UnscopedRef]
public ref D3D12_DEVICE_REMOVED_EXTENDED_DATA2 Dred_1_2
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Dred_1_2, 1));
+ return ref Anonymous.Dred_1_2;
}
}
///
+ [UnscopedRef]
public ref D3D12_DEVICE_REMOVED_EXTENDED_DATA3 Dred_1_3
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Dred_1_3, 1));
+ return ref Anonymous.Dred_1_3;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs
index 67500a4898..eec20981df 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.cs
@@ -3,6 +3,7 @@
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -19,22 +20,24 @@ public partial struct D3D12_VERSIONED_ROOT_SIGNATURE_DESC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref D3D12_ROOT_SIGNATURE_DESC Desc_1_0
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Desc_1_0, 1));
+ return ref Anonymous.Desc_1_0;
}
}
///
+ [UnscopedRef]
public ref D3D12_ROOT_SIGNATURE_DESC1 Desc_1_1
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Desc_1_1, 1));
+ return ref Anonymous.Desc_1_1;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs
index d30d2fee95..c3446cef9d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6102DEE4-AF59-4B09-B999-B44D73F09B24")]
[NativeTypeName("struct ID3D12CommandAllocator : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12CommandAllocator : ID3D12CommandAllocator.Interface
+public unsafe partial struct ID3D12CommandAllocator : ID3D12CommandAllocator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandAllocator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandList.cs
index 051a59f39c..db37127f9a 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandList.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandList.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7116D91C-E7E4-47CE-B8C6-EC8168F437E5")]
[NativeTypeName("struct ID3D12CommandList : ID3D12DeviceChild")]
[NativeInheritance("ID3D12DeviceChild")]
-public unsafe partial struct ID3D12CommandList : ID3D12CommandList.Interface
+public unsafe partial struct ID3D12CommandList : ID3D12CommandList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs
index 89d1bb92c2..ca1d323dd0 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0EC870A6-5D7E-4C22-8CFC-5BAAE07616ED")]
[NativeTypeName("struct ID3D12CommandQueue : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface
+public unsafe partial struct ID3D12CommandQueue : ID3D12CommandQueue.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandQueue));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandSignature.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandSignature.cs
index 31a6355623..e4027b481d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandSignature.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12CommandSignature.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C36A797C-EC80-4F0A-8985-A7B2475082D1")]
[NativeTypeName("struct ID3D12CommandSignature : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12CommandSignature : ID3D12CommandSignature.Interface
+public unsafe partial struct ID3D12CommandSignature : ID3D12CommandSignature.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandSignature));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs
index d7d64aa0d4..c25e451059 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("8EFB471D-616C-4F49-90F7-127BB763FA51")]
[NativeTypeName("struct ID3D12DescriptorHeap : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interface
+public unsafe partial struct ID3D12DescriptorHeap : ID3D12DescriptorHeap.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DescriptorHeap));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device.cs
index 7a0dce28b5..4cc68ab23a 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("189819F1-1DB6-4B57-BE54-1821339B85F7")]
[NativeTypeName("struct ID3D12Device : ID3D12Object")]
[NativeInheritance("ID3D12Object")]
-public unsafe partial struct ID3D12Device : ID3D12Device.Interface
+public unsafe partial struct ID3D12Device : ID3D12Device.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device1.cs
index b43f5bca04..3a786e9d8e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("77ACCE80-638E-4E65-8895-C1F23386863E")]
[NativeTypeName("struct ID3D12Device1 : ID3D12Device")]
[NativeInheritance("ID3D12Device")]
-public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface
+public unsafe partial struct ID3D12Device1 : ID3D12Device1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device2.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device2.cs
index 32ee8b6c12..973f3760f5 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("30BAA41E-B15B-475C-A0BB-1AF5C5B64328")]
[NativeTypeName("struct ID3D12Device2 : ID3D12Device1")]
[NativeInheritance("ID3D12Device1")]
-public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface
+public unsafe partial struct ID3D12Device2 : ID3D12Device2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device3.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device3.cs
index f6310640e7..6cd3e18b7b 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device3.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("81DADC15-2BAD-4392-93C5-101345C4AA98")]
[NativeTypeName("struct ID3D12Device3 : ID3D12Device2")]
[NativeInheritance("ID3D12Device2")]
-public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface
+public unsafe partial struct ID3D12Device3 : ID3D12Device3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device4.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device4.cs
index 9cdadfa69c..dc046e35b2 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device4.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("E865DF17-A9EE-46F9-A463-3098315AA2E5")]
[NativeTypeName("struct ID3D12Device4 : ID3D12Device3")]
[NativeInheritance("ID3D12Device3")]
-public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface
+public unsafe partial struct ID3D12Device4 : ID3D12Device4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device5.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device5.cs
index e793455e6e..55d4c6d1de 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device5.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device5.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12Device5 : ID3D12Device4")]
[NativeInheritance("ID3D12Device4")]
[SupportedOSPlatform("windows10.0.17763.0")]
-public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface
+public unsafe partial struct ID3D12Device5 : ID3D12Device5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device6.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device6.cs
index 0e91e0cd34..caa354e4f9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device6.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device6.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C70B221B-40E4-4A17-89AF-025A0727A6DC")]
[NativeTypeName("struct ID3D12Device6 : ID3D12Device5")]
[NativeInheritance("ID3D12Device5")]
-public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface
+public unsafe partial struct ID3D12Device6 : ID3D12Device6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device7.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device7.cs
index fb35ba0b40..21623384ed 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device7.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device7.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("5C014B53-68A1-4B9B-8BD1-DD6046B9358B")]
[NativeTypeName("struct ID3D12Device7 : ID3D12Device6")]
[NativeInheritance("ID3D12Device6")]
-public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface
+public unsafe partial struct ID3D12Device7 : ID3D12Device7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device8.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device8.cs
index 094ed632af..5bfc73ec79 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device8.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device8.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9218E6BB-F944-4F7E-A75C-B1B2C7B701F3")]
[NativeTypeName("struct ID3D12Device8 : ID3D12Device7")]
[NativeInheritance("ID3D12Device7")]
-public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface
+public unsafe partial struct ID3D12Device8 : ID3D12Device8.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device8));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device9.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device9.cs
index f4e56c0f62..f3d89d4136 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device9.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Device9.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4C80E962-F032-4F60-BC9E-EBC2CFA1D83C")]
[NativeTypeName("struct ID3D12Device9 : ID3D12Device8")]
[NativeInheritance("ID3D12Device8")]
-public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface
+public unsafe partial struct ID3D12Device9 : ID3D12Device9.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device9));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceChild.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceChild.cs
index 19d2aab01c..6709ee38e4 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceChild.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceChild.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("905DB94B-A00C-4140-9DF5-2B64CA9EA357")]
[NativeTypeName("struct ID3D12DeviceChild : ID3D12Object")]
[NativeInheritance("ID3D12Object")]
-public unsafe partial struct ID3D12DeviceChild : ID3D12DeviceChild.Interface
+public unsafe partial struct ID3D12DeviceChild : ID3D12DeviceChild.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceChild));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData.cs
index dfccea94ef..364b712073 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12DeviceRemovedExtendedData : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.18362.0")]
-public unsafe partial struct ID3D12DeviceRemovedExtendedData : ID3D12DeviceRemovedExtendedData.Interface
+public unsafe partial struct ID3D12DeviceRemovedExtendedData : ID3D12DeviceRemovedExtendedData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs
index bf6f17ca19..dba5b1a860 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9727A022-CF1D-4DDA-9EBA-EFFA653FC506")]
[NativeTypeName("struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemovedExtendedData")]
[NativeInheritance("ID3D12DeviceRemovedExtendedData")]
-public unsafe partial struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemovedExtendedData1.Interface
+public unsafe partial struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemovedExtendedData1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedData1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData2.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData2.cs
index 2d680b37c9..531450005d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("67FC5816-E4CA-4915-BF18-42541272DA54")]
[NativeTypeName("struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemovedExtendedData1")]
[NativeInheritance("ID3D12DeviceRemovedExtendedData1")]
-public unsafe partial struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemovedExtendedData2.Interface
+public unsafe partial struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemovedExtendedData2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedData2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings.cs
index 63b8526348..30d31b8524 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12DeviceRemovedExtendedDataSettings : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.18362.0")]
-public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings : ID3D12DeviceRemovedExtendedDataSettings.Interface
+public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings : ID3D12DeviceRemovedExtendedDataSettings.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedDataSettings));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs
index b5de01c3f8..c98c9e3d43 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DBD5AE51-3317-4F0A-ADF9-1D7CEDCAAE0B")]
[NativeTypeName("struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12DeviceRemovedExtendedDataSettings")]
[NativeInheritance("ID3D12DeviceRemovedExtendedDataSettings")]
-public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12DeviceRemovedExtendedDataSettings1.Interface
+public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12DeviceRemovedExtendedDataSettings1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedDataSettings1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Fence.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Fence.cs
index fddf3700a5..3a1f0061d2 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Fence.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Fence.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0A753DCF-C4D8-4B91-ADF6-BE5A60D95A76")]
[NativeTypeName("struct ID3D12Fence : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface
+public unsafe partial struct ID3D12Fence : ID3D12Fence.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Fence));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Fence1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Fence1.cs
index c13305e582..0285869821 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Fence1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Fence1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("433685FE-E22B-4CA0-A8DB-B5B4F4DD0E4A")]
[NativeTypeName("struct ID3D12Fence1 : ID3D12Fence")]
[NativeInheritance("ID3D12Fence")]
-public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface
+public unsafe partial struct ID3D12Fence1 : ID3D12Fence1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Fence1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs
index 9ff02a3ab1..55dd2082b2 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("5B160D0F-AC1B-4185-8BA8-B3AE42A5A455")]
[NativeTypeName("struct ID3D12GraphicsCommandList : ID3D12CommandList")]
[NativeInheritance("ID3D12CommandList")]
-public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandList.Interface
+public unsafe partial struct ID3D12GraphicsCommandList : ID3D12GraphicsCommandList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs
index afc3592ce7..96051967a4 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("553103FB-1FE7-4557-BB38-946D7D0E7CA7")]
[NativeTypeName("struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandList")]
[NativeInheritance("ID3D12GraphicsCommandList")]
-public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandList1.Interface
+public unsafe partial struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandList1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs
index 7cff7df91b..02d34a2468 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandList1")]
[NativeInheritance("ID3D12GraphicsCommandList1")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandList2.Interface
+public unsafe partial struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandList2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs
index 1707f118af..2cb3d96841 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandList2")]
[NativeInheritance("ID3D12GraphicsCommandList2")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandList3.Interface
+public unsafe partial struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandList3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs
index 89d09535de..5633353bc4 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList4.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandList3")]
[NativeInheritance("ID3D12GraphicsCommandList3")]
[SupportedOSPlatform("windows10.0.17763.0")]
-public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandList4.Interface
+public unsafe partial struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandList4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs
index 299b36ea34..2fb6cc8e91 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList5.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("55050859-4024-474C-87F5-6472EAEE44EA")]
[NativeTypeName("struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandList4")]
[NativeInheritance("ID3D12GraphicsCommandList4")]
-public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandList5.Interface
+public unsafe partial struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandList5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs
index af65dfa796..1758709b61 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList6.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C3827890-E548-4CFA-96CF-5689A9370F80")]
[NativeTypeName("struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandList5")]
[NativeInheritance("ID3D12GraphicsCommandList5")]
-public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandList6.Interface
+public unsafe partial struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandList6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap.cs
index daa4335de2..ea370dd2ce 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6B3B2502-6E51-45B3-90EE-9884265E8DF3")]
[NativeTypeName("struct ID3D12Heap : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12Heap : ID3D12Heap.Interface
+public unsafe partial struct ID3D12Heap : ID3D12Heap.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Heap));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap1.cs
index fa93ae42b9..38a0a5b174 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Heap1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("572F7389-2168-49E3-9693-D6DF5871BF6D")]
[NativeTypeName("struct ID3D12Heap1 : ID3D12Heap")]
[NativeInheritance("ID3D12Heap")]
-public unsafe partial struct ID3D12Heap1 : ID3D12Heap1.Interface
+public unsafe partial struct ID3D12Heap1 : ID3D12Heap1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Heap1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12LifetimeOwner.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12LifetimeOwner.cs
index e0eb1d0f67..8ca2077e7b 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12LifetimeOwner.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12LifetimeOwner.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("E667AF9F-CD56-4F46-83CE-032E595D70A8")]
[NativeTypeName("struct ID3D12LifetimeOwner : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12LifetimeOwner : ID3D12LifetimeOwner.Interface
+public unsafe partial struct ID3D12LifetimeOwner : ID3D12LifetimeOwner.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12LifetimeOwner));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12LifetimeTracker.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12LifetimeTracker.cs
index 088f74402d..7e8543d6da 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12LifetimeTracker.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12LifetimeTracker.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3FD03D36-4EB1-424A-A582-494ECB8BA813")]
[NativeTypeName("struct ID3D12LifetimeTracker : ID3D12DeviceChild")]
[NativeInheritance("ID3D12DeviceChild")]
-public unsafe partial struct ID3D12LifetimeTracker : ID3D12LifetimeTracker.Interface
+public unsafe partial struct ID3D12LifetimeTracker : ID3D12LifetimeTracker.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12LifetimeTracker));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12MetaCommand.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12MetaCommand.cs
index 66c5078080..8c0245f666 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12MetaCommand.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12MetaCommand.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DBB84C27-36CE-4FC9-B801-F048C46AC570")]
[NativeTypeName("struct ID3D12MetaCommand : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12MetaCommand : ID3D12MetaCommand.Interface
+public unsafe partial struct ID3D12MetaCommand : ID3D12MetaCommand.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12MetaCommand));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Object.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Object.cs
index d4c374b01d..e7b9814070 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Object.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Object.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C4FEC28F-7966-4E95-9F94-F431CB56C3B8")]
[NativeTypeName("struct ID3D12Object : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12Object : ID3D12Object.Interface
+public unsafe partial struct ID3D12Object : ID3D12Object.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Object));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Pageable.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Pageable.cs
index 17f06293c2..9e444f8591 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Pageable.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Pageable.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("63EE58FB-1268-4835-86DA-F008CE62F0D6")]
[NativeTypeName("struct ID3D12Pageable : ID3D12DeviceChild")]
[NativeInheritance("ID3D12DeviceChild")]
-public unsafe partial struct ID3D12Pageable : ID3D12Pageable.Interface
+public unsafe partial struct ID3D12Pageable : ID3D12Pageable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Pageable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineLibrary.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineLibrary.cs
index aa0b1faa9c..811ab51d7c 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineLibrary.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineLibrary.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C64226A8-9201-46AF-B4CC-53FB9FF7414F")]
[NativeTypeName("struct ID3D12PipelineLibrary : ID3D12DeviceChild")]
[NativeInheritance("ID3D12DeviceChild")]
-public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Interface
+public unsafe partial struct ID3D12PipelineLibrary : ID3D12PipelineLibrary.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12PipelineLibrary));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineLibrary1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineLibrary1.cs
index 4859dd3f6f..18dee3f921 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineLibrary1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineLibrary1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("80EABF42-2568-4E5E-BD82-C37F86961DC3")]
[NativeTypeName("struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary")]
[NativeInheritance("ID3D12PipelineLibrary")]
-public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Interface
+public unsafe partial struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12PipelineLibrary1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineState.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineState.cs
index d43680bf09..26aaebac01 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineState.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12PipelineState.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("765A30F3-F624-4C6F-A828-ACE948622445")]
[NativeTypeName("struct ID3D12PipelineState : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12PipelineState : ID3D12PipelineState.Interface
+public unsafe partial struct ID3D12PipelineState : ID3D12PipelineState.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12PipelineState));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession.cs
index 26656c9064..10116280e7 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12ProtectedResourceSession : ID3D12ProtectedSession")]
[NativeInheritance("ID3D12ProtectedSession")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedResourceSession.Interface
+public unsafe partial struct ID3D12ProtectedResourceSession : ID3D12ProtectedResourceSession.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ProtectedResourceSession));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession1.cs
index 6dff37eb77..06c07c86b9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedResourceSession1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("D6F12DD6-76FB-406E-8961-4296EEFC0409")]
[NativeTypeName("struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedResourceSession")]
[NativeInheritance("ID3D12ProtectedResourceSession")]
-public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedResourceSession1.Interface
+public unsafe partial struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedResourceSession1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ProtectedResourceSession1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedSession.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedSession.cs
index cb7a2c40a9..8b06d84fa1 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedSession.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ProtectedSession.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12ProtectedSession : ID3D12DeviceChild")]
[NativeInheritance("ID3D12DeviceChild")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct ID3D12ProtectedSession : ID3D12ProtectedSession.Interface
+public unsafe partial struct ID3D12ProtectedSession : ID3D12ProtectedSession.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ProtectedSession));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12QueryHeap.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12QueryHeap.cs
index 8e7eb1edaf..059f0db7d7 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12QueryHeap.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12QueryHeap.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0D9658AE-ED45-469E-A61D-970EC583CAB4")]
[NativeTypeName("struct ID3D12QueryHeap : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12QueryHeap : ID3D12QueryHeap.Interface
+public unsafe partial struct ID3D12QueryHeap : ID3D12QueryHeap.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12QueryHeap));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource.cs
index 4698f3f59f..fad444c4a2 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("696442BE-A72E-4059-BC79-5B5C98040FAD")]
[NativeTypeName("struct ID3D12Resource : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface
+public unsafe partial struct ID3D12Resource : ID3D12Resource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Resource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource1.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource1.cs
index 5880a9c05a..2dff2f4bc6 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9D5E227A-4430-4161-88B3-3ECA6BB16E19")]
[NativeTypeName("struct ID3D12Resource1 : ID3D12Resource")]
[NativeInheritance("ID3D12Resource")]
-public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface
+public unsafe partial struct ID3D12Resource1 : ID3D12Resource1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Resource1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource2.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource2.cs
index d85a35faf5..f915015202 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Resource2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("BE36EC3B-EA85-4AEB-A45A-E9D76404A495")]
[NativeTypeName("struct ID3D12Resource2 : ID3D12Resource1")]
[NativeInheritance("ID3D12Resource1")]
-public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface
+public unsafe partial struct ID3D12Resource2 : ID3D12Resource2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Resource2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignature.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignature.cs
index 532d0a8024..332655c8c9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignature.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignature.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C54A6B66-72DF-4EE8-8BE5-A946A1429214")]
[NativeTypeName("struct ID3D12RootSignature : ID3D12DeviceChild")]
[NativeInheritance("ID3D12DeviceChild")]
-public unsafe partial struct ID3D12RootSignature : ID3D12RootSignature.Interface
+public unsafe partial struct ID3D12RootSignature : ID3D12RootSignature.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12RootSignature));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignatureDeserializer.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignatureDeserializer.cs
index 8c6c271284..d84236ec04 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignatureDeserializer.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12RootSignatureDeserializer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("34AB647B-3CC8-46AC-841B-C0965645C046")]
[NativeTypeName("struct ID3D12RootSignatureDeserializer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12RootSignatureDeserializer : ID3D12RootSignatureDeserializer.Interface
+public unsafe partial struct ID3D12RootSignatureDeserializer : ID3D12RootSignatureDeserializer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12RootSignatureDeserializer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12SDKConfiguration.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12SDKConfiguration.cs
index a68ae77807..10ad1b285f 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12SDKConfiguration.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12SDKConfiguration.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("E9EB5314-33AA-42B2-A718-D77F58B1F1C7")]
[NativeTypeName("struct ID3D12SDKConfiguration : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12SDKConfiguration : ID3D12SDKConfiguration.Interface
+public unsafe partial struct ID3D12SDKConfiguration : ID3D12SDKConfiguration.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12SDKConfiguration));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ShaderCacheSession.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ShaderCacheSession.cs
index e6179831f3..0ea6d183b9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ShaderCacheSession.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12ShaderCacheSession.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("28E2495D-0F64-4AE4-A6EC-129255DC49A8")]
[NativeTypeName("struct ID3D12ShaderCacheSession : ID3D12DeviceChild")]
[NativeInheritance("ID3D12DeviceChild")]
-public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession.Interface
+public unsafe partial struct ID3D12ShaderCacheSession : ID3D12ShaderCacheSession.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderCacheSession));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12StateObject.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12StateObject.cs
index 867655d935..5024d41ca8 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12StateObject.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12StateObject.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("47016943-FCA8-4594-93EA-AF258B55346D")]
[NativeTypeName("struct ID3D12StateObject : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12StateObject : ID3D12StateObject.Interface
+public unsafe partial struct ID3D12StateObject : ID3D12StateObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12StateObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12StateObjectProperties.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12StateObjectProperties.cs
index c248b26d04..adebd1096d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12StateObjectProperties.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12StateObjectProperties.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DE5FA827-9BF9-4F26-89FF-D7F56FDE3860")]
[NativeTypeName("struct ID3D12StateObjectProperties : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12StateObjectProperties : ID3D12StateObjectProperties.Interface
+public unsafe partial struct ID3D12StateObjectProperties : ID3D12StateObjectProperties.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12StateObjectProperties));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12SwapChainAssistant.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12SwapChainAssistant.cs
index 46d9523da8..8fcfaeba02 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12SwapChainAssistant.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12SwapChainAssistant.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("F1DF64B6-57FD-49CD-8807-C0EB88B45C8F")]
[NativeTypeName("struct ID3D12SwapChainAssistant : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12SwapChainAssistant : ID3D12SwapChainAssistant.Interface
+public unsafe partial struct ID3D12SwapChainAssistant : ID3D12SwapChainAssistant.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12SwapChainAssistant));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Tools.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Tools.cs
index 87e936ecec..a319c0c19e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Tools.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12Tools.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7071E1F0-E84B-4B33-974F-12FA49DE65C5")]
[NativeTypeName("struct ID3D12Tools : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12Tools : ID3D12Tools.Interface
+public unsafe partial struct ID3D12Tools : ID3D12Tools.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Tools));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12VersionedRootSignatureDeserializer.cs b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12VersionedRootSignatureDeserializer.cs
index 9690b9956f..a52dfe78e2 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12/ID3D12VersionedRootSignatureDeserializer.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12/ID3D12VersionedRootSignatureDeserializer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7F91CE67-090C-4BB7-B78E-ED8FF2E31DA0")]
[NativeTypeName("struct ID3D12VersionedRootSignatureDeserializer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12VersionedRootSignatureDeserializer : ID3D12VersionedRootSignatureDeserializer.Interface
+public unsafe partial struct ID3D12VersionedRootSignatureDeserializer : ID3D12VersionedRootSignatureDeserializer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VersionedRootSignatureDeserializer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs
index c5379576f2..839b98361c 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("344488B7-6846-474B-B989-F027448245E0")]
[NativeTypeName("struct ID3D12Debug : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12Debug : ID3D12Debug.Interface
+public unsafe partial struct ID3D12Debug : ID3D12Debug.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs
index 24e5c59f49..a0d3c2394f 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("AFFAA4CA-63FE-4D8E-B8AD-159000AF4304")]
[NativeTypeName("struct ID3D12Debug1 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12Debug1 : ID3D12Debug1.Interface
+public unsafe partial struct ID3D12Debug1 : ID3D12Debug1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug2.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug2.cs
index 6c86b06dff..a1ceb27f77 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("93A665C4-A3B2-4E5D-B692-A26AE14E3374")]
[NativeTypeName("struct ID3D12Debug2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12Debug2 : ID3D12Debug2.Interface
+public unsafe partial struct ID3D12Debug2 : ID3D12Debug2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug3.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug3.cs
index 77116a9d30..9202418195 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug3.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("5CF4E58F-F671-4FF1-A542-3686E3D153D1")]
[NativeTypeName("struct ID3D12Debug3 : ID3D12Debug")]
[NativeInheritance("ID3D12Debug")]
-public unsafe partial struct ID3D12Debug3 : ID3D12Debug3.Interface
+public unsafe partial struct ID3D12Debug3 : ID3D12Debug3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug4.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug4.cs
index e716d20f35..87023ad408 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug4.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("014B816E-9EC5-4A2F-A845-FFBE441CE13A")]
[NativeTypeName("struct ID3D12Debug4 : ID3D12Debug3")]
[NativeInheritance("ID3D12Debug3")]
-public unsafe partial struct ID3D12Debug4 : ID3D12Debug4.Interface
+public unsafe partial struct ID3D12Debug4 : ID3D12Debug4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug5.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug5.cs
index b97f5106fd..1cc565b135 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug5.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12Debug5.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("548D6B12-09FA-40E0-9069-5DCD589A52C9")]
[NativeTypeName("struct ID3D12Debug5 : ID3D12Debug4")]
[NativeInheritance("ID3D12Debug4")]
-public unsafe partial struct ID3D12Debug5 : ID3D12Debug5.Interface
+public unsafe partial struct ID3D12Debug5 : ID3D12Debug5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList.cs
index 1c0a2dd04b..07a5344405 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("09E0BF36-54AC-484F-8847-4BAEEAB6053F")]
[NativeTypeName("struct ID3D12DebugCommandList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12DebugCommandList : ID3D12DebugCommandList.Interface
+public unsafe partial struct ID3D12DebugCommandList : ID3D12DebugCommandList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList1.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList1.cs
index d2f2ca7f7b..4b7ff9f30f 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("102CA951-311B-4B01-B11F-ECB83E061B37")]
[NativeTypeName("struct ID3D12DebugCommandList1 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12DebugCommandList1 : ID3D12DebugCommandList1.Interface
+public unsafe partial struct ID3D12DebugCommandList1 : ID3D12DebugCommandList1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandList1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList2.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList2.cs
index 818097a1b0..fe2221b217 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandList2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("AEB575CF-4E06-48BE-BA3B-C450FC96652E")]
[NativeTypeName("struct ID3D12DebugCommandList2 : ID3D12DebugCommandList")]
[NativeInheritance("ID3D12DebugCommandList")]
-public unsafe partial struct ID3D12DebugCommandList2 : ID3D12DebugCommandList2.Interface
+public unsafe partial struct ID3D12DebugCommandList2 : ID3D12DebugCommandList2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandList2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandQueue.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandQueue.cs
index c1960fece0..69de9b23d7 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandQueue.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugCommandQueue.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("09E0BF36-54AC-484F-8847-4BAEEAB6053A")]
[NativeTypeName("struct ID3D12DebugCommandQueue : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12DebugCommandQueue : ID3D12DebugCommandQueue.Interface
+public unsafe partial struct ID3D12DebugCommandQueue : ID3D12DebugCommandQueue.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandQueue));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice.cs
index a125e53323..66845a989e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3FEBD6DD-4973-4787-8194-E45F9E28923E")]
[NativeTypeName("struct ID3D12DebugDevice : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12DebugDevice : ID3D12DebugDevice.Interface
+public unsafe partial struct ID3D12DebugDevice : ID3D12DebugDevice.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugDevice));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice1.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice1.cs
index 1633f8ed63..9d6a30b715 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A9B71770-D099-4A65-A698-3DEE10020F88")]
[NativeTypeName("struct ID3D12DebugDevice1 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12DebugDevice1 : ID3D12DebugDevice1.Interface
+public unsafe partial struct ID3D12DebugDevice1 : ID3D12DebugDevice1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugDevice1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice2.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice2.cs
index 2aee260302..f1b3f2c967 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12DebugDevice2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("60ECCBC1-378D-4DF1-894C-F8AC5CE4D7DD")]
[NativeTypeName("struct ID3D12DebugDevice2 : ID3D12DebugDevice")]
[NativeInheritance("ID3D12DebugDevice")]
-public unsafe partial struct ID3D12DebugDevice2 : ID3D12DebugDevice2.Interface
+public unsafe partial struct ID3D12DebugDevice2 : ID3D12DebugDevice2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugDevice2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs
index bf79eb31e2..8df3c7bec5 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0742A90B-C387-483F-B946-30A7E4E61458")]
[NativeTypeName("struct ID3D12InfoQueue : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface
+public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12InfoQueue));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue1.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue1.cs
index 9f433f5883..f7bde35b21 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2852DD88-B484-4C0C-B6B1-67168500E600")]
[NativeTypeName("struct ID3D12InfoQueue1 : ID3D12InfoQueue")]
[NativeInheritance("ID3D12InfoQueue")]
-public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface
+public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12InfoQueue1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12SharingContract.cs b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12SharingContract.cs
index 4eb904f990..36be916c9e 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12SharingContract.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12sdklayers/ID3D12SharingContract.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0ADF7D52-929C-4E61-ADDB-FFED30DE66EF")]
[NativeTypeName("struct ID3D12SharingContract : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12SharingContract : ID3D12SharingContract.Interface
+public unsafe partial struct ID3D12SharingContract : ID3D12SharingContract.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12SharingContract));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionParameterReflection.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionParameterReflection.cs
index de5a84fe03..9e39cf5be5 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionParameterReflection.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionParameterReflection.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d12shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("EC25F42D-7006-4F2B-B33E-02CC3375733F")]
-public unsafe partial struct ID3D12FunctionParameterReflection : ID3D12FunctionParameterReflection.Interface
+public unsafe partial struct ID3D12FunctionParameterReflection : ID3D12FunctionParameterReflection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12FunctionParameterReflection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionReflection.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionReflection.cs
index 74a29ab3ce..aa60864a63 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionReflection.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12FunctionReflection.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d12shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("1108795C-2772-4BA9-B2A8-D464DC7E2799")]
-public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection.Interface
+public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12FunctionReflection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12LibraryReflection.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12LibraryReflection.cs
index 488e07d94e..cd48e04bab 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12LibraryReflection.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12LibraryReflection.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("8E349D19-54DB-4A56-9DC9-119D87BDB804")]
[NativeTypeName("struct ID3D12LibraryReflection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12LibraryReflection : ID3D12LibraryReflection.Interface
+public unsafe partial struct ID3D12LibraryReflection : ID3D12LibraryReflection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12LibraryReflection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs
index 901affc681..c47e0387e4 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("5A58797D-A72C-478D-8BA2-EFC6B0EFE88E")]
[NativeTypeName("struct ID3D12ShaderReflection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Interface
+public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs
index efa09b8693..889f4e12bc 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d12shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("C59598B4-48B3-4869-B9B1-B1618B14A8B7")]
-public unsafe partial struct ID3D12ShaderReflectionConstantBuffer : ID3D12ShaderReflectionConstantBuffer.Interface
+public unsafe partial struct ID3D12ShaderReflectionConstantBuffer : ID3D12ShaderReflectionConstantBuffer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflectionConstantBuffer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs
index c6d0fac09e..f97d5ad37c 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d12shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("E913C351-783D-48CA-A1D1-4F306284AD56")]
-public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflectionType.Interface
+public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflectionType.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflectionType));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs
index 662d9d0ecd..f3c8571426 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs
@@ -3,16 +3,20 @@
// Ported from um/d3d12shader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
///
[Guid("8337A8A6-A216-444A-B2F4-314733A73AEA")]
-public unsafe partial struct ID3D12ShaderReflectionVariable : ID3D12ShaderReflectionVariable.Interface
+public unsafe partial struct ID3D12ShaderReflectionVariable : ID3D12ShaderReflectionVariable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflectionVariable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT.cs
index 5309586962..8390e80c00 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -94,6 +95,7 @@ public partial struct _FilterRangeSupport_e__FixedBuffer
public D3D12_VIDEO_PROCESS_FILTER_RANGE e30;
public D3D12_VIDEO_PROCESS_FILTER_RANGE e31;
+ [UnscopedRef]
public ref D3D12_VIDEO_PROCESS_FILTER_RANGE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -104,6 +106,7 @@ public ref D3D12_VIDEO_PROCESS_FILTER_RANGE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 32);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS.cs
index dcad951558..b3f5818f50 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -42,6 +43,7 @@ public partial struct _FrameArguments_e__FixedBuffer
public D3D12_VIDEO_DECODE_FRAME_ARGUMENT e8;
public D3D12_VIDEO_DECODE_FRAME_ARGUMENT e9;
+ [UnscopedRef]
public ref D3D12_VIDEO_DECODE_FRAME_ARGUMENT this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -52,6 +54,7 @@ public ref D3D12_VIDEO_DECODE_FRAME_ARGUMENT this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 10);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1.cs
index 34e52aef70..d1d920ead9 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -33,6 +34,7 @@ public partial struct _Histograms_e__FixedBuffer
public D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM e2;
public D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM e3;
+ [UnscopedRef]
public ref D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -43,6 +45,7 @@ public ref D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 4);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS.cs
index 1d7e54b481..7b2fc8a968 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -38,6 +39,7 @@ public partial struct _InputStream_e__FixedBuffer
public D3D12_VIDEO_PROCESS_INPUT_STREAM e0;
public D3D12_VIDEO_PROCESS_INPUT_STREAM e1;
+ [UnscopedRef]
public ref D3D12_VIDEO_PROCESS_INPUT_STREAM this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -48,6 +50,7 @@ public ref D3D12_VIDEO_PROCESS_INPUT_STREAM this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 2);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1.cs
index 0fd6a8d31c..aad3752279 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS1.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -41,6 +42,7 @@ public partial struct _InputStream_e__FixedBuffer
public D3D12_VIDEO_PROCESS_INPUT_STREAM e0;
public D3D12_VIDEO_PROCESS_INPUT_STREAM e1;
+ [UnscopedRef]
public ref D3D12_VIDEO_PROCESS_INPUT_STREAM this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -51,6 +53,7 @@ public ref D3D12_VIDEO_PROCESS_INPUT_STREAM this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 2);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS.cs b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS.cs
index 871d10d4d1..647ff920dc 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTS.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
@@ -27,6 +28,7 @@ public partial struct _OutputStream_e__FixedBuffer
public D3D12_VIDEO_PROCESS_OUTPUT_STREAM e0;
public D3D12_VIDEO_PROCESS_OUTPUT_STREAM e1;
+ [UnscopedRef]
public ref D3D12_VIDEO_PROCESS_OUTPUT_STREAM this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -37,6 +39,7 @@ public ref D3D12_VIDEO_PROCESS_OUTPUT_STREAM this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 2);
}
}
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList.cs
index 38a1411f3e..bc3342fbd2 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3B60536E-AD29-4E64-A269-F853837E5E53")]
[NativeTypeName("struct ID3D12VideoDecodeCommandList : ID3D12CommandList")]
[NativeInheritance("ID3D12CommandList")]
-public unsafe partial struct ID3D12VideoDecodeCommandList : ID3D12VideoDecodeCommandList.Interface
+public unsafe partial struct ID3D12VideoDecodeCommandList : ID3D12VideoDecodeCommandList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoDecodeCommandList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList1.cs
index 9b4fb1c386..1f36072350 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("D52F011B-B56E-453C-A05A-A7F311C8F472")]
[NativeTypeName("struct ID3D12VideoDecodeCommandList1 : ID3D12VideoDecodeCommandList")]
[NativeInheritance("ID3D12VideoDecodeCommandList")]
-public unsafe partial struct ID3D12VideoDecodeCommandList1 : ID3D12VideoDecodeCommandList1.Interface
+public unsafe partial struct ID3D12VideoDecodeCommandList1 : ID3D12VideoDecodeCommandList1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoDecodeCommandList1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList2.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList2.cs
index 25837d3586..f806f963b5 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecodeCommandList2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12VideoDecodeCommandList2 : ID3D12VideoDecodeCommandList1")]
[NativeInheritance("ID3D12VideoDecodeCommandList1")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct ID3D12VideoDecodeCommandList2 : ID3D12VideoDecodeCommandList2.Interface
+public unsafe partial struct ID3D12VideoDecodeCommandList2 : ID3D12VideoDecodeCommandList2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoDecodeCommandList2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoder.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoder.cs
index dd9a88f14b..781d2b4e92 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoder.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoder.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C59B6BDC-7720-4074-A136-17A156037470")]
[NativeTypeName("struct ID3D12VideoDecoder : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12VideoDecoder : ID3D12VideoDecoder.Interface
+public unsafe partial struct ID3D12VideoDecoder : ID3D12VideoDecoder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoDecoder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoder1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoder1.cs
index d8858fc7d2..9d0402c713 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoder1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoder1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12VideoDecoder1 : ID3D12VideoDecoder")]
[NativeInheritance("ID3D12VideoDecoder")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct ID3D12VideoDecoder1 : ID3D12VideoDecoder1.Interface
+public unsafe partial struct ID3D12VideoDecoder1 : ID3D12VideoDecoder1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoDecoder1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoderHeap.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoderHeap.cs
index 05b16ef1ee..e2c46ec5d0 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoderHeap.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoderHeap.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0946B7C9-EBF6-4047-BB73-8683E27DBB1F")]
[NativeTypeName("struct ID3D12VideoDecoderHeap : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12VideoDecoderHeap : ID3D12VideoDecoderHeap.Interface
+public unsafe partial struct ID3D12VideoDecoderHeap : ID3D12VideoDecoderHeap.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoDecoderHeap));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoderHeap1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoderHeap1.cs
index 05f672b283..4c48516db1 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoderHeap1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDecoderHeap1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DA1D98C5-539F-41B2-BF6B-1198A03B6D26")]
[NativeTypeName("struct ID3D12VideoDecoderHeap1 : ID3D12VideoDecoderHeap")]
[NativeInheritance("ID3D12VideoDecoderHeap")]
-public unsafe partial struct ID3D12VideoDecoderHeap1 : ID3D12VideoDecoderHeap1.Interface
+public unsafe partial struct ID3D12VideoDecoderHeap1 : ID3D12VideoDecoderHeap1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoDecoderHeap1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice.cs
index 0b32feb74c..495d4afb25 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1F052807-0B46-4ACC-8A89-364F793718A4")]
[NativeTypeName("struct ID3D12VideoDevice : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3D12VideoDevice : ID3D12VideoDevice.Interface
+public unsafe partial struct ID3D12VideoDevice : ID3D12VideoDevice.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoDevice));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice1.cs
index 9e0935fffd..ff63052e40 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("981611AD-A144-4C83-9890-F30E26D658AB")]
[NativeTypeName("struct ID3D12VideoDevice1 : ID3D12VideoDevice")]
[NativeInheritance("ID3D12VideoDevice")]
-public unsafe partial struct ID3D12VideoDevice1 : ID3D12VideoDevice1.Interface
+public unsafe partial struct ID3D12VideoDevice1 : ID3D12VideoDevice1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoDevice1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice2.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice2.cs
index 626b5d16a7..8d05fc7be5 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoDevice2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("F019AC49-F838-4A95-9B17-579437C8F513")]
[NativeTypeName("struct ID3D12VideoDevice2 : ID3D12VideoDevice1")]
[NativeInheritance("ID3D12VideoDevice1")]
-public unsafe partial struct ID3D12VideoDevice2 : ID3D12VideoDevice2.Interface
+public unsafe partial struct ID3D12VideoDevice2 : ID3D12VideoDevice2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoDevice2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList.cs
index bc4a821ce2..58f2206600 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12VideoEncodeCommandList : ID3D12CommandList")]
[NativeInheritance("ID3D12CommandList")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct ID3D12VideoEncodeCommandList : ID3D12VideoEncodeCommandList.Interface
+public unsafe partial struct ID3D12VideoEncodeCommandList : ID3D12VideoEncodeCommandList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoEncodeCommandList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList1.cs
index 899f8a6488..2546efca4f 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoEncodeCommandList1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("94971ECA-2BDB-4769-88CF-3675EA757EBC")]
[NativeTypeName("struct ID3D12VideoEncodeCommandList1 : ID3D12VideoEncodeCommandList")]
[NativeInheritance("ID3D12VideoEncodeCommandList")]
-public unsafe partial struct ID3D12VideoEncodeCommandList1 : ID3D12VideoEncodeCommandList1.Interface
+public unsafe partial struct ID3D12VideoEncodeCommandList1 : ID3D12VideoEncodeCommandList1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoEncodeCommandList1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoExtensionCommand.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoExtensionCommand.cs
index 0482cca21e..786dd87566 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoExtensionCommand.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoExtensionCommand.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12VideoExtensionCommand : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct ID3D12VideoExtensionCommand : ID3D12VideoExtensionCommand.Interface
+public unsafe partial struct ID3D12VideoExtensionCommand : ID3D12VideoExtensionCommand.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoExtensionCommand));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoMotionEstimator.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoMotionEstimator.cs
index ab58d78b69..40c1e0849d 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoMotionEstimator.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoMotionEstimator.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12VideoMotionEstimator : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct ID3D12VideoMotionEstimator : ID3D12VideoMotionEstimator.Interface
+public unsafe partial struct ID3D12VideoMotionEstimator : ID3D12VideoMotionEstimator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoMotionEstimator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoMotionVectorHeap.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoMotionVectorHeap.cs
index 57ae0cdd64..2b81611c6f 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoMotionVectorHeap.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoMotionVectorHeap.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12VideoMotionVectorHeap : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct ID3D12VideoMotionVectorHeap : ID3D12VideoMotionVectorHeap.Interface
+public unsafe partial struct ID3D12VideoMotionVectorHeap : ID3D12VideoMotionVectorHeap.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoMotionVectorHeap));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList.cs
index 721437de9e..02cbac14a6 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("AEB2543A-167F-4682-ACC8-D159ED4A6209")]
[NativeTypeName("struct ID3D12VideoProcessCommandList : ID3D12CommandList")]
[NativeInheritance("ID3D12CommandList")]
-public unsafe partial struct ID3D12VideoProcessCommandList : ID3D12VideoProcessCommandList.Interface
+public unsafe partial struct ID3D12VideoProcessCommandList : ID3D12VideoProcessCommandList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoProcessCommandList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList1.cs
index b9b923f393..b3ea8954e0 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("542C5C4D-7596-434F-8C93-4EFA6766F267")]
[NativeTypeName("struct ID3D12VideoProcessCommandList1 : ID3D12VideoProcessCommandList")]
[NativeInheritance("ID3D12VideoProcessCommandList")]
-public unsafe partial struct ID3D12VideoProcessCommandList1 : ID3D12VideoProcessCommandList1.Interface
+public unsafe partial struct ID3D12VideoProcessCommandList1 : ID3D12VideoProcessCommandList1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoProcessCommandList1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList2.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList2.cs
index b9d9550537..29852a857a 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList2.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessCommandList2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct ID3D12VideoProcessCommandList2 : ID3D12VideoProcessCommandList1")]
[NativeInheritance("ID3D12VideoProcessCommandList1")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct ID3D12VideoProcessCommandList2 : ID3D12VideoProcessCommandList2.Interface
+public unsafe partial struct ID3D12VideoProcessCommandList2 : ID3D12VideoProcessCommandList2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoProcessCommandList2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessor.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessor.cs
index 59340e37b0..5a669052bd 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessor.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessor.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("304FDB32-BEDE-410A-8545-943AC6A46138")]
[NativeTypeName("struct ID3D12VideoProcessor : ID3D12Pageable")]
[NativeInheritance("ID3D12Pageable")]
-public unsafe partial struct ID3D12VideoProcessor : ID3D12VideoProcessor.Interface
+public unsafe partial struct ID3D12VideoProcessor : ID3D12VideoProcessor.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoProcessor));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessor1.cs b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessor1.cs
index a66ebe6954..d51371e95f 100644
--- a/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessor1.cs
+++ b/sources/Interop/Windows/DirectX/um/d3d12video/ID3D12VideoProcessor1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("F3CFE615-553F-425C-86D8-EE8C1B1FB01C")]
[NativeTypeName("struct ID3D12VideoProcessor1 : ID3D12VideoProcessor")]
[NativeInheritance("ID3D12VideoProcessor")]
-public unsafe partial struct ID3D12VideoProcessor1 : ID3D12VideoProcessor1.Interface
+public unsafe partial struct ID3D12VideoProcessor1 : ID3D12VideoProcessor1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VideoProcessor1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3dcommon/ID3DBlob.cs b/sources/Interop/Windows/DirectX/um/d3dcommon/ID3DBlob.cs
index b32379da28..e327e587b3 100644
--- a/sources/Interop/Windows/DirectX/um/d3dcommon/ID3DBlob.cs
+++ b/sources/Interop/Windows/DirectX/um/d3dcommon/ID3DBlob.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("8BA5FB08-5195-40E2-AC58-0D989C3A0102")]
[NativeTypeName("struct ID3D10Blob : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3DBlob : ID3DBlob.Interface
+public unsafe partial struct ID3DBlob : ID3DBlob.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D10Blob));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3dcommon/ID3DDestructionNotifier.cs b/sources/Interop/Windows/DirectX/um/d3dcommon/ID3DDestructionNotifier.cs
index 631905e455..5e0b15bbfb 100644
--- a/sources/Interop/Windows/DirectX/um/d3dcommon/ID3DDestructionNotifier.cs
+++ b/sources/Interop/Windows/DirectX/um/d3dcommon/ID3DDestructionNotifier.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A06EB39A-50DA-425B-8C31-4EECD6C270F3")]
[NativeTypeName("struct ID3DDestructionNotifier : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ID3DDestructionNotifier : ID3DDestructionNotifier.Interface
+public unsafe partial struct ID3DDestructionNotifier : ID3DDestructionNotifier.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3DDestructionNotifier));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/d3dcompiler/D3DCOMPILER.cs b/sources/Interop/Windows/DirectX/um/d3dcompiler/D3DCOMPILER.cs
index da2faa4296..3cf4242d61 100644
--- a/sources/Interop/Windows/DirectX/um/d3dcompiler/D3DCOMPILER.cs
+++ b/sources/Interop/Windows/DirectX/um/d3dcompiler/D3DCOMPILER.cs
@@ -13,7 +13,7 @@ public static partial class D3DCOMPILER
public const string D3DCOMPILER_DLL_W = "d3dcompiler_47.dll";
[NativeTypeName("#define D3DCOMPILER_DLL_A \"d3dcompiler_47.dll\"")]
- public static ReadOnlySpan D3DCOMPILER_DLL_A => new byte[] { 0x64, 0x33, 0x64, 0x63, 0x6F, 0x6D, 0x70, 0x69, 0x6C, 0x65, 0x72, 0x5F, 0x34, 0x37, 0x2E, 0x64, 0x6C, 0x6C, 0x00 };
+ public static ReadOnlySpan D3DCOMPILER_DLL_A => "d3dcompiler_47.dll"u8;
[NativeTypeName("#define D3DCOMPILER_DLL D3DCOMPILER_DLL_W")]
public const string D3DCOMPILER_DLL = "d3dcompiler_47.dll";
diff --git a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_3X2_F.cs b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_3X2_F.cs
index bc56d67b03..7b9ba994ae 100644
--- a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_3X2_F.cs
+++ b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_3X2_F.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -17,126 +18,139 @@ public unsafe partial struct D2D_MATRIX_3X2_F
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref float m11
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous1.m11, 1));
+ return ref Anonymous.Anonymous1.m11;
}
}
///
+ [UnscopedRef]
public ref float m12
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous1.m12, 1));
+ return ref Anonymous.Anonymous1.m12;
}
}
///
+ [UnscopedRef]
public ref float m21
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous1.m21, 1));
+ return ref Anonymous.Anonymous1.m21;
}
}
///
+ [UnscopedRef]
public ref float m22
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous1.m22, 1));
+ return ref Anonymous.Anonymous1.m22;
}
}
///
+ [UnscopedRef]
public ref float dx
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous1.dx, 1));
+ return ref Anonymous.Anonymous1.dx;
}
}
///
+ [UnscopedRef]
public ref float dy
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous1.dy, 1));
+ return ref Anonymous.Anonymous1.dy;
}
}
///
+ [UnscopedRef]
public ref float _11
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous2._11, 1));
+ return ref Anonymous.Anonymous2._11;
}
}
///
+ [UnscopedRef]
public ref float _12
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous2._12, 1));
+ return ref Anonymous.Anonymous2._12;
}
}
///
+ [UnscopedRef]
public ref float _21
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous2._21, 1));
+ return ref Anonymous.Anonymous2._21;
}
}
///
+ [UnscopedRef]
public ref float _22
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous2._22, 1));
+ return ref Anonymous.Anonymous2._22;
}
}
///
+ [UnscopedRef]
public ref float _31
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous2._31, 1));
+ return ref Anonymous.Anonymous2._31;
}
}
///
+ [UnscopedRef]
public ref float _32
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous2._32, 1));
+ return ref Anonymous.Anonymous2._32;
}
}
///
+ [UnscopedRef]
public Span m
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
diff --git a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X3_F.cs b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X3_F.cs
index 51c66d513e..991e115d19 100644
--- a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X3_F.cs
+++ b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X3_F.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -17,126 +18,139 @@ public unsafe partial struct D2D_MATRIX_4X3_F
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref float _11
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._11, 1));
+ return ref Anonymous.Anonymous._11;
}
}
///
+ [UnscopedRef]
public ref float _12
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._12, 1));
+ return ref Anonymous.Anonymous._12;
}
}
///
+ [UnscopedRef]
public ref float _13
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._13, 1));
+ return ref Anonymous.Anonymous._13;
}
}
///
+ [UnscopedRef]
public ref float _21
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._21, 1));
+ return ref Anonymous.Anonymous._21;
}
}
///
+ [UnscopedRef]
public ref float _22
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._22, 1));
+ return ref Anonymous.Anonymous._22;
}
}
///
+ [UnscopedRef]
public ref float _23
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._23, 1));
+ return ref Anonymous.Anonymous._23;
}
}
///
+ [UnscopedRef]
public ref float _31
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._31, 1));
+ return ref Anonymous.Anonymous._31;
}
}
///
+ [UnscopedRef]
public ref float _32
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._32, 1));
+ return ref Anonymous.Anonymous._32;
}
}
///
+ [UnscopedRef]
public ref float _33
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._33, 1));
+ return ref Anonymous.Anonymous._33;
}
}
///
+ [UnscopedRef]
public ref float _41
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._41, 1));
+ return ref Anonymous.Anonymous._41;
}
}
///
+ [UnscopedRef]
public ref float _42
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._42, 1));
+ return ref Anonymous.Anonymous._42;
}
}
///
+ [UnscopedRef]
public ref float _43
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._43, 1));
+ return ref Anonymous.Anonymous._43;
}
}
///
+ [UnscopedRef]
public Span m
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
diff --git a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X4_F.cs b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X4_F.cs
index e61e08e4c6..ccc5c5b41d 100644
--- a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X4_F.cs
+++ b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_4X4_F.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -17,166 +18,183 @@ public unsafe partial struct D2D_MATRIX_4X4_F
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref float _11
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._11, 1));
+ return ref Anonymous.Anonymous._11;
}
}
///
+ [UnscopedRef]
public ref float _12
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._12, 1));
+ return ref Anonymous.Anonymous._12;
}
}
///
+ [UnscopedRef]
public ref float _13
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._13, 1));
+ return ref Anonymous.Anonymous._13;
}
}
///
+ [UnscopedRef]
public ref float _14
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._14, 1));
+ return ref Anonymous.Anonymous._14;
}
}
///
+ [UnscopedRef]
public ref float _21
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._21, 1));
+ return ref Anonymous.Anonymous._21;
}
}
///
+ [UnscopedRef]
public ref float _22
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._22, 1));
+ return ref Anonymous.Anonymous._22;
}
}
///
+ [UnscopedRef]
public ref float _23
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._23, 1));
+ return ref Anonymous.Anonymous._23;
}
}
///
+ [UnscopedRef]
public ref float _24
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._24, 1));
+ return ref Anonymous.Anonymous._24;
}
}
///
+ [UnscopedRef]
public ref float _31
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._31, 1));
+ return ref Anonymous.Anonymous._31;
}
}
///
+ [UnscopedRef]
public ref float _32
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._32, 1));
+ return ref Anonymous.Anonymous._32;
}
}
///
+ [UnscopedRef]
public ref float _33
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._33, 1));
+ return ref Anonymous.Anonymous._33;
}
}
///
+ [UnscopedRef]
public ref float _34
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._34, 1));
+ return ref Anonymous.Anonymous._34;
}
}
///
+ [UnscopedRef]
public ref float _41
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._41, 1));
+ return ref Anonymous.Anonymous._41;
}
}
///
+ [UnscopedRef]
public ref float _42
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._42, 1));
+ return ref Anonymous.Anonymous._42;
}
}
///
+ [UnscopedRef]
public ref float _43
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._43, 1));
+ return ref Anonymous.Anonymous._43;
}
}
///
+ [UnscopedRef]
public ref float _44
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._44, 1));
+ return ref Anonymous.Anonymous._44;
}
}
///
+ [UnscopedRef]
public Span m
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
diff --git a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_5X4_F.cs b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_5X4_F.cs
index 20064bc699..845bc54372 100644
--- a/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_5X4_F.cs
+++ b/sources/Interop/Windows/DirectX/um/dcommon/D2D_MATRIX_5X4_F.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -17,206 +18,227 @@ public unsafe partial struct D2D_MATRIX_5X4_F
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref float _11
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._11, 1));
+ return ref Anonymous.Anonymous._11;
}
}
///
+ [UnscopedRef]
public ref float _12
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._12, 1));
+ return ref Anonymous.Anonymous._12;
}
}
///
+ [UnscopedRef]
public ref float _13
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._13, 1));
+ return ref Anonymous.Anonymous._13;
}
}
///
+ [UnscopedRef]
public ref float _14
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._14, 1));
+ return ref Anonymous.Anonymous._14;
}
}
///
+ [UnscopedRef]
public ref float _21
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._21, 1));
+ return ref Anonymous.Anonymous._21;
}
}
///
+ [UnscopedRef]
public ref float _22
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._22, 1));
+ return ref Anonymous.Anonymous._22;
}
}
///
+ [UnscopedRef]
public ref float _23
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._23, 1));
+ return ref Anonymous.Anonymous._23;
}
}
///
+ [UnscopedRef]
public ref float _24
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._24, 1));
+ return ref Anonymous.Anonymous._24;
}
}
///
+ [UnscopedRef]
public ref float _31
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._31, 1));
+ return ref Anonymous.Anonymous._31;
}
}
///
+ [UnscopedRef]
public ref float _32
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._32, 1));
+ return ref Anonymous.Anonymous._32;
}
}
///
+ [UnscopedRef]
public ref float _33
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._33, 1));
+ return ref Anonymous.Anonymous._33;
}
}
///
+ [UnscopedRef]
public ref float _34
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._34, 1));
+ return ref Anonymous.Anonymous._34;
}
}
///
+ [UnscopedRef]
public ref float _41
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._41, 1));
+ return ref Anonymous.Anonymous._41;
}
}
///
+ [UnscopedRef]
public ref float _42
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._42, 1));
+ return ref Anonymous.Anonymous._42;
}
}
///
+ [UnscopedRef]
public ref float _43
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._43, 1));
+ return ref Anonymous.Anonymous._43;
}
}
///
+ [UnscopedRef]
public ref float _44
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._44, 1));
+ return ref Anonymous.Anonymous._44;
}
}
///
+ [UnscopedRef]
public ref float _51
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._51, 1));
+ return ref Anonymous.Anonymous._51;
}
}
///
+ [UnscopedRef]
public ref float _52
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._52, 1));
+ return ref Anonymous.Anonymous._52;
}
}
///
+ [UnscopedRef]
public ref float _53
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._53, 1));
+ return ref Anonymous.Anonymous._53;
}
}
///
+ [UnscopedRef]
public ref float _54
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous._54, 1));
+ return ref Anonymous.Anonymous._54;
}
}
///
+ [UnscopedRef]
public Span m
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionAffineTransform2DEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionAffineTransform2DEffect.cs
index d18c71d14a..be04cde02e 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionAffineTransform2DEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionAffineTransform2DEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0B74B9E8-CDD6-492F-BBBC-5ED32157026D")]
[NativeTypeName("struct IDCompositionAffineTransform2DEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionAffineTransform2DEffect : IDCompositionAffineTransform2DEffect.Interface
+public unsafe partial struct IDCompositionAffineTransform2DEffect : IDCompositionAffineTransform2DEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionAffineTransform2DEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionArithmeticCompositeEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionArithmeticCompositeEffect.cs
index 6fb13e1258..7247510395 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionArithmeticCompositeEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionArithmeticCompositeEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3B67DFA8-E3DD-4E61-B640-46C2F3D739DC")]
[NativeTypeName("struct IDCompositionArithmeticCompositeEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionArithmeticCompositeEffect : IDCompositionArithmeticCompositeEffect.Interface
+public unsafe partial struct IDCompositionArithmeticCompositeEffect : IDCompositionArithmeticCompositeEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionArithmeticCompositeEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionBlendEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionBlendEffect.cs
index e379101d23..99cfd023d9 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionBlendEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionBlendEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("33ECDC0A-578A-4A11-9C14-0CB90517F9C5")]
[NativeTypeName("struct IDCompositionBlendEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionBlendEffect : IDCompositionBlendEffect.Interface
+public unsafe partial struct IDCompositionBlendEffect : IDCompositionBlendEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionBlendEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionBrightnessEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionBrightnessEffect.cs
index 698747b408..7b42185235 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionBrightnessEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionBrightnessEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6027496E-CB3A-49AB-934F-D798DA4F7DA6")]
[NativeTypeName("struct IDCompositionBrightnessEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionBrightnessEffect : IDCompositionBrightnessEffect.Interface
+public unsafe partial struct IDCompositionBrightnessEffect : IDCompositionBrightnessEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionBrightnessEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionClip.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionClip.cs
index ea55c5025c..76eb369a68 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionClip.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionClip.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionClip : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionClip : IDCompositionClip.Interface
+public unsafe partial struct IDCompositionClip : IDCompositionClip.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionClip));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionColorMatrixEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionColorMatrixEffect.cs
index 46561acfdd..11d43a7301 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionColorMatrixEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionColorMatrixEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C1170A22-3CE2-4966-90D4-55408BFC84C4")]
[NativeTypeName("struct IDCompositionColorMatrixEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionColorMatrixEffect : IDCompositionColorMatrixEffect.Interface
+public unsafe partial struct IDCompositionColorMatrixEffect : IDCompositionColorMatrixEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionColorMatrixEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionCompositeEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionCompositeEffect.cs
index b8c7bde624..e97ba40dd7 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionCompositeEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionCompositeEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("576616C0-A231-494D-A38D-00FD5EC4DB46")]
[NativeTypeName("struct IDCompositionCompositeEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionCompositeEffect : IDCompositionCompositeEffect.Interface
+public unsafe partial struct IDCompositionCompositeEffect : IDCompositionCompositeEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionCompositeEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDelegatedInkTrail.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDelegatedInkTrail.cs
index 080a3e5d43..19e30907a5 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDelegatedInkTrail.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDelegatedInkTrail.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C2448E9B-547D-4057-8CF5-8144EDE1C2DA")]
[NativeTypeName("struct IDCompositionDelegatedInkTrail : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDCompositionDelegatedInkTrail : IDCompositionDelegatedInkTrail.Interface
+public unsafe partial struct IDCompositionDelegatedInkTrail : IDCompositionDelegatedInkTrail.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionDelegatedInkTrail));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDesktopDevice.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDesktopDevice.cs
index 1b8f65c838..17c132af14 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDesktopDevice.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDesktopDevice.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionDesktopDevice : IDCompositionDevice2")]
[NativeInheritance("IDCompositionDevice2")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDCompositionDesktopDevice : IDCompositionDesktopDevice.Interface
+public unsafe partial struct IDCompositionDesktopDevice : IDCompositionDesktopDevice.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionDesktopDevice));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice.cs
index 5ec4bf1c64..8201fdeaaf 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionDevice : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionDevice : IDCompositionDevice.Interface
+public unsafe partial struct IDCompositionDevice : IDCompositionDevice.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionDevice));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice2.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice2.cs
index 0b955f919f..157a86398a 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice2.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionDevice2 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDCompositionDevice2 : IDCompositionDevice2.Interface
+public unsafe partial struct IDCompositionDevice2 : IDCompositionDevice2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionDevice2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice3.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice3.cs
index 6e78b1719d..9ccc7d582d 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice3.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDevice3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionDevice3 : IDCompositionDevice2")]
[NativeInheritance("IDCompositionDevice2")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDCompositionDevice3 : IDCompositionDevice3.Interface
+public unsafe partial struct IDCompositionDevice3 : IDCompositionDevice3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionDevice3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDeviceDebug.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDeviceDebug.cs
index 631b74895c..1521ac0ccc 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDeviceDebug.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionDeviceDebug.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionDeviceDebug : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDCompositionDeviceDebug : IDCompositionDeviceDebug.Interface
+public unsafe partial struct IDCompositionDeviceDebug : IDCompositionDeviceDebug.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionDeviceDebug));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionEffect.cs
index 248d6e0b44..6025be76aa 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionEffect.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionEffect : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionEffect : IDCompositionEffect.Interface
+public unsafe partial struct IDCompositionEffect : IDCompositionEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionEffectGroup.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionEffectGroup.cs
index 4ca058bcbc..59efd9a66a 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionEffectGroup.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionEffectGroup.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionEffectGroup : IDCompositionEffect")]
[NativeInheritance("IDCompositionEffect")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionEffectGroup : IDCompositionEffectGroup.Interface
+public unsafe partial struct IDCompositionEffectGroup : IDCompositionEffectGroup.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionEffectGroup));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionFilterEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionFilterEffect.cs
index 215ea2538e..6e84d03f9f 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionFilterEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionFilterEffect.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionFilterEffect : IDCompositionEffect")]
[NativeInheritance("IDCompositionEffect")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionFilterEffect : IDCompositionFilterEffect.Interface
+public unsafe partial struct IDCompositionFilterEffect : IDCompositionFilterEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionFilterEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionGaussianBlurEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionGaussianBlurEffect.cs
index 59b354dcb6..36dc267c6f 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionGaussianBlurEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionGaussianBlurEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("45D4D0B7-1BD4-454E-8894-2BFA68443033")]
[NativeTypeName("struct IDCompositionGaussianBlurEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionGaussianBlurEffect : IDCompositionGaussianBlurEffect.Interface
+public unsafe partial struct IDCompositionGaussianBlurEffect : IDCompositionGaussianBlurEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionGaussianBlurEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionHueRotationEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionHueRotationEffect.cs
index 756020c5d6..476654caf8 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionHueRotationEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionHueRotationEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6DB9F920-0770-4781-B0C6-381912F9D167")]
[NativeTypeName("struct IDCompositionHueRotationEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionHueRotationEffect : IDCompositionHueRotationEffect.Interface
+public unsafe partial struct IDCompositionHueRotationEffect : IDCompositionHueRotationEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionHueRotationEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionInkTrailDevice.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionInkTrailDevice.cs
index d57dd4de6d..961ad30211 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionInkTrailDevice.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionInkTrailDevice.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DF0C7CEC-CDEB-4D4A-B91C-721BF22F4E6C")]
[NativeTypeName("struct IDCompositionInkTrailDevice : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDCompositionInkTrailDevice : IDCompositionInkTrailDevice.Interface
+public unsafe partial struct IDCompositionInkTrailDevice : IDCompositionInkTrailDevice.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionInkTrailDevice));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionLinearTransferEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionLinearTransferEffect.cs
index ac857139d4..afcecd9a68 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionLinearTransferEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionLinearTransferEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4305EE5B-C4A0-4C88-9385-67124E017683")]
[NativeTypeName("struct IDCompositionLinearTransferEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionLinearTransferEffect : IDCompositionLinearTransferEffect.Interface
+public unsafe partial struct IDCompositionLinearTransferEffect : IDCompositionLinearTransferEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionLinearTransferEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionMatrixTransform.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionMatrixTransform.cs
index 431c1899e8..9a8de23abb 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionMatrixTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionMatrixTransform.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionMatrixTransform : IDCompositionTransform")]
[NativeInheritance("IDCompositionTransform")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionMatrixTransform : IDCompositionMatrixTransform.Interface
+public unsafe partial struct IDCompositionMatrixTransform : IDCompositionMatrixTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionMatrixTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionMatrixTransform3D.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionMatrixTransform3D.cs
index 3202873bdd..ee1c26fbb6 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionMatrixTransform3D.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionMatrixTransform3D.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionMatrixTransform3D : IDCompositionTransform3D")]
[NativeInheritance("IDCompositionTransform3D")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionMatrixTransform3D : IDCompositionMatrixTransform3D.Interface
+public unsafe partial struct IDCompositionMatrixTransform3D : IDCompositionMatrixTransform3D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionMatrixTransform3D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRectangleClip.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRectangleClip.cs
index 933b80b876..e2c6e4df40 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRectangleClip.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRectangleClip.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionRectangleClip : IDCompositionClip")]
[NativeInheritance("IDCompositionClip")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionRectangleClip : IDCompositionRectangleClip.Interface
+public unsafe partial struct IDCompositionRectangleClip : IDCompositionRectangleClip.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionRectangleClip));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRotateTransform.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRotateTransform.cs
index 0df3afd3be..179f8bd11f 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRotateTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRotateTransform.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionRotateTransform : IDCompositionTransform")]
[NativeInheritance("IDCompositionTransform")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionRotateTransform : IDCompositionRotateTransform.Interface
+public unsafe partial struct IDCompositionRotateTransform : IDCompositionRotateTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionRotateTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRotateTransform3D.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRotateTransform3D.cs
index 021a19cdd2..2d77bda3d5 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRotateTransform3D.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionRotateTransform3D.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionRotateTransform3D : IDCompositionTransform3D")]
[NativeInheritance("IDCompositionTransform3D")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionRotateTransform3D : IDCompositionRotateTransform3D.Interface
+public unsafe partial struct IDCompositionRotateTransform3D : IDCompositionRotateTransform3D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionRotateTransform3D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSaturationEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSaturationEffect.cs
index 7cc3ef48e6..5ef5e5dd24 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSaturationEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSaturationEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A08DEBDA-3258-4FA4-9F16-9174D3FE93B1")]
[NativeTypeName("struct IDCompositionSaturationEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionSaturationEffect : IDCompositionSaturationEffect.Interface
+public unsafe partial struct IDCompositionSaturationEffect : IDCompositionSaturationEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionSaturationEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionScaleTransform.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionScaleTransform.cs
index 36585fbd83..759098a2f2 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionScaleTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionScaleTransform.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionScaleTransform : IDCompositionTransform")]
[NativeInheritance("IDCompositionTransform")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionScaleTransform : IDCompositionScaleTransform.Interface
+public unsafe partial struct IDCompositionScaleTransform : IDCompositionScaleTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionScaleTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionScaleTransform3D.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionScaleTransform3D.cs
index 008cd2b00b..2d11cb9294 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionScaleTransform3D.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionScaleTransform3D.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionScaleTransform3D : IDCompositionTransform3D")]
[NativeInheritance("IDCompositionTransform3D")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionScaleTransform3D : IDCompositionScaleTransform3D.Interface
+public unsafe partial struct IDCompositionScaleTransform3D : IDCompositionScaleTransform3D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionScaleTransform3D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionShadowEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionShadowEffect.cs
index ed6b7478fb..35fa7cc795 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionShadowEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionShadowEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4AD18AC0-CFD2-4C2F-BB62-96E54FDB6879")]
[NativeTypeName("struct IDCompositionShadowEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionShadowEffect : IDCompositionShadowEffect.Interface
+public unsafe partial struct IDCompositionShadowEffect : IDCompositionShadowEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionShadowEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSkewTransform.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSkewTransform.cs
index 82ddd319bd..34e7ec252f 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSkewTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSkewTransform.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionSkewTransform : IDCompositionTransform")]
[NativeInheritance("IDCompositionTransform")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionSkewTransform : IDCompositionSkewTransform.Interface
+public unsafe partial struct IDCompositionSkewTransform : IDCompositionSkewTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionSkewTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSurface.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSurface.cs
index 52441766d4..06add2ff91 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSurface.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSurface.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionSurface : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionSurface : IDCompositionSurface.Interface
+public unsafe partial struct IDCompositionSurface : IDCompositionSurface.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionSurface));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSurfaceFactory.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSurfaceFactory.cs
index 09633ca58a..7b83e202a9 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSurfaceFactory.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionSurfaceFactory.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionSurfaceFactory : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDCompositionSurfaceFactory : IDCompositionSurfaceFactory.Interface
+public unsafe partial struct IDCompositionSurfaceFactory : IDCompositionSurfaceFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionSurfaceFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTableTransferEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTableTransferEffect.cs
index b047e9bb7a..94a1a56df8 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTableTransferEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTableTransferEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9B7E82E2-69C5-4EB4-A5F5-A7033F5132CD")]
[NativeTypeName("struct IDCompositionTableTransferEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionTableTransferEffect : IDCompositionTableTransferEffect.Interface
+public unsafe partial struct IDCompositionTableTransferEffect : IDCompositionTableTransferEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionTableTransferEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTarget.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTarget.cs
index 9701951dd6..359826f770 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTarget.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTarget.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionTarget : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionTarget : IDCompositionTarget.Interface
+public unsafe partial struct IDCompositionTarget : IDCompositionTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionTarget));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTransform.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTransform.cs
index 13a5be9014..5f82e16444 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTransform.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionTransform : IDCompositionTransform3D")]
[NativeInheritance("IDCompositionTransform3D")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionTransform : IDCompositionTransform.Interface
+public unsafe partial struct IDCompositionTransform : IDCompositionTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTransform3D.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTransform3D.cs
index be3ef68e3f..bb970e4ce4 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTransform3D.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTransform3D.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("71185722-246B-41F2-AAD1-0443F7F4BFC2")]
[NativeTypeName("struct IDCompositionTransform3D : IDCompositionEffect")]
[NativeInheritance("IDCompositionEffect")]
-public unsafe partial struct IDCompositionTransform3D : IDCompositionTransform3D.Interface
+public unsafe partial struct IDCompositionTransform3D : IDCompositionTransform3D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionTransform3D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTranslateTransform.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTranslateTransform.cs
index 5222e228bb..31d1401136 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTranslateTransform.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTranslateTransform.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionTranslateTransform : IDCompositionTransform")]
[NativeInheritance("IDCompositionTransform")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionTranslateTransform : IDCompositionTranslateTransform.Interface
+public unsafe partial struct IDCompositionTranslateTransform : IDCompositionTranslateTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionTranslateTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTranslateTransform3D.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTranslateTransform3D.cs
index 79210bbce3..c0a96cf99e 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTranslateTransform3D.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTranslateTransform3D.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionTranslateTransform3D : IDCompositionTransform3D")]
[NativeInheritance("IDCompositionTransform3D")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionTranslateTransform3D : IDCompositionTranslateTransform3D.Interface
+public unsafe partial struct IDCompositionTranslateTransform3D : IDCompositionTranslateTransform3D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionTranslateTransform3D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTurbulenceEffect.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTurbulenceEffect.cs
index 99f847a062..da30a2f975 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTurbulenceEffect.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionTurbulenceEffect.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A6A55BDA-C09C-49F3-9193-A41922C89715")]
[NativeTypeName("struct IDCompositionTurbulenceEffect : IDCompositionFilterEffect")]
[NativeInheritance("IDCompositionFilterEffect")]
-public unsafe partial struct IDCompositionTurbulenceEffect : IDCompositionTurbulenceEffect.Interface
+public unsafe partial struct IDCompositionTurbulenceEffect : IDCompositionTurbulenceEffect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionTurbulenceEffect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVirtualSurface.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVirtualSurface.cs
index b261dd1a73..65b22bc2fa 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVirtualSurface.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVirtualSurface.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionVirtualSurface : IDCompositionSurface")]
[NativeInheritance("IDCompositionSurface")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionVirtualSurface : IDCompositionVirtualSurface.Interface
+public unsafe partial struct IDCompositionVirtualSurface : IDCompositionVirtualSurface.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionVirtualSurface));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual.cs
index 918a4088be..1e85dfdf54 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionVisual : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionVisual : IDCompositionVisual.Interface
+public unsafe partial struct IDCompositionVisual : IDCompositionVisual.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionVisual));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual2.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual2.cs
index 4ddd3aea9b..df742e547a 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual2.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionVisual2 : IDCompositionVisual")]
[NativeInheritance("IDCompositionVisual")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDCompositionVisual2 : IDCompositionVisual2.Interface
+public unsafe partial struct IDCompositionVisual2 : IDCompositionVisual2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionVisual2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual3.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual3.cs
index de1da08b0c..eec138eb32 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual3.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisual3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionVisual3 : IDCompositionVisualDebug")]
[NativeInheritance("IDCompositionVisualDebug")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDCompositionVisual3 : IDCompositionVisual3.Interface
+public unsafe partial struct IDCompositionVisual3 : IDCompositionVisual3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionVisual3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisualDebug.cs b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisualDebug.cs
index 4d7ebdc643..3061406e70 100644
--- a/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisualDebug.cs
+++ b/sources/Interop/Windows/DirectX/um/dcomp/IDCompositionVisualDebug.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionVisualDebug : IDCompositionVisual2")]
[NativeInheritance("IDCompositionVisual2")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDCompositionVisualDebug : IDCompositionVisualDebug.Interface
+public unsafe partial struct IDCompositionVisualDebug : IDCompositionVisualDebug.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionVisualDebug));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dcompanimation/IDCompositionAnimation.cs b/sources/Interop/Windows/DirectX/um/dcompanimation/IDCompositionAnimation.cs
index 505a0f7dc0..b9da13c9bc 100644
--- a/sources/Interop/Windows/DirectX/um/dcompanimation/IDCompositionAnimation.cs
+++ b/sources/Interop/Windows/DirectX/um/dcompanimation/IDCompositionAnimation.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDCompositionAnimation : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDCompositionAnimation : IDCompositionAnimation.Interface
+public unsafe partial struct IDCompositionAnimation : IDCompositionAnimation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDCompositionAnimation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDBLTFX.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDBLTFX.cs
index 9f8522ffa5..7b9f1a2e67 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/DDBLTFX.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/DDBLTFX.cs
@@ -3,6 +3,7 @@
// Ported from um/ddraw.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -101,122 +102,134 @@ public unsafe partial struct DDBLTFX
public DDCOLORKEY ddckSrcColorkey;
///
+ [UnscopedRef]
public ref uint dwZDestConst
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwZDestConst, 1));
+ return ref Anonymous1.dwZDestConst;
}
}
///
+ [UnscopedRef]
public ref IDirectDrawSurface* lpDDSZBufferDest
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous1.lpDDSZBufferDest;
+ return ref Anonymous1.lpDDSZBufferDest;
}
}
///
+ [UnscopedRef]
public ref uint dwZSrcConst
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwZSrcConst, 1));
+ return ref Anonymous2.dwZSrcConst;
}
}
///
+ [UnscopedRef]
public ref IDirectDrawSurface* lpDDSZBufferSrc
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous2.lpDDSZBufferSrc;
+ return ref Anonymous2.lpDDSZBufferSrc;
}
}
///
+ [UnscopedRef]
public ref uint dwAlphaDestConst
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous3.dwAlphaDestConst, 1));
+ return ref Anonymous3.dwAlphaDestConst;
}
}
///
+ [UnscopedRef]
public ref IDirectDrawSurface* lpDDSAlphaDest
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous3.lpDDSAlphaDest;
+ return ref Anonymous3.lpDDSAlphaDest;
}
}
///
+ [UnscopedRef]
public ref uint dwAlphaSrcConst
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous4.dwAlphaSrcConst, 1));
+ return ref Anonymous4.dwAlphaSrcConst;
}
}
///
+ [UnscopedRef]
public ref IDirectDrawSurface* lpDDSAlphaSrc
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous4.lpDDSAlphaSrc;
+ return ref Anonymous4.lpDDSAlphaSrc;
}
}
///
+ [UnscopedRef]
public ref uint dwFillColor
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous5.dwFillColor, 1));
+ return ref Anonymous5.dwFillColor;
}
}
///
+ [UnscopedRef]
public ref uint dwFillDepth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous5.dwFillDepth, 1));
+ return ref Anonymous5.dwFillDepth;
}
}
///
+ [UnscopedRef]
public ref uint dwFillPixel
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous5.dwFillPixel, 1));
+ return ref Anonymous5.dwFillPixel;
}
}
///
+ [UnscopedRef]
public ref IDirectDrawSurface* lpDDSPattern
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous5.lpDDSPattern;
+ return ref Anonymous5.lpDDSPattern;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDOVERLAYFX.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDOVERLAYFX.cs
index 6e616da2c3..7dbf3920e8 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/DDOVERLAYFX.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/DDOVERLAYFX.cs
@@ -3,6 +3,7 @@
// Ported from um/ddraw.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -58,42 +59,46 @@ public unsafe partial struct DDOVERLAYFX
public uint dwFlags;
///
+ [UnscopedRef]
public ref uint dwAlphaDestConst
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwAlphaDestConst, 1));
+ return ref Anonymous1.dwAlphaDestConst;
}
}
///
+ [UnscopedRef]
public ref IDirectDrawSurface* lpDDSAlphaDest
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous1.lpDDSAlphaDest;
+ return ref Anonymous1.lpDDSAlphaDest;
}
}
///
+ [UnscopedRef]
public ref uint dwAlphaSrcConst
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwAlphaSrcConst, 1));
+ return ref Anonymous2.dwAlphaSrcConst;
}
}
///
+ [UnscopedRef]
public ref IDirectDrawSurface* lpDDSAlphaSrc
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous2.lpDDSAlphaSrc;
+ return ref Anonymous2.lpDDSAlphaSrc;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDPIXELFORMAT.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDPIXELFORMAT.cs
index c0142c3fbd..a5e3439cb8 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/DDPIXELFORMAT.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/DDPIXELFORMAT.cs
@@ -3,6 +3,7 @@
// Ported from um/ddraw.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -44,272 +45,299 @@ public partial struct DDPIXELFORMAT
public _Anonymous5_e__Union Anonymous5;
///
+ [UnscopedRef]
public ref uint dwRGBBitCount
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwRGBBitCount, 1));
+ return ref Anonymous1.dwRGBBitCount;
}
}
///
+ [UnscopedRef]
public ref uint dwYUVBitCount
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwYUVBitCount, 1));
+ return ref Anonymous1.dwYUVBitCount;
}
}
///
+ [UnscopedRef]
public ref uint dwZBufferBitDepth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwZBufferBitDepth, 1));
+ return ref Anonymous1.dwZBufferBitDepth;
}
}
///
+ [UnscopedRef]
public ref uint dwAlphaBitDepth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwAlphaBitDepth, 1));
+ return ref Anonymous1.dwAlphaBitDepth;
}
}
///
+ [UnscopedRef]
public ref uint dwLuminanceBitCount
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwLuminanceBitCount, 1));
+ return ref Anonymous1.dwLuminanceBitCount;
}
}
///
+ [UnscopedRef]
public ref uint dwBumpBitCount
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwBumpBitCount, 1));
+ return ref Anonymous1.dwBumpBitCount;
}
}
///
+ [UnscopedRef]
public ref uint dwPrivateFormatBitCount
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwPrivateFormatBitCount, 1));
+ return ref Anonymous1.dwPrivateFormatBitCount;
}
}
///
+ [UnscopedRef]
public ref uint dwRBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwRBitMask, 1));
+ return ref Anonymous2.dwRBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwYBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwYBitMask, 1));
+ return ref Anonymous2.dwYBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwStencilBitDepth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwStencilBitDepth, 1));
+ return ref Anonymous2.dwStencilBitDepth;
}
}
///
+ [UnscopedRef]
public ref uint dwLuminanceBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwLuminanceBitMask, 1));
+ return ref Anonymous2.dwLuminanceBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwBumpDuBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwBumpDuBitMask, 1));
+ return ref Anonymous2.dwBumpDuBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwOperations
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwOperations, 1));
+ return ref Anonymous2.dwOperations;
}
}
///
+ [UnscopedRef]
public ref uint dwGBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous3.dwGBitMask, 1));
+ return ref Anonymous3.dwGBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwUBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous3.dwUBitMask, 1));
+ return ref Anonymous3.dwUBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwZBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous3.dwZBitMask, 1));
+ return ref Anonymous3.dwZBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwBumpDvBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous3.dwBumpDvBitMask, 1));
+ return ref Anonymous3.dwBumpDvBitMask;
}
}
///
+ [UnscopedRef]
public ref _Anonymous3_e__Union._MultiSampleCaps_e__Struct MultiSampleCaps
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous3.MultiSampleCaps, 1));
+ return ref Anonymous3.MultiSampleCaps;
}
}
///
+ [UnscopedRef]
public ref uint dwBBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous4.dwBBitMask, 1));
+ return ref Anonymous4.dwBBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwVBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous4.dwVBitMask, 1));
+ return ref Anonymous4.dwVBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwStencilBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous4.dwStencilBitMask, 1));
+ return ref Anonymous4.dwStencilBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwBumpLuminanceBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous4.dwBumpLuminanceBitMask, 1));
+ return ref Anonymous4.dwBumpLuminanceBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwRGBAlphaBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous5.dwRGBAlphaBitMask, 1));
+ return ref Anonymous5.dwRGBAlphaBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwYUVAlphaBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous5.dwYUVAlphaBitMask, 1));
+ return ref Anonymous5.dwYUVAlphaBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwLuminanceAlphaBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous5.dwLuminanceAlphaBitMask, 1));
+ return ref Anonymous5.dwLuminanceAlphaBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwRGBZBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous5.dwRGBZBitMask, 1));
+ return ref Anonymous5.dwRGBZBitMask;
}
}
///
+ [UnscopedRef]
public ref uint dwYUVZBitMask
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous5.dwYUVZBitMask, 1));
+ return ref Anonymous5.dwYUVZBitMask;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDSCAPS2.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDSCAPS2.cs
index caf4dede84..be5d539cb9 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/DDSCAPS2.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/DDSCAPS2.cs
@@ -3,6 +3,7 @@
// Ported from um/ddraw.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -27,22 +28,24 @@ public partial struct DDSCAPS2
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref uint dwCaps4
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwCaps4, 1));
+ return ref Anonymous.dwCaps4;
}
}
///
+ [UnscopedRef]
public ref uint dwVolumeDepth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwVolumeDepth, 1));
+ return ref Anonymous.dwVolumeDepth;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDSCAPSEX.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDSCAPSEX.cs
index 631a43ef00..bab8facd90 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/DDSCAPSEX.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/DDSCAPSEX.cs
@@ -3,6 +3,7 @@
// Ported from um/ddraw.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -24,22 +25,24 @@ public partial struct DDSCAPSEX
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref uint dwCaps4
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwCaps4, 1));
+ return ref Anonymous.dwCaps4;
}
}
///
+ [UnscopedRef]
public ref uint dwVolumeDepth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwVolumeDepth, 1));
+ return ref Anonymous.dwVolumeDepth;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDSURFACEDESC.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDSURFACEDESC.cs
index 3a7c010ab3..f51e572be8 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/DDSURFACEDESC.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/DDSURFACEDESC.cs
@@ -3,6 +3,7 @@
// Ported from um/ddraw.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -70,52 +71,57 @@ public unsafe partial struct DDSURFACEDESC
public DDSCAPS ddsCaps;
///
+ [UnscopedRef]
public ref int lPitch
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.lPitch, 1));
+ return ref Anonymous1.lPitch;
}
}
///
+ [UnscopedRef]
public ref uint dwLinearSize
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwLinearSize, 1));
+ return ref Anonymous1.dwLinearSize;
}
}
///
+ [UnscopedRef]
public ref uint dwMipMapCount
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwMipMapCount, 1));
+ return ref Anonymous2.dwMipMapCount;
}
}
///
+ [UnscopedRef]
public ref uint dwZBufferBitDepth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwZBufferBitDepth, 1));
+ return ref Anonymous2.dwZBufferBitDepth;
}
}
///
+ [UnscopedRef]
public ref uint dwRefreshRate
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwRefreshRate, 1));
+ return ref Anonymous2.dwRefreshRate;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DDSURFACEDESC2.cs b/sources/Interop/Windows/DirectX/um/ddraw/DDSURFACEDESC2.cs
index 5c784c5fbc..26feeb54ea 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/DDSURFACEDESC2.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/DDSURFACEDESC2.cs
@@ -3,6 +3,7 @@
// Ported from um/ddraw.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -76,112 +77,123 @@ public unsafe partial struct DDSURFACEDESC2
public uint dwTextureStage;
///
+ [UnscopedRef]
public ref int lPitch
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.lPitch, 1));
+ return ref Anonymous1.lPitch;
}
}
///
+ [UnscopedRef]
public ref uint dwLinearSize
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwLinearSize, 1));
+ return ref Anonymous1.dwLinearSize;
}
}
///
+ [UnscopedRef]
public ref uint dwBackBufferCount
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwBackBufferCount, 1));
+ return ref Anonymous2.dwBackBufferCount;
}
}
///
+ [UnscopedRef]
public ref uint dwDepth
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwDepth, 1));
+ return ref Anonymous2.dwDepth;
}
}
///
+ [UnscopedRef]
public ref uint dwMipMapCount
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous3.dwMipMapCount, 1));
+ return ref Anonymous3.dwMipMapCount;
}
}
///
+ [UnscopedRef]
public ref uint dwRefreshRate
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous3.dwRefreshRate, 1));
+ return ref Anonymous3.dwRefreshRate;
}
}
///
+ [UnscopedRef]
public ref uint dwSrcVBHandle
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous3.dwSrcVBHandle, 1));
+ return ref Anonymous3.dwSrcVBHandle;
}
}
///
+ [UnscopedRef]
public ref DDCOLORKEY ddckCKDestOverlay
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous4.ddckCKDestOverlay, 1));
+ return ref Anonymous4.ddckCKDestOverlay;
}
}
///
+ [UnscopedRef]
public ref uint dwEmptyFaceColor
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous4.dwEmptyFaceColor, 1));
+ return ref Anonymous4.dwEmptyFaceColor;
}
}
///
+ [UnscopedRef]
public ref DDPIXELFORMAT ddpfPixelFormat
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous5.ddpfPixelFormat, 1));
+ return ref Anonymous5.ddpfPixelFormat;
}
}
///
+ [UnscopedRef]
public ref uint dwFVF
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous5.dwFVF, 1));
+ return ref Anonymous5.dwFVF;
}
}
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/DirectX.cs b/sources/Interop/Windows/DirectX/um/ddraw/DirectX.cs
index aba71609b4..55d3c64eb8 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/DirectX.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/DirectX.cs
@@ -67,13 +67,13 @@ public static unsafe partial class DirectX
public static delegate*, void*, uint, HRESULT> DirectDrawEnumerateEx => &DirectDrawEnumerateExW;
[NativeTypeName("#define REGSTR_KEY_DDHW_DESCRIPTION \"Description\"")]
- public static ReadOnlySpan REGSTR_KEY_DDHW_DESCRIPTION => new byte[] { 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6F, 0x6E, 0x00 };
+ public static ReadOnlySpan REGSTR_KEY_DDHW_DESCRIPTION => "Description"u8;
[NativeTypeName("#define REGSTR_KEY_DDHW_DRIVERNAME \"DriverName\"")]
- public static ReadOnlySpan REGSTR_KEY_DDHW_DRIVERNAME => new byte[] { 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4E, 0x61, 0x6D, 0x65, 0x00 };
+ public static ReadOnlySpan REGSTR_KEY_DDHW_DRIVERNAME => "DriverName"u8;
[NativeTypeName("#define REGSTR_PATH_DDHW \"Hardware\\\\DirectDrawDrivers\"")]
- public static ReadOnlySpan REGSTR_PATH_DDHW => new byte[] { 0x48, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x5C, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x44, 0x72, 0x61, 0x77, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x73, 0x00 };
+ public static ReadOnlySpan REGSTR_PATH_DDHW => "Hardware\\DirectDrawDrivers"u8;
[NativeTypeName("#define DD_ROP_SPACE (256/32)")]
public const int DD_ROP_SPACE = (256 / 32);
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw.cs
index 6c3d6505ad..9464a72116 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6C14DB80-A733-11CE-A521-0020AF0BE560")]
[NativeTypeName("struct IDirectDraw : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDraw : IDirectDraw.Interface
+public unsafe partial struct IDirectDraw : IDirectDraw.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDraw));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw2.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw2.cs
index 0e6eb732b3..6229ed1123 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw2.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B3A6F3E0-2B43-11CF-A2DE-00AA00B93356")]
[NativeTypeName("struct IDirectDraw2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDraw2 : IDirectDraw2.Interface
+public unsafe partial struct IDirectDraw2 : IDirectDraw2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDraw2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw4.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw4.cs
index 7ff3f67ed2..a0b0f6cbe8 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw4.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9C59509A-39BD-11D1-8C4A-00C04FD930C5")]
[NativeTypeName("struct IDirectDraw4 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDraw4 : IDirectDraw4.Interface
+public unsafe partial struct IDirectDraw4 : IDirectDraw4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDraw4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw7.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw7.cs
index b944efde65..41318079c2 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw7.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDraw7.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("15E65EC0-3B9C-11D2-B92F-00609797EA5B")]
[NativeTypeName("struct IDirectDraw7 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDraw7 : IDirectDraw7.Interface
+public unsafe partial struct IDirectDraw7 : IDirectDraw7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDraw7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipper.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipper.cs
index b56fc16eb8..f512156d1d 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipper.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawClipper.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6C14DB85-A733-11CE-A521-0020AF0BE560")]
[NativeTypeName("struct IDirectDrawClipper : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDrawClipper : IDirectDrawClipper.Interface
+public unsafe partial struct IDirectDrawClipper : IDirectDrawClipper.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDrawClipper));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControl.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControl.cs
index 9279726807..2c01019fb6 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControl.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawColorControl.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4B9F0EE0-0D7E-11D0-9B06-00A0C903A3B8")]
[NativeTypeName("struct IDirectDrawColorControl : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDrawColorControl : IDirectDrawColorControl.Interface
+public unsafe partial struct IDirectDrawColorControl : IDirectDrawColorControl.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDrawColorControl));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControl.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControl.cs
index aa9c4c31df..83e02a93ce 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControl.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawGammaControl.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("69C11C3E-B46B-11D1-AD7A-00C04FC29B4E")]
[NativeTypeName("struct IDirectDrawGammaControl : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDrawGammaControl : IDirectDrawGammaControl.Interface
+public unsafe partial struct IDirectDrawGammaControl : IDirectDrawGammaControl.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDrawGammaControl));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawPalette.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawPalette.cs
index 20a0faa0c6..b2f8697440 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawPalette.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawPalette.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6C14DB84-A733-11CE-A521-0020AF0BE560")]
[NativeTypeName("struct IDirectDrawPalette : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDrawPalette : IDirectDrawPalette.Interface
+public unsafe partial struct IDirectDrawPalette : IDirectDrawPalette.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDrawPalette));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface.cs
index e5a545e53f..32fb769d0a 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6C14DB81-A733-11CE-A521-0020AF0BE560")]
[NativeTypeName("struct IDirectDrawSurface : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDrawSurface : IDirectDrawSurface.Interface
+public unsafe partial struct IDirectDrawSurface : IDirectDrawSurface.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDrawSurface));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2.cs
index fa5a9b9ce5..923439a7b8 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("57805885-6EEC-11CF-9441-A82303C10E27")]
[NativeTypeName("struct IDirectDrawSurface2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDrawSurface2 : IDirectDrawSurface2.Interface
+public unsafe partial struct IDirectDrawSurface2 : IDirectDrawSurface2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDrawSurface2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3.cs
index 0897806a88..89fd28356e 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DA044E00-69B2-11D0-A1D5-00AA00B8DFBB")]
[NativeTypeName("struct IDirectDrawSurface3 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDrawSurface3 : IDirectDrawSurface3.Interface
+public unsafe partial struct IDirectDrawSurface3 : IDirectDrawSurface3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDrawSurface3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4.cs
index 1dc063b871..da93e3327c 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("0B2B8630-AD35-11D0-8EA6-00609797EA5B")]
[NativeTypeName("struct IDirectDrawSurface4 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDrawSurface4 : IDirectDrawSurface4.Interface
+public unsafe partial struct IDirectDrawSurface4 : IDirectDrawSurface4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDrawSurface4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7.cs b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7.cs
index 8e99db0337..d916a10f89 100644
--- a/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7.cs
+++ b/sources/Interop/Windows/DirectX/um/ddraw/IDirectDrawSurface7.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("06675A80-3B9B-11D2-B92F-00609797EA5B")]
[NativeTypeName("struct IDirectDrawSurface7 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirectDrawSurface7 : IDirectDrawSurface7.Interface
+public unsafe partial struct IDirectDrawSurface7 : IDirectDrawSurface7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectDrawSurface7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/DCompManipulationCompositor.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/DCompManipulationCompositor.cs
index e9516b5b9b..10ff7a6b83 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/DCompManipulationCompositor.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/DCompManipulationCompositor.cs
@@ -3,12 +3,16 @@
// Ported from um/directmanipulation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
///
[Guid("79DEA627-A08A-43AC-8EF5-6900B9299126")]
-public partial struct DCompManipulationCompositor
+public unsafe partial struct DCompManipulationCompositor : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_DCompManipulationCompositor));
}
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationManager.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationManager.cs
index 3bbe5b8eda..a50b71d3c7 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationManager.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationManager.cs
@@ -3,12 +3,16 @@
// Ported from um/directmanipulation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
///
[Guid("54E211B6-3650-4F75-8334-FA359598E1C5")]
-public partial struct DirectManipulationManager
+public unsafe partial struct DirectManipulationManager : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_DirectManipulationManager));
}
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationPrimaryContent.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationPrimaryContent.cs
index 4c71443bd0..087f6df2a6 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationPrimaryContent.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationPrimaryContent.cs
@@ -3,12 +3,16 @@
// Ported from um/directmanipulation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
///
[Guid("CAA02661-D59E-41C7-8393-3BA3BACB6B57")]
-public partial struct DirectManipulationPrimaryContent
+public unsafe partial struct DirectManipulationPrimaryContent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_DirectManipulationPrimaryContent));
}
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationSharedManager.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationSharedManager.cs
index bb3f445d1c..6d952743c4 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationSharedManager.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationSharedManager.cs
@@ -3,12 +3,16 @@
// Ported from um/directmanipulation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
///
[Guid("99793286-77CC-4B57-96DB-3B354F6F9FB5")]
-public partial struct DirectManipulationSharedManager
+public unsafe partial struct DirectManipulationSharedManager : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_DirectManipulationSharedManager));
}
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationUpdateManager.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationUpdateManager.cs
index 80b30fd3cf..ce3f165c83 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationUpdateManager.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationUpdateManager.cs
@@ -3,12 +3,16 @@
// Ported from um/directmanipulation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
///
[Guid("9FC1BFD5-1835-441A-B3B1-B6CC74B727D0")]
-public partial struct DirectManipulationUpdateManager
+public unsafe partial struct DirectManipulationUpdateManager : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_DirectManipulationUpdateManager));
}
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationViewport.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationViewport.cs
index fd6dd9c827..9538f63f7d 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationViewport.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/DirectManipulationViewport.cs
@@ -3,12 +3,16 @@
// Ported from um/directmanipulation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
///
[Guid("34E211B6-3650-4F75-8334-FA359598E1C5")]
-public partial struct DirectManipulationViewport
+public unsafe partial struct DirectManipulationViewport : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_DirectManipulationViewport));
}
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationAutoScrollBehavior.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationAutoScrollBehavior.cs
index 31ee00e109..5d49a4b207 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationAutoScrollBehavior.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationAutoScrollBehavior.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationAutoScrollBehavior : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDirectManipulationAutoScrollBehavior : IDirectManipulationAutoScrollBehavior.Interface
+public unsafe partial struct IDirectManipulationAutoScrollBehavior : IDirectManipulationAutoScrollBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationAutoScrollBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationCompositor.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationCompositor.cs
index 590d978e4d..6f93f84590 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationCompositor.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationCompositor.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationCompositor : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDirectManipulationCompositor : IDirectManipulationCompositor.Interface
+public unsafe partial struct IDirectManipulationCompositor : IDirectManipulationCompositor.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationCompositor));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationCompositor2.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationCompositor2.cs
index 350974480e..43b7e88538 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationCompositor2.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationCompositor2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationCompositor2 : IDirectManipulationCompositor")]
[NativeInheritance("IDirectManipulationCompositor")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDirectManipulationCompositor2 : IDirectManipulationCompositor2.Interface
+public unsafe partial struct IDirectManipulationCompositor2 : IDirectManipulationCompositor2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationCompositor2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationContent.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationContent.cs
index d58150df61..9ba0aafbb2 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationContent.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationContent.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationContent : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDirectManipulationContent : IDirectManipulationContent.Interface
+public unsafe partial struct IDirectManipulationContent : IDirectManipulationContent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationContent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDeferContactService.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDeferContactService.cs
index e11a1177b2..56de588fef 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDeferContactService.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDeferContactService.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationDeferContactService : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDirectManipulationDeferContactService : IDirectManipulationDeferContactService.Interface
+public unsafe partial struct IDirectManipulationDeferContactService : IDirectManipulationDeferContactService.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationDeferContactService));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDragDropBehavior.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDragDropBehavior.cs
index acd9e26199..6e4e538ee6 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDragDropBehavior.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDragDropBehavior.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationDragDropBehavior : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDirectManipulationDragDropBehavior : IDirectManipulationDragDropBehavior.Interface
+public unsafe partial struct IDirectManipulationDragDropBehavior : IDirectManipulationDragDropBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationDragDropBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDragDropEventHandler.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDragDropEventHandler.cs
index 6528677269..da53e057e1 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDragDropEventHandler.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationDragDropEventHandler.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationDragDropEventHandler : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDirectManipulationDragDropEventHandler : IDirectManipulationDragDropEventHandler.Interface
+public unsafe partial struct IDirectManipulationDragDropEventHandler : IDirectManipulationDragDropEventHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationDragDropEventHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationFrameInfoProvider.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationFrameInfoProvider.cs
index e2c1712cd3..7822045fe8 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationFrameInfoProvider.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationFrameInfoProvider.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationFrameInfoProvider : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDirectManipulationFrameInfoProvider : IDirectManipulationFrameInfoProvider.Interface
+public unsafe partial struct IDirectManipulationFrameInfoProvider : IDirectManipulationFrameInfoProvider.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationFrameInfoProvider));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationInteractionEventHandler.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationInteractionEventHandler.cs
index c9c33546b3..fa802dfd97 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationInteractionEventHandler.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationInteractionEventHandler.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationInteractionEventHandler : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDirectManipulationInteractionEventHandler : IDirectManipulationInteractionEventHandler.Interface
+public unsafe partial struct IDirectManipulationInteractionEventHandler : IDirectManipulationInteractionEventHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationInteractionEventHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager.cs
index 4e3d886540..2abf97eed5 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationManager : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDirectManipulationManager : IDirectManipulationManager.Interface
+public unsafe partial struct IDirectManipulationManager : IDirectManipulationManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager2.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager2.cs
index 8514dd6497..b3659a59b8 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager2.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationManager2 : IDirectManipulationManager")]
[NativeInheritance("IDirectManipulationManager")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDirectManipulationManager2 : IDirectManipulationManager2.Interface
+public unsafe partial struct IDirectManipulationManager2 : IDirectManipulationManager2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationManager2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager3.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager3.cs
index eff5a5c7d6..2aa6e17cc9 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager3.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationManager3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationManager3 : IDirectManipulationManager2")]
[NativeInheritance("IDirectManipulationManager2")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDirectManipulationManager3 : IDirectManipulationManager3.Interface
+public unsafe partial struct IDirectManipulationManager3 : IDirectManipulationManager3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationManager3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationPrimaryContent.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationPrimaryContent.cs
index 3b15fb4b77..0291026ac8 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationPrimaryContent.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationPrimaryContent.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationPrimaryContent : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDirectManipulationPrimaryContent : IDirectManipulationPrimaryContent.Interface
+public unsafe partial struct IDirectManipulationPrimaryContent : IDirectManipulationPrimaryContent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationPrimaryContent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationUpdateHandler.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationUpdateHandler.cs
index f191fcb538..9aae221287 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationUpdateHandler.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationUpdateHandler.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationUpdateHandler : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDirectManipulationUpdateHandler : IDirectManipulationUpdateHandler.Interface
+public unsafe partial struct IDirectManipulationUpdateHandler : IDirectManipulationUpdateHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationUpdateHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationUpdateManager.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationUpdateManager.cs
index 70113635f1..7f33465204 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationUpdateManager.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationUpdateManager.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationUpdateManager : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDirectManipulationUpdateManager : IDirectManipulationUpdateManager.Interface
+public unsafe partial struct IDirectManipulationUpdateManager : IDirectManipulationUpdateManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationUpdateManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewport.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewport.cs
index 11e3f88aac..caadfe597a 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewport.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewport.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationViewport : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDirectManipulationViewport : IDirectManipulationViewport.Interface
+public unsafe partial struct IDirectManipulationViewport : IDirectManipulationViewport.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationViewport));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewport2.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewport2.cs
index 7885ebea8d..0d54300c05 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewport2.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewport2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationViewport2 : IDirectManipulationViewport")]
[NativeInheritance("IDirectManipulationViewport")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDirectManipulationViewport2 : IDirectManipulationViewport2.Interface
+public unsafe partial struct IDirectManipulationViewport2 : IDirectManipulationViewport2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationViewport2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewportEventHandler.cs b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewportEventHandler.cs
index d34aa2270b..c398ed2db9 100644
--- a/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewportEventHandler.cs
+++ b/sources/Interop/Windows/DirectX/um/directmanipulation/IDirectManipulationViewportEventHandler.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDirectManipulationViewportEventHandler : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDirectManipulationViewportEventHandler : IDirectManipulationViewportEventHandler.Interface
+public unsafe partial struct IDirectManipulationViewportEventHandler : IDirectManipulationViewportEventHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirectManipulationViewportEventHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteBitmapRenderTarget.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteBitmapRenderTarget.cs
index 60f47b0bac..e32aa2a304 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteBitmapRenderTarget.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteBitmapRenderTarget.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("5E5A32A3-8DFF-4773-9FF6-0696EAB77267")]
[NativeTypeName("struct IDWriteBitmapRenderTarget : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteBitmapRenderTarget : IDWriteBitmapRenderTarget.Interface
+public unsafe partial struct IDWriteBitmapRenderTarget : IDWriteBitmapRenderTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteBitmapRenderTarget));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFactory.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFactory.cs
index 7e52ba02d9..958b803af8 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFactory.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B859EE5A-D838-4B5B-A2E8-1ADC7D93DB48")]
[NativeTypeName("struct IDWriteFactory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFactory : IDWriteFactory.Interface
+public unsafe partial struct IDWriteFactory : IDWriteFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFont.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFont.cs
index 0c76623011..60c3b50d35 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFont.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFont.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("ACD16696-8C14-4F5D-877E-FE3FC1D32737")]
[NativeTypeName("struct IDWriteFont : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFont : IDWriteFont.Interface
+public unsafe partial struct IDWriteFont : IDWriteFont.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollection.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollection.cs
index 74f09b7b05..fcefff1aa5 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollection.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollection.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A84CEE02-3EEA-4EEE-A827-87C1A02A0FCC")]
[NativeTypeName("struct IDWriteFontCollection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFontCollection : IDWriteFontCollection.Interface
+public unsafe partial struct IDWriteFontCollection : IDWriteFontCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollectionLoader.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollectionLoader.cs
index 12fe56f1e7..f06f6eb77a 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollectionLoader.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontCollectionLoader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("CCA920E4-52F0-492B-BFA8-29C72EE0A468")]
[NativeTypeName("struct IDWriteFontCollectionLoader : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFontCollectionLoader : IDWriteFontCollectionLoader.Interface
+public unsafe partial struct IDWriteFontCollectionLoader : IDWriteFontCollectionLoader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollectionLoader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFace.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFace.cs
index 76a97a655e..8199de2d4b 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFace.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFace.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("5F49804D-7024-4D43-BFA9-D25984F53849")]
[NativeTypeName("struct IDWriteFontFace : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFontFace : IDWriteFontFace.Interface
+public unsafe partial struct IDWriteFontFace : IDWriteFontFace.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFamily.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFamily.cs
index 5091b1bca3..d7218a1f20 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFamily.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFamily.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DA20D8EF-812A-4C43-9802-62EC4ABD7ADD")]
[NativeTypeName("struct IDWriteFontFamily : IDWriteFontList")]
[NativeInheritance("IDWriteFontList")]
-public unsafe partial struct IDWriteFontFamily : IDWriteFontFamily.Interface
+public unsafe partial struct IDWriteFontFamily : IDWriteFontFamily.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFamily));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFile.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFile.cs
index b6e04c5ef2..924efb4684 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFile.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFile.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("739D886A-CEF5-47DC-8769-1A8B41BEBBB0")]
[NativeTypeName("struct IDWriteFontFile : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFontFile : IDWriteFontFile.Interface
+public unsafe partial struct IDWriteFontFile : IDWriteFontFile.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFile));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileEnumerator.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileEnumerator.cs
index e90c4902d0..d970d7ae90 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileEnumerator.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("72755049-5FF7-435D-8348-4BE97CFA6C7C")]
[NativeTypeName("struct IDWriteFontFileEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFontFileEnumerator : IDWriteFontFileEnumerator.Interface
+public unsafe partial struct IDWriteFontFileEnumerator : IDWriteFontFileEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFileEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileLoader.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileLoader.cs
index 9978d9ff24..c9344e8770 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileLoader.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileLoader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("727CAD4E-D6AF-4C9E-8A08-D695B11CAA49")]
[NativeTypeName("struct IDWriteFontFileLoader : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFontFileLoader : IDWriteFontFileLoader.Interface
+public unsafe partial struct IDWriteFontFileLoader : IDWriteFontFileLoader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFileLoader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileStream.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileStream.cs
index 01b2a688cb..ea33e6a1db 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileStream.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontFileStream.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6D4865FE-0AB8-4D91-8F62-5DD6BE34A3E0")]
[NativeTypeName("struct IDWriteFontFileStream : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFontFileStream : IDWriteFontFileStream.Interface
+public unsafe partial struct IDWriteFontFileStream : IDWriteFontFileStream.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFileStream));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontList.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontList.cs
index 9d98d0633d..d5fc31235e 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontList.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteFontList.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1A0D8438-1D97-4EC1-AEF9-A2FB86ED6ACB")]
[NativeTypeName("struct IDWriteFontList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFontList : IDWriteFontList.Interface
+public unsafe partial struct IDWriteFontList : IDWriteFontList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteGdiInterop.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteGdiInterop.cs
index d7b432f5df..91ba0b1ecc 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteGdiInterop.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteGdiInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1EDD9491-9853-4299-898F-6432983B6F3A")]
[NativeTypeName("struct IDWriteGdiInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteGdiInterop : IDWriteGdiInterop.Interface
+public unsafe partial struct IDWriteGdiInterop : IDWriteGdiInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteGdiInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteGlyphRunAnalysis.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteGlyphRunAnalysis.cs
index 8f23f0511c..710be52562 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteGlyphRunAnalysis.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteGlyphRunAnalysis.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7D97DBF7-E085-42D4-81E3-6A883BDED118")]
[NativeTypeName("struct IDWriteGlyphRunAnalysis : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteGlyphRunAnalysis : IDWriteGlyphRunAnalysis.Interface
+public unsafe partial struct IDWriteGlyphRunAnalysis : IDWriteGlyphRunAnalysis.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteGlyphRunAnalysis));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteInlineObject.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteInlineObject.cs
index f4813c56ca..c369ff5f87 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteInlineObject.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteInlineObject.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("8339FDE3-106F-47AB-8373-1C6295EB10B3")]
[NativeTypeName("struct IDWriteInlineObject : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteInlineObject : IDWriteInlineObject.Interface
+public unsafe partial struct IDWriteInlineObject : IDWriteInlineObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteInlineObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteLocalFontFileLoader.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteLocalFontFileLoader.cs
index 3fc0c359c3..298f46f04f 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteLocalFontFileLoader.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteLocalFontFileLoader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B2D9F3EC-C9FE-4A11-A2EC-D86208F7C0A2")]
[NativeTypeName("struct IDWriteLocalFontFileLoader : IDWriteFontFileLoader")]
[NativeInheritance("IDWriteFontFileLoader")]
-public unsafe partial struct IDWriteLocalFontFileLoader : IDWriteLocalFontFileLoader.Interface
+public unsafe partial struct IDWriteLocalFontFileLoader : IDWriteLocalFontFileLoader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteLocalFontFileLoader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteLocalizedStrings.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteLocalizedStrings.cs
index 10675b3827..07deb42518 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteLocalizedStrings.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteLocalizedStrings.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("08256209-099A-4B34-B86D-C22B110E7771")]
[NativeTypeName("struct IDWriteLocalizedStrings : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteLocalizedStrings : IDWriteLocalizedStrings.Interface
+public unsafe partial struct IDWriteLocalizedStrings : IDWriteLocalizedStrings.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteLocalizedStrings));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteNumberSubstitution.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteNumberSubstitution.cs
index 07057dfdb3..5ef1c002fc 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteNumberSubstitution.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteNumberSubstitution.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("14885CC9-BAB0-4F90-B6ED-5C366A2CD03D")]
[NativeTypeName("struct IDWriteNumberSubstitution : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteNumberSubstitution : IDWriteNumberSubstitution.Interface
+public unsafe partial struct IDWriteNumberSubstitution : IDWriteNumberSubstitution.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteNumberSubstitution));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWritePixelSnapping.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWritePixelSnapping.cs
index 9ad7e57420..761847ae38 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWritePixelSnapping.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWritePixelSnapping.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("EAF3A2DA-ECF4-4D24-B644-B34F6842024B")]
[NativeTypeName("struct IDWritePixelSnapping : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWritePixelSnapping : IDWritePixelSnapping.Interface
+public unsafe partial struct IDWritePixelSnapping : IDWritePixelSnapping.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWritePixelSnapping));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs
index b70e345bc6..7d2843f343 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2F0DA53A-2ADD-47CD-82EE-D9EC34688E75")]
[NativeTypeName("struct IDWriteRenderingParams : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteRenderingParams : IDWriteRenderingParams.Interface
+public unsafe partial struct IDWriteRenderingParams : IDWriteRenderingParams.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSink.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSink.cs
index 6dba5f15da..b8ed603d3e 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSink.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSink.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("5810CD44-0CA0-4701-B3FA-BEC5182AE4F6")]
[NativeTypeName("struct IDWriteTextAnalysisSink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteTextAnalysisSink : IDWriteTextAnalysisSink.Interface
+public unsafe partial struct IDWriteTextAnalysisSink : IDWriteTextAnalysisSink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSource.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSource.cs
index bba090f58f..ebbb927e4d 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSource.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalysisSource.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("688E1A58-5094-47C8-ADC8-FBCEA60AE92B")]
[NativeTypeName("struct IDWriteTextAnalysisSource : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteTextAnalysisSource : IDWriteTextAnalysisSource.Interface
+public unsafe partial struct IDWriteTextAnalysisSource : IDWriteTextAnalysisSource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalyzer.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalyzer.cs
index 66cda40318..01771d17a2 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalyzer.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextAnalyzer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B7E6163E-7F46-43B4-84B3-E4E6249C365D")]
[NativeTypeName("struct IDWriteTextAnalyzer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteTextAnalyzer : IDWriteTextAnalyzer.Interface
+public unsafe partial struct IDWriteTextAnalyzer : IDWriteTextAnalyzer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalyzer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextFormat.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextFormat.cs
index 5acdd30217..d95e214bff 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextFormat.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextFormat.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9C906818-31D7-4FD3-A151-7C5E225DB55A")]
[NativeTypeName("struct IDWriteTextFormat : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface
+public unsafe partial struct IDWriteTextFormat : IDWriteTextFormat.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextLayout.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextLayout.cs
index cc1e90eec7..67f92338ef 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextLayout.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextLayout.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("53737037-6D14-410B-9BFE-0B182BB70961")]
[NativeTypeName("struct IDWriteTextLayout : IDWriteTextFormat")]
[NativeInheritance("IDWriteTextFormat")]
-public unsafe partial struct IDWriteTextLayout : IDWriteTextLayout.Interface
+public unsafe partial struct IDWriteTextLayout : IDWriteTextLayout.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextRenderer.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextRenderer.cs
index b9a9e31049..65ca338e9d 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextRenderer.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTextRenderer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("EF8A8135-5CC6-45FE-8825-C5A0724EB819")]
[NativeTypeName("struct IDWriteTextRenderer : IDWritePixelSnapping")]
[NativeInheritance("IDWritePixelSnapping")]
-public unsafe partial struct IDWriteTextRenderer : IDWriteTextRenderer.Interface
+public unsafe partial struct IDWriteTextRenderer : IDWriteTextRenderer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextRenderer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTypography.cs b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTypography.cs
index 471905d316..af5b380500 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTypography.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite/IDWriteTypography.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("55F1112B-1DC2-4B3C-9541-F46894ED85B6")]
[NativeTypeName("struct IDWriteTypography : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteTypography : IDWriteTypography.Interface
+public unsafe partial struct IDWriteTypography : IDWriteTypography.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTypography));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteBitmapRenderTarget1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteBitmapRenderTarget1.cs
index e0dd536e15..a5e035e778 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteBitmapRenderTarget1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteBitmapRenderTarget1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("791E8298-3EF3-4230-9880-C9BDECC42064")]
[NativeTypeName("struct IDWriteBitmapRenderTarget1 : IDWriteBitmapRenderTarget")]
[NativeInheritance("IDWriteBitmapRenderTarget")]
-public unsafe partial struct IDWriteBitmapRenderTarget1 : IDWriteBitmapRenderTarget1.Interface
+public unsafe partial struct IDWriteBitmapRenderTarget1 : IDWriteBitmapRenderTarget1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteBitmapRenderTarget1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFactory1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFactory1.cs
index 5be5afc389..bee7a64d1e 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFactory1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFactory1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("30572F99-DAC6-41DB-A16E-0486307E606A")]
[NativeTypeName("struct IDWriteFactory1 : IDWriteFactory")]
[NativeInheritance("IDWriteFactory")]
-public unsafe partial struct IDWriteFactory1 : IDWriteFactory1.Interface
+public unsafe partial struct IDWriteFactory1 : IDWriteFactory1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFont1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFont1.cs
index d76d78a36a..0446cd8e3c 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFont1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFont1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("ACD16696-8C14-4F5D-877E-FE3FC1D32738")]
[NativeTypeName("struct IDWriteFont1 : IDWriteFont")]
[NativeInheritance("IDWriteFont")]
-public unsafe partial struct IDWriteFont1 : IDWriteFont1.Interface
+public unsafe partial struct IDWriteFont1 : IDWriteFont1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFontFace1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFontFace1.cs
index e0777d3ff5..d1457f4ac8 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFontFace1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteFontFace1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A71EFDB4-9FDB-4838-AD90-CFC3BE8C3DAF")]
[NativeTypeName("struct IDWriteFontFace1 : IDWriteFontFace")]
[NativeInheritance("IDWriteFontFace")]
-public unsafe partial struct IDWriteFontFace1 : IDWriteFontFace1.Interface
+public unsafe partial struct IDWriteFontFace1 : IDWriteFontFace1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteRenderingParams1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteRenderingParams1.cs
index ddb06ff654..0288f477d3 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteRenderingParams1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteRenderingParams1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("94413CF4-A6FC-4248-8B50-6674348FCAD3")]
[NativeTypeName("struct IDWriteRenderingParams1 : IDWriteRenderingParams")]
[NativeInheritance("IDWriteRenderingParams")]
-public unsafe partial struct IDWriteRenderingParams1 : IDWriteRenderingParams1.Interface
+public unsafe partial struct IDWriteRenderingParams1 : IDWriteRenderingParams1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSink1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSink1.cs
index eda861bf2f..5bc222bcb5 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSink1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSink1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B0D941A0-85E7-4D8B-9FD3-5CED9934482A")]
[NativeTypeName("struct IDWriteTextAnalysisSink1 : IDWriteTextAnalysisSink")]
[NativeInheritance("IDWriteTextAnalysisSink")]
-public unsafe partial struct IDWriteTextAnalysisSink1 : IDWriteTextAnalysisSink1.Interface
+public unsafe partial struct IDWriteTextAnalysisSink1 : IDWriteTextAnalysisSink1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSink1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSource1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSource1.cs
index 9952f40d64..71d5aaafd8 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSource1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalysisSource1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("639CFAD8-0FB4-4B21-A58A-067920120009")]
[NativeTypeName("struct IDWriteTextAnalysisSource1 : IDWriteTextAnalysisSource")]
[NativeInheritance("IDWriteTextAnalysisSource")]
-public unsafe partial struct IDWriteTextAnalysisSource1 : IDWriteTextAnalysisSource1.Interface
+public unsafe partial struct IDWriteTextAnalysisSource1 : IDWriteTextAnalysisSource1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSource1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalyzer1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalyzer1.cs
index b2dc3f8475..53ec68cdaa 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalyzer1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextAnalyzer1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("80DAD800-E21F-4E83-96CE-BFCCE500DB7C")]
[NativeTypeName("struct IDWriteTextAnalyzer1 : IDWriteTextAnalyzer")]
[NativeInheritance("IDWriteTextAnalyzer")]
-public unsafe partial struct IDWriteTextAnalyzer1 : IDWriteTextAnalyzer1.Interface
+public unsafe partial struct IDWriteTextAnalyzer1 : IDWriteTextAnalyzer1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalyzer1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextLayout1.cs b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextLayout1.cs
index 0e25391fc7..542e2d5fcd 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextLayout1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_1/IDWriteTextLayout1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9064D822-80A7-465C-A986-DF65F78B8FEB")]
[NativeTypeName("struct IDWriteTextLayout1 : IDWriteTextLayout")]
[NativeInheritance("IDWriteTextLayout")]
-public unsafe partial struct IDWriteTextLayout1 : IDWriteTextLayout1.Interface
+public unsafe partial struct IDWriteTextLayout1 : IDWriteTextLayout1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteColorGlyphRunEnumerator.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteColorGlyphRunEnumerator.cs
index 8fe3434793..c7a3588c44 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteColorGlyphRunEnumerator.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteColorGlyphRunEnumerator.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteColorGlyphRunEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteColorGlyphRunEnumerator : IDWriteColorGlyphRunEnumerator.Interface
+public unsafe partial struct IDWriteColorGlyphRunEnumerator : IDWriteColorGlyphRunEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteColorGlyphRunEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFactory2.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFactory2.cs
index 591d7c64e5..76c100578e 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFactory2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFactory2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFactory2 : IDWriteFactory1")]
[NativeInheritance("IDWriteFactory1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteFactory2 : IDWriteFactory2.Interface
+public unsafe partial struct IDWriteFactory2 : IDWriteFactory2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFont2.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFont2.cs
index 0068be74a5..81de90ba44 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFont2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFont2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFont2 : IDWriteFont1")]
[NativeInheritance("IDWriteFont1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteFont2 : IDWriteFont2.Interface
+public unsafe partial struct IDWriteFont2 : IDWriteFont2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFace2.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFace2.cs
index 554d3975e8..f187d52de2 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFace2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFace2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFontFace2 : IDWriteFontFace1")]
[NativeInheritance("IDWriteFontFace1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteFontFace2 : IDWriteFontFace2.Interface
+public unsafe partial struct IDWriteFontFace2 : IDWriteFontFace2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFallback.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFallback.cs
index 9920214bd8..bfa3f2042b 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFallback.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFallback.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFontFallback : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteFontFallback : IDWriteFontFallback.Interface
+public unsafe partial struct IDWriteFontFallback : IDWriteFontFallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFallbackBuilder.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFallbackBuilder.cs
index 9d65943257..3c3be56cf3 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFallbackBuilder.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteFontFallbackBuilder.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFontFallbackBuilder : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteFontFallbackBuilder : IDWriteFontFallbackBuilder.Interface
+public unsafe partial struct IDWriteFontFallbackBuilder : IDWriteFontFallbackBuilder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFallbackBuilder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteRenderingParams2.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteRenderingParams2.cs
index 7fbc908446..e56f788d8d 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteRenderingParams2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteRenderingParams2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteRenderingParams2 : IDWriteRenderingParams1")]
[NativeInheritance("IDWriteRenderingParams1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteRenderingParams2 : IDWriteRenderingParams2.Interface
+public unsafe partial struct IDWriteRenderingParams2 : IDWriteRenderingParams2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextAnalyzer2.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextAnalyzer2.cs
index 0c28d32d71..e5dbf4ba75 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextAnalyzer2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextAnalyzer2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteTextAnalyzer2 : IDWriteTextAnalyzer1")]
[NativeInheritance("IDWriteTextAnalyzer1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteTextAnalyzer2 : IDWriteTextAnalyzer2.Interface
+public unsafe partial struct IDWriteTextAnalyzer2 : IDWriteTextAnalyzer2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalyzer2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextFormat1.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextFormat1.cs
index c6cd233ab9..763e265ef1 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextFormat1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextFormat1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteTextFormat1 : IDWriteTextFormat")]
[NativeInheritance("IDWriteTextFormat")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteTextFormat1 : IDWriteTextFormat1.Interface
+public unsafe partial struct IDWriteTextFormat1 : IDWriteTextFormat1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextLayout2.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextLayout2.cs
index 8c087decc9..b528bda714 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextLayout2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextLayout2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteTextLayout2 : IDWriteTextLayout1")]
[NativeInheritance("IDWriteTextLayout1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteTextLayout2 : IDWriteTextLayout2.Interface
+public unsafe partial struct IDWriteTextLayout2 : IDWriteTextLayout2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextRenderer1.cs b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextRenderer1.cs
index 18de1b0ee5..947aa67bc2 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextRenderer1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_2/IDWriteTextRenderer1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteTextRenderer1 : IDWriteTextRenderer")]
[NativeInheritance("IDWriteTextRenderer")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteTextRenderer1 : IDWriteTextRenderer1.Interface
+public unsafe partial struct IDWriteTextRenderer1 : IDWriteTextRenderer1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextRenderer1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteAsyncResult.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteAsyncResult.cs
index e6577bf14f..c5a30681cc 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteAsyncResult.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteAsyncResult.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("CE25F8FD-863B-4D13-9651-C1F88DC73FE2")]
[NativeTypeName("struct IDWriteAsyncResult : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteAsyncResult : IDWriteAsyncResult.Interface
+public unsafe partial struct IDWriteAsyncResult : IDWriteAsyncResult.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteAsyncResult));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteColorGlyphRunEnumerator1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteColorGlyphRunEnumerator1.cs
index 44ded5811e..2ca581b8ea 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteColorGlyphRunEnumerator1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteColorGlyphRunEnumerator1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7C5F86DA-C7A1-4F05-B8E1-55A179FE5A35")]
[NativeTypeName("struct IDWriteColorGlyphRunEnumerator1 : IDWriteColorGlyphRunEnumerator")]
[NativeInheritance("IDWriteColorGlyphRunEnumerator")]
-public unsafe partial struct IDWriteColorGlyphRunEnumerator1 : IDWriteColorGlyphRunEnumerator1.Interface
+public unsafe partial struct IDWriteColorGlyphRunEnumerator1 : IDWriteColorGlyphRunEnumerator1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteColorGlyphRunEnumerator1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory3.cs
index 9fe255228f..76d137b287 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory3.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFactory3 : IDWriteFactory2")]
[NativeInheritance("IDWriteFactory2")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDWriteFactory3 : IDWriteFactory3.Interface
+public unsafe partial struct IDWriteFactory3 : IDWriteFactory3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory4.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory4.cs
index 32edf9d24b..a994487ca4 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory4.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4B0B5BD3-0797-4549-8AC5-FE915CC53856")]
[NativeTypeName("struct IDWriteFactory4 : IDWriteFactory3")]
[NativeInheritance("IDWriteFactory3")]
-public unsafe partial struct IDWriteFactory4 : IDWriteFactory4.Interface
+public unsafe partial struct IDWriteFactory4 : IDWriteFactory4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory5.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory5.cs
index b696165fba..bd0d333284 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory5.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory5.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("958DB99A-BE2A-4F09-AF7D-65189803D1D3")]
[NativeTypeName("struct IDWriteFactory5 : IDWriteFactory4")]
[NativeInheritance("IDWriteFactory4")]
-public unsafe partial struct IDWriteFactory5 : IDWriteFactory5.Interface
+public unsafe partial struct IDWriteFactory5 : IDWriteFactory5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory6.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory6.cs
index 4b5d14255a..abe1e2e1bf 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory6.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory6.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("F3744D80-21F7-42EB-B35D-995BC72FC223")]
[NativeTypeName("struct IDWriteFactory6 : IDWriteFactory5")]
[NativeInheritance("IDWriteFactory5")]
-public unsafe partial struct IDWriteFactory6 : IDWriteFactory6.Interface
+public unsafe partial struct IDWriteFactory6 : IDWriteFactory6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory7.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory7.cs
index 24c4946464..27b6787b03 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory7.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFactory7.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("35D0E0B3-9076-4D2E-A016-A91B568A06B4")]
[NativeTypeName("struct IDWriteFactory7 : IDWriteFactory6")]
[NativeInheritance("IDWriteFactory6")]
-public unsafe partial struct IDWriteFactory7 : IDWriteFactory7.Interface
+public unsafe partial struct IDWriteFactory7 : IDWriteFactory7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFont3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFont3.cs
index 04397615b5..0606368a0a 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFont3.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFont3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFont3 : IDWriteFont2")]
[NativeInheritance("IDWriteFont2")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDWriteFont3 : IDWriteFont3.Interface
+public unsafe partial struct IDWriteFont3 : IDWriteFont3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection1.cs
index 0d54973b10..29e2ca3770 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("53585141-D9F8-4095-8321-D73CF6BD116C")]
[NativeTypeName("struct IDWriteFontCollection1 : IDWriteFontCollection")]
[NativeInheritance("IDWriteFontCollection")]
-public unsafe partial struct IDWriteFontCollection1 : IDWriteFontCollection1.Interface
+public unsafe partial struct IDWriteFontCollection1 : IDWriteFontCollection1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection2.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection2.cs
index 2a4773e01d..b7e1adedd3 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("514039C6-4617-4064-BF8B-92EA83E506E0")]
[NativeTypeName("struct IDWriteFontCollection2 : IDWriteFontCollection1")]
[NativeInheritance("IDWriteFontCollection1")]
-public unsafe partial struct IDWriteFontCollection2 : IDWriteFontCollection2.Interface
+public unsafe partial struct IDWriteFontCollection2 : IDWriteFontCollection2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection3.cs
index d82ae185cb..9d4cea6fbb 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection3.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontCollection3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A4D055A6-F9E3-4E25-93B7-9E309F3AF8E9")]
[NativeTypeName("struct IDWriteFontCollection3 : IDWriteFontCollection2")]
[NativeInheritance("IDWriteFontCollection2")]
-public unsafe partial struct IDWriteFontCollection3 : IDWriteFontCollection3.Interface
+public unsafe partial struct IDWriteFontCollection3 : IDWriteFontCollection3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontDownloadListener.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontDownloadListener.cs
index 75429b4029..645719c8b7 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontDownloadListener.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontDownloadListener.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFontDownloadListener : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteFontDownloadListener : IDWriteFontDownloadListener.Interface
+public unsafe partial struct IDWriteFontDownloadListener : IDWriteFontDownloadListener.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontDownloadListener));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontDownloadQueue.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontDownloadQueue.cs
index 2676635dbb..90520b48da 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontDownloadQueue.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontDownloadQueue.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFontDownloadQueue : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteFontDownloadQueue : IDWriteFontDownloadQueue.Interface
+public unsafe partial struct IDWriteFontDownloadQueue : IDWriteFontDownloadQueue.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontDownloadQueue));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace3.cs
index 4e1e4157d2..fb83199719 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace3.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFontFace3 : IDWriteFontFace2")]
[NativeInheritance("IDWriteFontFace2")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDWriteFontFace3 : IDWriteFontFace3.Interface
+public unsafe partial struct IDWriteFontFace3 : IDWriteFontFace3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace4.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace4.cs
index b8af4b4bdb..63e383cd1f 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace4.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("27F2A904-4EB8-441D-9678-0563F53E3E2F")]
[NativeTypeName("struct IDWriteFontFace4 : IDWriteFontFace3")]
[NativeInheritance("IDWriteFontFace3")]
-public unsafe partial struct IDWriteFontFace4 : IDWriteFontFace4.Interface
+public unsafe partial struct IDWriteFontFace4 : IDWriteFontFace4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace5.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace5.cs
index 531f5fd9fd..8f737d93e2 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace5.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace5.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("98EFF3A5-B667-479A-B145-E2FA5B9FDC29")]
[NativeTypeName("struct IDWriteFontFace5 : IDWriteFontFace4")]
[NativeInheritance("IDWriteFontFace4")]
-public unsafe partial struct IDWriteFontFace5 : IDWriteFontFace5.Interface
+public unsafe partial struct IDWriteFontFace5 : IDWriteFontFace5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace6.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace6.cs
index c7e8bfc4e7..1cd84a7297 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace6.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFace6.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C4B1FE1B-6E84-47D5-B54C-A597981B06AD")]
[NativeTypeName("struct IDWriteFontFace6 : IDWriteFontFace5")]
[NativeInheritance("IDWriteFontFace5")]
-public unsafe partial struct IDWriteFontFace6 : IDWriteFontFace6.Interface
+public unsafe partial struct IDWriteFontFace6 : IDWriteFontFace6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference.cs
index 836b801305..1863fe4c0d 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFontFaceReference : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDWriteFontFaceReference : IDWriteFontFaceReference.Interface
+public unsafe partial struct IDWriteFontFaceReference : IDWriteFontFaceReference.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFaceReference));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference1.cs
index 38395bf044..fccf8b8283 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFaceReference1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C081FE77-2FD1-41AC-A5A3-34983C4BA61A")]
[NativeTypeName("struct IDWriteFontFaceReference1 : IDWriteFontFaceReference")]
[NativeInheritance("IDWriteFontFaceReference")]
-public unsafe partial struct IDWriteFontFaceReference1 : IDWriteFontFaceReference1.Interface
+public unsafe partial struct IDWriteFontFaceReference1 : IDWriteFontFaceReference1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFaceReference1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFallback1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFallback1.cs
index 4b437123d5..67f3a15e19 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFallback1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFallback1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2397599D-DD0D-4681-BD6A-F4F31EAADE77")]
[NativeTypeName("struct IDWriteFontFallback1 : IDWriteFontFallback")]
[NativeInheritance("IDWriteFontFallback")]
-public unsafe partial struct IDWriteFontFallback1 : IDWriteFontFallback1.Interface
+public unsafe partial struct IDWriteFontFallback1 : IDWriteFontFallback1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFallback1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily1.cs
index da908a28c4..52442df2d5 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFontFamily1 : IDWriteFontFamily")]
[NativeInheritance("IDWriteFontFamily")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDWriteFontFamily1 : IDWriteFontFamily1.Interface
+public unsafe partial struct IDWriteFontFamily1 : IDWriteFontFamily1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFamily1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily2.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily2.cs
index 2ad89ac0be..c7767f7bfe 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontFamily2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3ED49E77-A398-4261-B9CF-C126C2131EF3")]
[NativeTypeName("struct IDWriteFontFamily2 : IDWriteFontFamily1")]
[NativeInheritance("IDWriteFontFamily1")]
-public unsafe partial struct IDWriteFontFamily2 : IDWriteFontFamily2.Interface
+public unsafe partial struct IDWriteFontFamily2 : IDWriteFontFamily2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFamily2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList1.cs
index 36d03f43b1..15f00225e5 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFontList1 : IDWriteFontList")]
[NativeInheritance("IDWriteFontList")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDWriteFontList1 : IDWriteFontList1.Interface
+public unsafe partial struct IDWriteFontList1 : IDWriteFontList1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontList1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList2.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList2.cs
index 77e8d3f9bc..3e9644a733 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontList2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("C0763A34-77AF-445A-B735-08C37B0A5BF5")]
[NativeTypeName("struct IDWriteFontList2 : IDWriteFontList1")]
[NativeInheritance("IDWriteFontList1")]
-public unsafe partial struct IDWriteFontList2 : IDWriteFontList2.Interface
+public unsafe partial struct IDWriteFontList2 : IDWriteFontList2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontList2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontResource.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontResource.cs
index 6b51b18336..52a970a061 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontResource.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontResource.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("1F803A76-6871-48E8-987F-B975551C50F2")]
[NativeTypeName("struct IDWriteFontResource : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFontResource : IDWriteFontResource.Interface
+public unsafe partial struct IDWriteFontResource : IDWriteFontResource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontResource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet.cs
index acd5be4101..f96b6c8934 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteFontSet : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDWriteFontSet : IDWriteFontSet.Interface
+public unsafe partial struct IDWriteFontSet : IDWriteFontSet.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet1.cs
index f4b64a23ed..15f00510a2 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7E9FDA85-6C92-4053-BC47-7AE3530DB4D3")]
[NativeTypeName("struct IDWriteFontSet1 : IDWriteFontSet")]
[NativeInheritance("IDWriteFontSet")]
-public unsafe partial struct IDWriteFontSet1 : IDWriteFontSet1.Interface
+public unsafe partial struct IDWriteFontSet1 : IDWriteFontSet1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet2.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet2.cs
index 461778718a..1fd2250d16 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DC7EAD19-E54C-43AF-B2DA-4E2B79BA3F7F")]
[NativeTypeName("struct IDWriteFontSet2 : IDWriteFontSet1")]
[NativeInheritance("IDWriteFontSet1")]
-public unsafe partial struct IDWriteFontSet2 : IDWriteFontSet2.Interface
+public unsafe partial struct IDWriteFontSet2 : IDWriteFontSet2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet3.cs
index eb23ec0307..c1debc000b 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet3.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7C073EF2-A7F4-4045-8C32-8AB8AE640F90")]
[NativeTypeName("struct IDWriteFontSet3 : IDWriteFontSet2")]
[NativeInheritance("IDWriteFontSet2")]
-public unsafe partial struct IDWriteFontSet3 : IDWriteFontSet3.Interface
+public unsafe partial struct IDWriteFontSet3 : IDWriteFontSet3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder.cs
index ea337d810f..e658dfb222 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("2F642AFE-9C68-4F40-B8BE-457401AFCB3D")]
[NativeTypeName("struct IDWriteFontSetBuilder : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteFontSetBuilder : IDWriteFontSetBuilder.Interface
+public unsafe partial struct IDWriteFontSetBuilder : IDWriteFontSetBuilder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSetBuilder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder1.cs
index 0563ca4352..e83bf951c0 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3FF7715F-3CDC-4DC6-9B72-EC5621DCCAFD")]
[NativeTypeName("struct IDWriteFontSetBuilder1 : IDWriteFontSetBuilder")]
[NativeInheritance("IDWriteFontSetBuilder")]
-public unsafe partial struct IDWriteFontSetBuilder1 : IDWriteFontSetBuilder1.Interface
+public unsafe partial struct IDWriteFontSetBuilder1 : IDWriteFontSetBuilder1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSetBuilder1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder2.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder2.cs
index 823dfe4fe7..d29bd60f79 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSetBuilder2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("EE5BA612-B131-463C-8F4F-3189B9401E45")]
[NativeTypeName("struct IDWriteFontSetBuilder2 : IDWriteFontSetBuilder1")]
[NativeInheritance("IDWriteFontSetBuilder1")]
-public unsafe partial struct IDWriteFontSetBuilder2 : IDWriteFontSetBuilder2.Interface
+public unsafe partial struct IDWriteFontSetBuilder2 : IDWriteFontSetBuilder2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSetBuilder2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteGdiInterop1.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteGdiInterop1.cs
index b3744fb650..6e38a06cff 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteGdiInterop1.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteGdiInterop1.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4556BE70-3ABD-4F70-90BE-421780A6F515")]
[NativeTypeName("struct IDWriteGdiInterop1 : IDWriteGdiInterop")]
[NativeInheritance("IDWriteGdiInterop")]
-public unsafe partial struct IDWriteGdiInterop1 : IDWriteGdiInterop1.Interface
+public unsafe partial struct IDWriteGdiInterop1 : IDWriteGdiInterop1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteGdiInterop1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteInMemoryFontFileLoader.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteInMemoryFontFileLoader.cs
index 295ef182d8..a96f051876 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteInMemoryFontFileLoader.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteInMemoryFontFileLoader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("DC102F47-A12D-4B1C-822D-9E117E33043F")]
[NativeTypeName("struct IDWriteInMemoryFontFileLoader : IDWriteFontFileLoader")]
[NativeInheritance("IDWriteFontFileLoader")]
-public unsafe partial struct IDWriteInMemoryFontFileLoader : IDWriteInMemoryFontFileLoader.Interface
+public unsafe partial struct IDWriteInMemoryFontFileLoader : IDWriteInMemoryFontFileLoader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteInMemoryFontFileLoader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRemoteFontFileLoader.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRemoteFontFileLoader.cs
index 1393db0077..a913794c6e 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRemoteFontFileLoader.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRemoteFontFileLoader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("68648C83-6EDE-46C0-AB46-20083A887FDE")]
[NativeTypeName("struct IDWriteRemoteFontFileLoader : IDWriteFontFileLoader")]
[NativeInheritance("IDWriteFontFileLoader")]
-public unsafe partial struct IDWriteRemoteFontFileLoader : IDWriteRemoteFontFileLoader.Interface
+public unsafe partial struct IDWriteRemoteFontFileLoader : IDWriteRemoteFontFileLoader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRemoteFontFileLoader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRemoteFontFileStream.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRemoteFontFileStream.cs
index 11d814fdb1..c7ddc91826 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRemoteFontFileStream.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRemoteFontFileStream.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4DB3757A-2C72-4ED9-B2B6-1ABABE1AFF9C")]
[NativeTypeName("struct IDWriteRemoteFontFileStream : IDWriteFontFileStream")]
[NativeInheritance("IDWriteFontFileStream")]
-public unsafe partial struct IDWriteRemoteFontFileStream : IDWriteRemoteFontFileStream.Interface
+public unsafe partial struct IDWriteRemoteFontFileStream : IDWriteRemoteFontFileStream.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRemoteFontFileStream));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRenderingParams3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRenderingParams3.cs
index 64e997ad8a..be5484df78 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRenderingParams3.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteRenderingParams3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteRenderingParams3 : IDWriteRenderingParams2")]
[NativeInheritance("IDWriteRenderingParams2")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IDWriteRenderingParams3 : IDWriteRenderingParams3.Interface
+public unsafe partial struct IDWriteRenderingParams3 : IDWriteRenderingParams3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteStringList.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteStringList.cs
index 93ecead1b6..27aedb5cdc 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteStringList.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteStringList.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("CFEE3140-1157-47CA-8B85-31BFCF3F2D0E")]
[NativeTypeName("struct IDWriteStringList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDWriteStringList : IDWriteStringList.Interface
+public unsafe partial struct IDWriteStringList : IDWriteStringList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteStringList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat2.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat2.cs
index 8fb0c9d20e..5e89255a35 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat2.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteTextFormat2 : IDWriteTextFormat1")]
[NativeInheritance("IDWriteTextFormat1")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteTextFormat2 : IDWriteTextFormat2.Interface
+public unsafe partial struct IDWriteTextFormat2 : IDWriteTextFormat2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat3.cs
index 40e6ff04ea..5aaaba359b 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat3.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextFormat3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("6D3B5641-E550-430D-A85B-B7BF48A93427")]
[NativeTypeName("struct IDWriteTextFormat3 : IDWriteTextFormat2")]
[NativeInheritance("IDWriteTextFormat2")]
-public unsafe partial struct IDWriteTextFormat3 : IDWriteTextFormat3.Interface
+public unsafe partial struct IDWriteTextFormat3 : IDWriteTextFormat3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout3.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout3.cs
index 881baf31e8..d52b0df3ca 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout3.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDWriteTextLayout3 : IDWriteTextLayout2")]
[NativeInheritance("IDWriteTextLayout2")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDWriteTextLayout3 : IDWriteTextLayout3.Interface
+public unsafe partial struct IDWriteTextLayout3 : IDWriteTextLayout3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout4.cs b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout4.cs
index 771a518c61..41a4c329e8 100644
--- a/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout4.cs
+++ b/sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteTextLayout4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("05A9BF42-223F-4441-B5FB-8263685F55E9")]
[NativeTypeName("struct IDWriteTextLayout4 : IDWriteTextLayout3")]
[NativeInheritance("IDWriteTextLayout3")]
-public unsafe partial struct IDWriteTextLayout4 : IDWriteTextLayout4.Interface
+public unsafe partial struct IDWriteTextLayout4 : IDWriteTextLayout4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcAssembler.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcAssembler.cs
index e2e7aa82d6..57c2bc0dff 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcAssembler.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcAssembler.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("091F7A26-1C1F-4948-904B-E6E3A8A771D5")]
[NativeTypeName("struct IDxcAssembler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcAssembler : IDxcAssembler.Interface
+public unsafe partial struct IDxcAssembler : IDxcAssembler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcAssembler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlob.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlob.cs
index 0d8ac1f191..0526822d96 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlob.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlob.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("8BA5FB08-5195-40E2-AC58-0D989C3A0102")]
[NativeTypeName("struct IDxcBlob : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcBlob : IDxcBlob.Interface
+public unsafe partial struct IDxcBlob : IDxcBlob.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlob));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs
index 84b0fc7f73..5e08278fee 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7241D424-2646-4191-97C0-98E96E42FC68")]
[NativeTypeName("struct IDxcBlobEncoding : IDxcBlob")]
[NativeInheritance("IDxcBlob")]
-public unsafe partial struct IDxcBlobEncoding : IDxcBlobEncoding.Interface
+public unsafe partial struct IDxcBlobEncoding : IDxcBlobEncoding.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlobEncoding));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobUtf16.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobUtf16.cs
index f30fd7536c..9a0dc0620f 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobUtf16.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobUtf16.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A3F84EAB-0FAA-497E-A39C-EE6ED60B2D84")]
[NativeTypeName("struct IDxcBlobUtf16 : IDxcBlobEncoding")]
[NativeInheritance("IDxcBlobEncoding")]
-public unsafe partial struct IDxcBlobUtf16 : IDxcBlobUtf16.Interface
+public unsafe partial struct IDxcBlobUtf16 : IDxcBlobUtf16.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlobUtf16));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobUtf8.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobUtf8.cs
index 979ac5aaab..486b7f87fe 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobUtf8.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcBlobUtf8.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("3DA636C9-BA71-4024-A301-30CBF125305B")]
[NativeTypeName("struct IDxcBlobUtf8 : IDxcBlobEncoding")]
[NativeInheritance("IDxcBlobEncoding")]
-public unsafe partial struct IDxcBlobUtf8 : IDxcBlobUtf8.Interface
+public unsafe partial struct IDxcBlobUtf8 : IDxcBlobUtf8.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlobUtf8));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler.cs
index f9499f6b7e..672f67c9e9 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("8C210BF3-011F-4422-8D70-6F9ACB8DB617")]
[NativeTypeName("struct IDxcCompiler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcCompiler : IDxcCompiler.Interface
+public unsafe partial struct IDxcCompiler : IDxcCompiler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompiler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler2.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler2.cs
index fb77190bac..0fe3d6f294 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler2.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A005A9D9-B8BB-4594-B5C9-0E633BEC4D37")]
[NativeTypeName("struct IDxcCompiler2 : IDxcCompiler")]
[NativeInheritance("IDxcCompiler")]
-public unsafe partial struct IDxcCompiler2 : IDxcCompiler2.Interface
+public unsafe partial struct IDxcCompiler2 : IDxcCompiler2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompiler2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler3.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler3.cs
index 0654d6a769..951d739540 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler3.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompiler3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("228B4687-5A6A-4730-900C-9702B2203F54")]
[NativeTypeName("struct IDxcCompiler3 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcCompiler3 : IDxcCompiler3.Interface
+public unsafe partial struct IDxcCompiler3 : IDxcCompiler3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompiler3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompilerArgs.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompilerArgs.cs
index da79edb5c2..cb50eeb616 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompilerArgs.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcCompilerArgs.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("73EFFE2A-70DC-45F8-9690-EFF64C02429D")]
[NativeTypeName("struct IDxcCompilerArgs : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcCompilerArgs : IDxcCompilerArgs.Interface
+public unsafe partial struct IDxcCompilerArgs : IDxcCompilerArgs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompilerArgs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcContainerBuilder.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcContainerBuilder.cs
index 112fb86af0..ccaafd728a 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcContainerBuilder.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcContainerBuilder.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("334B1F50-2292-4B35-99A1-25588D8C17FE")]
[NativeTypeName("struct IDxcContainerBuilder : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcContainerBuilder : IDxcContainerBuilder.Interface
+public unsafe partial struct IDxcContainerBuilder : IDxcContainerBuilder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcContainerBuilder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcContainerReflection.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcContainerReflection.cs
index 445d175491..be65fcce15 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcContainerReflection.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcContainerReflection.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("D2C21B26-8350-4BDC-976A-331CE6F4C54C")]
[NativeTypeName("struct IDxcContainerReflection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcContainerReflection : IDxcContainerReflection.Interface
+public unsafe partial struct IDxcContainerReflection : IDxcContainerReflection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcContainerReflection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs
index 715237e344..fafbce5b8f 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7F61FC7D-950D-467F-B3E3-3C02FB49187C")]
[NativeTypeName("struct IDxcIncludeHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcIncludeHandler : IDxcIncludeHandler.Interface
+public unsafe partial struct IDxcIncludeHandler : IDxcIncludeHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcIncludeHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcLibrary.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcLibrary.cs
index eb333f575c..074c7858a3 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcLibrary.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcLibrary.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("E5204DC7-D18C-4C3C-BDFB-851673980FE7")]
[NativeTypeName("struct IDxcLibrary : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcLibrary : IDxcLibrary.Interface
+public unsafe partial struct IDxcLibrary : IDxcLibrary.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcLibrary));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcLinker.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcLinker.cs
index f835f79916..e16cb3821d 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcLinker.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcLinker.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("F1B5BE2A-62DD-4327-A1C2-42AC1E1E78E6")]
[NativeTypeName("struct IDxcLinker : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcLinker : IDxcLinker.Interface
+public unsafe partial struct IDxcLinker : IDxcLinker.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcLinker));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOperationResult.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOperationResult.cs
index a23707b596..686d223007 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOperationResult.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOperationResult.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("CEDB484A-D4E9-445A-B991-CA21CA157DC2")]
[NativeTypeName("struct IDxcOperationResult : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcOperationResult : IDxcOperationResult.Interface
+public unsafe partial struct IDxcOperationResult : IDxcOperationResult.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcOperationResult));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOptimizer.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOptimizer.cs
index b7f3abaeab..4e07c16dda 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOptimizer.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOptimizer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("25740E2E-9CBA-401B-9119-4FB42F39F270")]
[NativeTypeName("struct IDxcOptimizer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcOptimizer : IDxcOptimizer.Interface
+public unsafe partial struct IDxcOptimizer : IDxcOptimizer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcOptimizer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOptimizerPass.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOptimizerPass.cs
index b31f0cdd99..e5065e1963 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOptimizerPass.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcOptimizerPass.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("AE2CD79F-CC22-453F-9B6B-B124E7A5204C")]
[NativeTypeName("struct IDxcOptimizerPass : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcOptimizerPass : IDxcOptimizerPass.Interface
+public unsafe partial struct IDxcOptimizerPass : IDxcOptimizerPass.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcOptimizerPass));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcResult.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcResult.cs
index e9445e768a..ba7c359baf 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcResult.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcResult.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("58346CDA-DDE7-4497-9461-6F87AF5E0659")]
[NativeTypeName("struct IDxcResult : IDxcOperationResult")]
[NativeInheritance("IDxcOperationResult")]
-public unsafe partial struct IDxcResult : IDxcResult.Interface
+public unsafe partial struct IDxcResult : IDxcResult.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcResult));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcUtils.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcUtils.cs
index 35ea96e30c..c0cf2f10e1 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcUtils.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcUtils.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("4605C4CB-2019-492A-ADA4-65F20BB7D67F")]
[NativeTypeName("struct IDxcUtils : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcUtils : IDxcUtils.Interface
+public unsafe partial struct IDxcUtils : IDxcUtils.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcUtils));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcValidator.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcValidator.cs
index b20649e599..873723345f 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcValidator.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcValidator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A6E82BD2-1FD7-4826-9811-2857E797F49A")]
[NativeTypeName("struct IDxcValidator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcValidator : IDxcValidator.Interface
+public unsafe partial struct IDxcValidator : IDxcValidator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcValidator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcVersionInfo.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcVersionInfo.cs
index e591e96ebd..a7a38f4a8d 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcVersionInfo.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcVersionInfo.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("B04F5B50-2059-4F12-A8FF-A1E0CDE1CC7E")]
[NativeTypeName("struct IDxcVersionInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxcVersionInfo : IDxcVersionInfo.Interface
+public unsafe partial struct IDxcVersionInfo : IDxcVersionInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcVersionInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcVersionInfo2.cs b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcVersionInfo2.cs
index da12230d8d..d3a5e92222 100644
--- a/sources/Interop/Windows/DirectX/um/dxcapi/IDxcVersionInfo2.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcapi/IDxcVersionInfo2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("FB6904C4-42F0-4B62-9C46-983AF7DA7C83")]
[NativeTypeName("struct IDxcVersionInfo2 : IDxcVersionInfo")]
[NativeInheritance("IDxcVersionInfo")]
-public unsafe partial struct IDxcVersionInfo2 : IDxcVersionInfo2.Interface
+public unsafe partial struct IDxcVersionInfo2 : IDxcVersionInfo2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcVersionInfo2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapter.cs b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapter.cs
index 2ba90dbdaf..7592d5996d 100644
--- a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapter.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapter.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXCoreAdapter : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct IDXCoreAdapter : IDXCoreAdapter.Interface
+public unsafe partial struct IDXCoreAdapter : IDXCoreAdapter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXCoreAdapter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterFactory.cs b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterFactory.cs
index 74724a2e64..3a22746e43 100644
--- a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterFactory.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterFactory.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXCoreAdapterFactory : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct IDXCoreAdapterFactory : IDXCoreAdapterFactory.Interface
+public unsafe partial struct IDXCoreAdapterFactory : IDXCoreAdapterFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXCoreAdapterFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterList.cs b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterList.cs
index 408d362cde..9a8d06b9a4 100644
--- a/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterList.cs
+++ b/sources/Interop/Windows/DirectX/um/dxcore_interface/IDXCoreAdapterList.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXCoreAdapterList : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct IDXCoreAdapterList : IDXCoreAdapterList.Interface
+public unsafe partial struct IDXCoreAdapterList : IDXCoreAdapterList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXCoreAdapterList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainer.cs b/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainer.cs
index a9542b62d9..244c272228 100644
--- a/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainer.cs
+++ b/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagContainer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("7D0F462F-4064-4862-BC7F-933E5058C10F")]
[NativeTypeName("struct IDxDiagContainer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxDiagContainer : IDxDiagContainer.Interface
+public unsafe partial struct IDxDiagContainer : IDxDiagContainer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxDiagContainer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagProvider.cs b/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagProvider.cs
index 486c7091b2..8336f828f4 100644
--- a/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagProvider.cs
+++ b/sources/Interop/Windows/DirectX/um/dxdiag/IDxDiagProvider.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("9C6B4CB0-23F8-49CC-A3ED-45A55000A6D2")]
[NativeTypeName("struct IDxDiagProvider : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDxDiagProvider : IDxDiagProvider.Interface
+public unsafe partial struct IDxDiagProvider : IDxDiagProvider.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxDiagProvider));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIDebug.cs b/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIDebug.cs
index 409b2c53db..e5ea9a803e 100644
--- a/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIDebug.cs
+++ b/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIDebug.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIDebug : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface
+public unsafe partial struct IDXGIDebug : IDXGIDebug.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDebug));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIDebug1.cs b/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIDebug1.cs
index 0dd4293cca..1b65266240 100644
--- a/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIDebug1.cs
+++ b/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIDebug1.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIDebug1 : IDXGIDebug")]
[NativeInheritance("IDXGIDebug")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface
+public unsafe partial struct IDXGIDebug1 : IDXGIDebug1.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDebug1));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIInfoQueue.cs b/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIInfoQueue.cs
index a6d0ff77c8..b96693e260 100644
--- a/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIInfoQueue.cs
+++ b/sources/Interop/Windows/DirectX/um/dxgidebug/IDXGIInfoQueue.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IDXGIInfoQueue : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface
+public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIInfoQueue));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/xapo/IXAPO.cs b/sources/Interop/Windows/DirectX/um/xapo/IXAPO.cs
index 103e2d8efd..4dded42677 100644
--- a/sources/Interop/Windows/DirectX/um/xapo/IXAPO.cs
+++ b/sources/Interop/Windows/DirectX/um/xapo/IXAPO.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("A410B984-9839-4819-A0BE-2856AE6B3ADB")]
[NativeTypeName("struct IXAPO : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IXAPO : IXAPO.Interface
+public unsafe partial struct IXAPO : IXAPO.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IXAPO));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/xapo/IXAPOParameters.cs b/sources/Interop/Windows/DirectX/um/xapo/IXAPOParameters.cs
index 8c36d1339b..f705aae24a 100644
--- a/sources/Interop/Windows/DirectX/um/xapo/IXAPOParameters.cs
+++ b/sources/Interop/Windows/DirectX/um/xapo/IXAPOParameters.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("26D95C66-80F2-499A-AD54-5AE7F01C6D98")]
[NativeTypeName("struct IXAPOParameters : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IXAPOParameters : IXAPOParameters.Interface
+public unsafe partial struct IXAPOParameters : IXAPOParameters.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IXAPOParameters));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/xapofx/FXEQ.cs b/sources/Interop/Windows/DirectX/um/xapofx/FXEQ.cs
index c6bab80578..c11c761433 100644
--- a/sources/Interop/Windows/DirectX/um/xapofx/FXEQ.cs
+++ b/sources/Interop/Windows/DirectX/um/xapofx/FXEQ.cs
@@ -3,13 +3,18 @@
// Ported from um/xapofx.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
[Guid("F5E01117-D6C4-485A-A3F5-695196F3DBFA")]
-public partial struct FXEQ
+public unsafe partial struct FXEQ : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_FXEQ));
+
[NativeTypeName("#define FXEQ_MIN_FRAMERATE 22000")]
public const int FXEQ_MIN_FRAMERATE = 22000;
diff --git a/sources/Interop/Windows/DirectX/um/xapofx/FXEcho.cs b/sources/Interop/Windows/DirectX/um/xapofx/FXEcho.cs
index b40633b74c..de4f338fdb 100644
--- a/sources/Interop/Windows/DirectX/um/xapofx/FXEcho.cs
+++ b/sources/Interop/Windows/DirectX/um/xapofx/FXEcho.cs
@@ -3,13 +3,18 @@
// Ported from um/xapofx.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
[Guid("5039D740-F736-449A-84D3-A56202557B87")]
-public partial struct FXEcho
+public unsafe partial struct FXEcho : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_FXEcho));
+
[NativeTypeName("#define FXECHO_MIN_WETDRYMIX 0.0f")]
public const float FXECHO_MIN_WETDRYMIX = 0.0f;
diff --git a/sources/Interop/Windows/DirectX/um/xapofx/FXMasteringLimiter.cs b/sources/Interop/Windows/DirectX/um/xapofx/FXMasteringLimiter.cs
index 7cc3c1a1c7..3c8b30316d 100644
--- a/sources/Interop/Windows/DirectX/um/xapofx/FXMasteringLimiter.cs
+++ b/sources/Interop/Windows/DirectX/um/xapofx/FXMasteringLimiter.cs
@@ -3,13 +3,18 @@
// Ported from um/xapofx.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
[Guid("C4137916-2BE1-46FD-8599-441536F49856")]
-public partial struct FXMasteringLimiter
+public unsafe partial struct FXMasteringLimiter : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_FXMasteringLimiter));
+
[NativeTypeName("#define FXMASTERINGLIMITER_MIN_RELEASE 1")]
public const int FXMASTERINGLIMITER_MIN_RELEASE = 1;
diff --git a/sources/Interop/Windows/DirectX/um/xapofx/FXReverb.cs b/sources/Interop/Windows/DirectX/um/xapofx/FXReverb.cs
index 454557fe96..40a73683ef 100644
--- a/sources/Interop/Windows/DirectX/um/xapofx/FXReverb.cs
+++ b/sources/Interop/Windows/DirectX/um/xapofx/FXReverb.cs
@@ -3,13 +3,18 @@
// Ported from um/xapofx.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
[Guid("7D9ACA56-CB68-4807-B632-B137352E8596")]
-public partial struct FXReverb
+public unsafe partial struct FXReverb : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_FXReverb));
+
[NativeTypeName("#define FXREVERB_MIN_DIFFUSION 0.0f")]
public const float FXREVERB_MIN_DIFFUSION = 0.0f;
diff --git a/sources/Interop/Windows/DirectX/um/xaudio2/IXAudio2.cs b/sources/Interop/Windows/DirectX/um/xaudio2/IXAudio2.cs
index 33bf8a6b28..512c8ff335 100644
--- a/sources/Interop/Windows/DirectX/um/xaudio2/IXAudio2.cs
+++ b/sources/Interop/Windows/DirectX/um/xaudio2/IXAudio2.cs
@@ -9,6 +9,7 @@
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
using static TerraFX.Interop.Windows.AUDIO_STREAM_CATEGORY;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -17,8 +18,10 @@ namespace TerraFX.Interop.DirectX;
[NativeTypeName("struct IXAudio2 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IXAudio2 : IXAudio2.Interface
+public unsafe partial struct IXAudio2 : IXAudio2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IXAudio2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/xaudio2/IXAudio2Extension.cs b/sources/Interop/Windows/DirectX/um/xaudio2/IXAudio2Extension.cs
index c3c2bbf7ac..aeab27244c 100644
--- a/sources/Interop/Windows/DirectX/um/xaudio2/IXAudio2Extension.cs
+++ b/sources/Interop/Windows/DirectX/um/xaudio2/IXAudio2Extension.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.DirectX;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.DirectX;
[Guid("84AC29BB-D619-44D2-B197-E4ACF7DF3ED6")]
[NativeTypeName("struct IXAudio2Extension : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IXAudio2Extension : IXAudio2Extension.Interface
+public unsafe partial struct IXAudio2Extension : IXAudio2Extension.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IXAudio2Extension));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/DirectX/um/xaudio2/XAUDIO2.cs b/sources/Interop/Windows/DirectX/um/xaudio2/XAUDIO2.cs
index 5ff635c146..e40ee9a528 100644
--- a/sources/Interop/Windows/DirectX/um/xaudio2/XAUDIO2.cs
+++ b/sources/Interop/Windows/DirectX/um/xaudio2/XAUDIO2.cs
@@ -12,7 +12,7 @@ namespace TerraFX.Interop.DirectX;
public static partial class XAUDIO2
{
[NativeTypeName("#define XAUDIO2_DLL_A \"xaudio2_9.dll\"")]
- public static ReadOnlySpan XAUDIO2_DLL_A => new byte[] { 0x78, 0x61, 0x75, 0x64, 0x69, 0x6F, 0x32, 0x5F, 0x39, 0x2E, 0x64, 0x6C, 0x6C, 0x00 };
+ public static ReadOnlySpan XAUDIO2_DLL_A => "xaudio2_9.dll"u8;
[NativeTypeName("#define XAUDIO2_DLL_W L\"xaudio2_9.dll\"")]
public const string XAUDIO2_DLL_W = "xaudio2_9.dll";
diff --git a/sources/Interop/Windows/DirectX/um/xaudio2/XAUDIO2D.cs b/sources/Interop/Windows/DirectX/um/xaudio2/XAUDIO2D.cs
index af45969159..7f8b4019ec 100644
--- a/sources/Interop/Windows/DirectX/um/xaudio2/XAUDIO2D.cs
+++ b/sources/Interop/Windows/DirectX/um/xaudio2/XAUDIO2D.cs
@@ -10,7 +10,7 @@ namespace TerraFX.Interop.DirectX;
public static partial class XAUDIO2D
{
[NativeTypeName("#define XAUDIO2D_DLL_A \"xaudio2_9d.dll\"")]
- public static ReadOnlySpan XAUDIO2D_DLL_A => new byte[] { 0x78, 0x61, 0x75, 0x64, 0x69, 0x6F, 0x32, 0x5F, 0x39, 0x64, 0x2E, 0x64, 0x6C, 0x6C, 0x00 };
+ public static ReadOnlySpan XAUDIO2D_DLL_A => "xaudio2_9d.dll"u8;
[NativeTypeName("#define XAUDIO2D_DLL_W L\"xaudio2_9d.dll\"")]
public const string XAUDIO2D_DLL_W = "xaudio2_9d.dll";
diff --git a/sources/Interop/Windows/DirectX/um/xaudio2fx/AudioReverb.cs b/sources/Interop/Windows/DirectX/um/xaudio2fx/AudioReverb.cs
index 72243807fc..c97d3143f4 100644
--- a/sources/Interop/Windows/DirectX/um/xaudio2fx/AudioReverb.cs
+++ b/sources/Interop/Windows/DirectX/um/xaudio2fx/AudioReverb.cs
@@ -3,12 +3,16 @@
// Ported from um/xaudio2fx.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
///
[Guid("C2633B16-471B-4498-B8C5-4F0959E2EC09")]
-public partial struct AudioReverb
+public unsafe partial struct AudioReverb : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_AudioReverb));
}
diff --git a/sources/Interop/Windows/DirectX/um/xaudio2fx/AudioVolumeMeter.cs b/sources/Interop/Windows/DirectX/um/xaudio2fx/AudioVolumeMeter.cs
index eb0ebc1b64..84aa1fe9e8 100644
--- a/sources/Interop/Windows/DirectX/um/xaudio2fx/AudioVolumeMeter.cs
+++ b/sources/Interop/Windows/DirectX/um/xaudio2fx/AudioVolumeMeter.cs
@@ -3,12 +3,16 @@
// Ported from um/xaudio2fx.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.DirectX;
///
[Guid("4FC3B166-972A-40CF-BC37-7DB03DB2FBA3")]
-public partial struct AudioVolumeMeter
+public unsafe partial struct AudioVolumeMeter : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_AudioVolumeMeter));
}
diff --git a/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/EncoderParameters.cs b/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/EncoderParameters.cs
index fc49680373..2df768bd36 100644
--- a/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/EncoderParameters.cs
+++ b/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/EncoderParameters.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -24,6 +25,7 @@ public partial struct _Parameter_e__FixedBuffer
{
public EncoderParameter e0;
+ [UnscopedRef]
public ref EncoderParameter this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -34,6 +36,7 @@ public ref EncoderParameter this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/IImageBytes.cs b/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/IImageBytes.cs
index 428ddf9217..4f72ba0d79 100644
--- a/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/IImageBytes.cs
+++ b/sources/Interop/Windows/Gdiplus/um/gdiplusimaging/IImageBytes.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Gdiplus;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.Gdiplus;
[Guid("025D1823-6C7D-447B-BBDB-A3CBC3DFA2FC")]
[NativeTypeName("struct IImageBytes : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IImageBytes : IImageBytes.Interface
+public unsafe partial struct IImageBytes : IImageBytes.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IImageBytes));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Gdiplus/um/gdiplusmetaheader/MetafileHeader.cs b/sources/Interop/Windows/Gdiplus/um/gdiplusmetaheader/MetafileHeader.cs
index 767b25a961..5077bd543a 100644
--- a/sources/Interop/Windows/Gdiplus/um/gdiplusmetaheader/MetafileHeader.cs
+++ b/sources/Interop/Windows/Gdiplus/um/gdiplusmetaheader/MetafileHeader.cs
@@ -3,6 +3,7 @@
// Ported from um/gdiplusmetaheader.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
@@ -60,22 +61,24 @@ public unsafe partial struct MetafileHeader
public int LogicalDpiY;
///
+ [UnscopedRef]
public ref METAHEADER WmfHeader
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.WmfHeader, 1));
+ return ref Anonymous.WmfHeader;
}
}
///
+ [UnscopedRef]
public ref ENHMETAHEADER3 EmfHeader
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.EmfHeader, 1));
+ return ref Anonymous.EmfHeader;
}
}
diff --git a/sources/Interop/Windows/Shims/UnscopedRefAttribute.cs b/sources/Interop/Windows/Shims/UnscopedRefAttribute.cs
new file mode 100644
index 0000000000..15b202d819
--- /dev/null
+++ b/sources/Interop/Windows/Shims/UnscopedRefAttribute.cs
@@ -0,0 +1,8 @@
+// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
+
+namespace System.Diagnostics.CodeAnalysis;
+
+[AttributeUsageAttribute(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Parameter, Inherited = false)]
+internal sealed class UnscopedRefAttribute : Attribute
+{
+}
diff --git a/sources/Interop/Windows/TerraFX.Interop.Windows.csproj b/sources/Interop/Windows/TerraFX.Interop.Windows.csproj
index f1cf16f57b..44390adda8 100644
--- a/sources/Interop/Windows/TerraFX.Interop.Windows.csproj
+++ b/sources/Interop/Windows/TerraFX.Interop.Windows.csproj
@@ -3,13 +3,17 @@
- 0419;1571;1572;1573;1574;1580;1584;1589;1591;1658;IDE0017;$(NoWarn)
+ $(NoWarn);CA2252;CS0419;CS1571;CS1572;CS1573;CS1574;CS1580;CS1584;CS1589;CS1591;CS1658;IDE0017
TerraFX.Interop
- net6.0
+ net6.0;net7.0
+
+
+
+
diff --git a/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingController.cs b/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingController.cs
index dd9bb3c02c..304520e9ce 100644
--- a/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingController.cs
+++ b/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingController.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("F0A56423-A664-4FBD-8B43-409A45E8D9A1")]
[NativeTypeName("struct ICastingController : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICastingController : ICastingController.Interface
+public unsafe partial struct ICastingController : ICastingController.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICastingController));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingEventHandler.cs b/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingEventHandler.cs
index a248f2461c..06555074e4 100644
--- a/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingEventHandler.cs
+++ b/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingEventHandler.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("C79A6CB7-BEBD-47A6-A2AD-4D45AD79C7BC")]
[NativeTypeName("struct ICastingEventHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICastingEventHandler : ICastingEventHandler.Interface
+public unsafe partial struct ICastingEventHandler : ICastingEventHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICastingEventHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingSourceInfo.cs b/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingSourceInfo.cs
index 92571b60c4..b0a8fdc59b 100644
--- a/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingSourceInfo.cs
+++ b/sources/Interop/Windows/WinRT/um/CastingInterop/ICastingSourceInfo.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("45101AB7-7C3A-4BCE-9500-12C09024B298")]
[NativeTypeName("struct ICastingSourceInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICastingSourceInfo : ICastingSourceInfo.Interface
+public unsafe partial struct ICastingSourceInfo : ICastingSourceInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICastingSourceInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/HolographicSpaceInterop/IHolographicSpaceInterop.cs b/sources/Interop/Windows/WinRT/um/HolographicSpaceInterop/IHolographicSpaceInterop.cs
index 1230599da5..8e2d521bd8 100644
--- a/sources/Interop/Windows/WinRT/um/HolographicSpaceInterop/IHolographicSpaceInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/HolographicSpaceInterop/IHolographicSpaceInterop.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IHolographicSpaceInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct IHolographicSpaceInterop : IHolographicSpaceInterop.Interface
+public unsafe partial struct IHolographicSpaceInterop : IHolographicSpaceInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHolographicSpaceInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/IContentPrefetcherTaskTrigger/IContentPrefetcherTaskTrigger.cs b/sources/Interop/Windows/WinRT/um/IContentPrefetcherTaskTrigger/IContentPrefetcherTaskTrigger.cs
index 43624b858c..62609e257e 100644
--- a/sources/Interop/Windows/WinRT/um/IContentPrefetcherTaskTrigger/IContentPrefetcherTaskTrigger.cs
+++ b/sources/Interop/Windows/WinRT/um/IContentPrefetcherTaskTrigger/IContentPrefetcherTaskTrigger.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IContentPrefetcherTaskTrigger : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IContentPrefetcherTaskTrigger : IContentPrefetcherTaskTrigger.Interface
+public unsafe partial struct IContentPrefetcherTaskTrigger : IContentPrefetcherTaskTrigger.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContentPrefetcherTaskTrigger));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/IMessageDispatcher/IMessageDispatcher.cs b/sources/Interop/Windows/WinRT/um/IMessageDispatcher/IMessageDispatcher.cs
index 9a656359e4..d2a3f54fd2 100644
--- a/sources/Interop/Windows/WinRT/um/IMessageDispatcher/IMessageDispatcher.cs
+++ b/sources/Interop/Windows/WinRT/um/IMessageDispatcher/IMessageDispatcher.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("F5F84C8F-CFD0-4CD6-B66B-C5D26FF1689D")]
[NativeTypeName("struct IMessageDispatcher : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IMessageDispatcher : IMessageDispatcher.Interface
+public unsafe partial struct IMessageDispatcher : IMessageDispatcher.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMessageDispatcher));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorAttributes.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorAttributes.cs
index 96448b4a97..062ce44936 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorAttributes.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorAttributes.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("4B1B1759-EC40-466C-AAB4-BEB5347FD24C")]
[NativeTypeName("struct IMLOperatorAttributes : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMLOperatorAttributes : IMLOperatorAttributes.Interface
+public unsafe partial struct IMLOperatorAttributes : IMLOperatorAttributes.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorAttributes));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernel.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernel.cs
index f8e0afd038..c90b06637f 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernel.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernel.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("11C4B4A0-B467-4EAA-A1A6-B961D8D0ED79")]
[NativeTypeName("struct IMLOperatorKernel : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMLOperatorKernel : IMLOperatorKernel.Interface
+public unsafe partial struct IMLOperatorKernel : IMLOperatorKernel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorKernel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelContext.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelContext.cs
index 2f6d43c3a6..acea93334f 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelContext.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelContext.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("82536A28-F022-4769-9D3F-8B278F84C0C3")]
[NativeTypeName("struct IMLOperatorKernelContext : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMLOperatorKernelContext : IMLOperatorKernelContext.Interface
+public unsafe partial struct IMLOperatorKernelContext : IMLOperatorKernelContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorKernelContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelCreationContext.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelCreationContext.cs
index d4aa8df24f..477a593204 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelCreationContext.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelCreationContext.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("5459B53D-A0FC-4665-ADDD-70171EF7E631")]
[NativeTypeName("struct IMLOperatorKernelCreationContext : IMLOperatorAttributes")]
[NativeInheritance("IMLOperatorAttributes")]
-public unsafe partial struct IMLOperatorKernelCreationContext : IMLOperatorKernelCreationContext.Interface
+public unsafe partial struct IMLOperatorKernelCreationContext : IMLOperatorKernelCreationContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorKernelCreationContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelFactory.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelFactory.cs
index c0551b8415..b94756372f 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelFactory.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorKernelFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("EF15AD6F-0DC9-4908-AB35-A575A30DFBF8")]
[NativeTypeName("struct IMLOperatorKernelFactory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMLOperatorKernelFactory : IMLOperatorKernelFactory.Interface
+public unsafe partial struct IMLOperatorKernelFactory : IMLOperatorKernelFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorKernelFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorRegistry.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorRegistry.cs
index 96556ba9b6..fe627e5613 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorRegistry.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorRegistry.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("2AF9DD2D-B516-4672-9AB5-530C208493AD")]
[NativeTypeName("struct IMLOperatorRegistry : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMLOperatorRegistry : IMLOperatorRegistry.Interface
+public unsafe partial struct IMLOperatorRegistry : IMLOperatorRegistry.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorRegistry));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorShapeInferenceContext.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorShapeInferenceContext.cs
index 789ed6dbed..62dbf41833 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorShapeInferenceContext.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorShapeInferenceContext.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("105B6B29-5408-4A68-9959-09B5955A3492")]
[NativeTypeName("struct IMLOperatorShapeInferenceContext : IMLOperatorAttributes")]
[NativeInheritance("IMLOperatorAttributes")]
-public unsafe partial struct IMLOperatorShapeInferenceContext : IMLOperatorShapeInferenceContext.Interface
+public unsafe partial struct IMLOperatorShapeInferenceContext : IMLOperatorShapeInferenceContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorShapeInferenceContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorShapeInferrer.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorShapeInferrer.cs
index 7a0f0596b9..a433919838 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorShapeInferrer.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorShapeInferrer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("540BE5BE-A6C9-40EE-83F6-D2B8B40A7798")]
[NativeTypeName("struct IMLOperatorShapeInferrer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMLOperatorShapeInferrer : IMLOperatorShapeInferrer.Interface
+public unsafe partial struct IMLOperatorShapeInferrer : IMLOperatorShapeInferrer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorShapeInferrer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTensor.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTensor.cs
index 160f395e54..65b5a471a8 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTensor.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTensor.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("7FE41F41-F430-440E-AECE-54416DC8B9DB")]
[NativeTypeName("struct IMLOperatorTensor : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMLOperatorTensor : IMLOperatorTensor.Interface
+public unsafe partial struct IMLOperatorTensor : IMLOperatorTensor.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorTensor));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTensorShapeDescription.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTensorShapeDescription.cs
index b73945506d..2e23374ba3 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTensorShapeDescription.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTensorShapeDescription.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("F20E8CBE-3B28-4248-BE95-F96FBC6E4643")]
[NativeTypeName("struct IMLOperatorTensorShapeDescription : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMLOperatorTensorShapeDescription : IMLOperatorTensorShapeDescription.Interface
+public unsafe partial struct IMLOperatorTensorShapeDescription : IMLOperatorTensorShapeDescription.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorTensorShapeDescription));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTypeInferenceContext.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTypeInferenceContext.cs
index ac4a73fdb9..738c8e5d01 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTypeInferenceContext.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTypeInferenceContext.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("EC893BB1-F938-427B-8488-C8DCF775F138")]
[NativeTypeName("struct IMLOperatorTypeInferenceContext : IMLOperatorAttributes")]
[NativeInheritance("IMLOperatorAttributes")]
-public unsafe partial struct IMLOperatorTypeInferenceContext : IMLOperatorTypeInferenceContext.Interface
+public unsafe partial struct IMLOperatorTypeInferenceContext : IMLOperatorTypeInferenceContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorTypeInferenceContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTypeInferrer.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTypeInferrer.cs
index 4b72b41ba4..7f2ec85bef 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTypeInferrer.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/IMLOperatorTypeInferrer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("781AEB48-9BCB-4797-BF77-8BF455217BEB")]
[NativeTypeName("struct IMLOperatorTypeInferrer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMLOperatorTypeInferrer : IMLOperatorTypeInferrer.Interface
+public unsafe partial struct IMLOperatorTypeInferrer : IMLOperatorTypeInferrer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMLOperatorTypeInferrer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorAttributeNameValue.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorAttributeNameValue.cs
index be63d58ac5..95ef63bfa6 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorAttributeNameValue.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorAttributeNameValue.cs
@@ -3,6 +3,7 @@
// Ported from um/MLOperatorAuthor.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -27,42 +28,46 @@ public unsafe partial struct MLOperatorAttributeNameValue
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref void* reserved
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.reserved;
+ return ref Anonymous.reserved;
}
}
///
+ [UnscopedRef]
public ref long* ints
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.ints;
+ return ref Anonymous.ints;
}
}
///
+ [UnscopedRef]
public ref sbyte** strings
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.strings;
+ return ref Anonymous.strings;
}
}
///
+ [UnscopedRef]
public ref float* floats
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.floats;
+ return ref Anonymous.floats;
}
}
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorEdgeDescription.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorEdgeDescription.cs
index f38a5e0a1c..7859f646ee 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorEdgeDescription.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorEdgeDescription.cs
@@ -3,6 +3,7 @@
// Ported from um/MLOperatorAuthor.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -19,22 +20,24 @@ public partial struct MLOperatorEdgeDescription
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref ulong reserved
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.reserved, 1));
+ return ref Anonymous.reserved;
}
}
///
+ [UnscopedRef]
public ref MLOperatorTensorDataType tensorDataType
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.tensorDataType, 1));
+ return ref Anonymous.tensorDataType;
}
}
diff --git a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorSchemaEdgeDescription.cs b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorSchemaEdgeDescription.cs
index 9d12cab150..8aaeb7f617 100644
--- a/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorSchemaEdgeDescription.cs
+++ b/sources/Interop/Windows/WinRT/um/MLOperatorAuthor/MLOperatorSchemaEdgeDescription.cs
@@ -3,6 +3,7 @@
// Ported from um/MLOperatorAuthor.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,32 +23,35 @@ public unsafe partial struct MLOperatorSchemaEdgeDescription
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref void* reserved
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.reserved;
+ return ref Anonymous.reserved;
}
}
///
+ [UnscopedRef]
public ref sbyte* typeLabel
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.typeLabel;
+ return ref Anonymous.typeLabel;
}
}
///
+ [UnscopedRef]
public ref MLOperatorEdgeDescription edgeDescription
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.edgeDescription, 1));
+ return ref Anonymous.edgeDescription;
}
}
diff --git a/sources/Interop/Windows/WinRT/um/PlayToManagerInterop/IPlayToManagerInterop.cs b/sources/Interop/Windows/WinRT/um/PlayToManagerInterop/IPlayToManagerInterop.cs
index f1ad1f5410..b11a228440 100644
--- a/sources/Interop/Windows/WinRT/um/PlayToManagerInterop/IPlayToManagerInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/PlayToManagerInterop/IPlayToManagerInterop.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IPlayToManagerInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IPlayToManagerInterop : IPlayToManagerInterop.Interface
+public unsafe partial struct IPlayToManagerInterop : IPlayToManagerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPlayToManagerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/Print3DManagerInterop/IPrinting3DManagerInterop.cs b/sources/Interop/Windows/WinRT/um/Print3DManagerInterop/IPrinting3DManagerInterop.cs
index 19a4653176..0e9c5e59ac 100644
--- a/sources/Interop/Windows/WinRT/um/Print3DManagerInterop/IPrinting3DManagerInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/Print3DManagerInterop/IPrinting3DManagerInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("9CA31010-1484-4587-B26B-DDDF9F9CAECD")]
[NativeTypeName("struct IPrinting3DManagerInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IPrinting3DManagerInterop : IPrinting3DManagerInterop.Interface
+public unsafe partial struct IPrinting3DManagerInterop : IPrinting3DManagerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPrinting3DManagerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/PrintManagerInterop/IPrintManagerInterop.cs b/sources/Interop/Windows/WinRT/um/PrintManagerInterop/IPrintManagerInterop.cs
index 2c37748b9e..706b3b8872 100644
--- a/sources/Interop/Windows/WinRT/um/PrintManagerInterop/IPrintManagerInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/PrintManagerInterop/IPrintManagerInterop.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IPrintManagerInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IPrintManagerInterop : IPrintManagerInterop.Interface
+public unsafe partial struct IPrintManagerInterop : IPrintManagerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPrintManagerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerConfigurationInterop.cs b/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerConfigurationInterop.cs
index 78526f88fa..2ae81ed3ef 100644
--- a/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerConfigurationInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerConfigurationInterop.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IRadialControllerConfigurationInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows10.0.14393.0")]
-public unsafe partial struct IRadialControllerConfigurationInterop : IRadialControllerConfigurationInterop.Interface
+public unsafe partial struct IRadialControllerConfigurationInterop : IRadialControllerConfigurationInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRadialControllerConfigurationInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerIndependentInputSourceInterop.cs b/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerIndependentInputSourceInterop.cs
index 290542813e..21e1bf6e94 100644
--- a/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerIndependentInputSourceInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerIndependentInputSourceInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("3D577EFF-4CEE-11E6-B535-001BDC06AB3B")]
[NativeTypeName("struct IRadialControllerIndependentInputSourceInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IRadialControllerIndependentInputSourceInterop : IRadialControllerIndependentInputSourceInterop.Interface
+public unsafe partial struct IRadialControllerIndependentInputSourceInterop : IRadialControllerIndependentInputSourceInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRadialControllerIndependentInputSourceInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerInterop.cs b/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerInterop.cs
index 2ad9b973ea..1768ee0cc2 100644
--- a/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/RadialControllerInterop/IRadialControllerInterop.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IRadialControllerInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows10.0.14393.0")]
-public unsafe partial struct IRadialControllerInterop : IRadialControllerInterop.Interface
+public unsafe partial struct IRadialControllerInterop : IRadialControllerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRadialControllerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/RemoteSystemsInterop/ICorrelationVectorInformation.cs b/sources/Interop/Windows/WinRT/um/RemoteSystemsInterop/ICorrelationVectorInformation.cs
index 208c29270f..50db6b1422 100644
--- a/sources/Interop/Windows/WinRT/um/RemoteSystemsInterop/ICorrelationVectorInformation.cs
+++ b/sources/Interop/Windows/WinRT/um/RemoteSystemsInterop/ICorrelationVectorInformation.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("83C78B3C-D88B-4950-AA6E-22B8D22AABD3")]
[NativeTypeName("struct ICorrelationVectorInformation : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct ICorrelationVectorInformation : ICorrelationVectorInformation.Interface
+public unsafe partial struct ICorrelationVectorInformation : ICorrelationVectorInformation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICorrelationVectorInformation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionErrorInfo.cs b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionErrorInfo.cs
index a2d0df85e5..70145ddb34 100644
--- a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionErrorInfo.cs
+++ b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionErrorInfo.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct ILanguageExceptionErrorInfo : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ILanguageExceptionErrorInfo : ILanguageExceptionErrorInfo.Interface
+public unsafe partial struct ILanguageExceptionErrorInfo : ILanguageExceptionErrorInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILanguageExceptionErrorInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionErrorInfo2.cs b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionErrorInfo2.cs
index ac571fbc73..625425f6ee 100644
--- a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionErrorInfo2.cs
+++ b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionErrorInfo2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct ILanguageExceptionErrorInfo2 : ILanguageExceptionErrorInfo")]
[NativeInheritance("ILanguageExceptionErrorInfo")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ILanguageExceptionErrorInfo2 : ILanguageExceptionErrorInfo2.Interface
+public unsafe partial struct ILanguageExceptionErrorInfo2 : ILanguageExceptionErrorInfo2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILanguageExceptionErrorInfo2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionStackBackTrace.cs b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionStackBackTrace.cs
index cf5ff07654..b78f61ef67 100644
--- a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionStackBackTrace.cs
+++ b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionStackBackTrace.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct ILanguageExceptionStackBackTrace : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ILanguageExceptionStackBackTrace : ILanguageExceptionStackBackTrace.Interface
+public unsafe partial struct ILanguageExceptionStackBackTrace : ILanguageExceptionStackBackTrace.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILanguageExceptionStackBackTrace));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionTransform.cs b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionTransform.cs
index 1b138c16f2..4350cfca1d 100644
--- a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionTransform.cs
+++ b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/ILanguageExceptionTransform.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct ILanguageExceptionTransform : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ILanguageExceptionTransform : ILanguageExceptionTransform.Interface
+public unsafe partial struct ILanguageExceptionTransform : ILanguageExceptionTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILanguageExceptionTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/IRestrictedErrorInfo.cs b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/IRestrictedErrorInfo.cs
index db0199e64b..2e9613c215 100644
--- a/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/IRestrictedErrorInfo.cs
+++ b/sources/Interop/Windows/WinRT/um/RestrictedErrorInfo/IRestrictedErrorInfo.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IRestrictedErrorInfo : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IRestrictedErrorInfo : IRestrictedErrorInfo.Interface
+public unsafe partial struct IRestrictedErrorInfo : IRestrictedErrorInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRestrictedErrorInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/SpatialInteractionManagerInterop/ISpatialInteractionManagerInterop.cs b/sources/Interop/Windows/WinRT/um/SpatialInteractionManagerInterop/ISpatialInteractionManagerInterop.cs
index 3855ec6ee7..64ebb73156 100644
--- a/sources/Interop/Windows/WinRT/um/SpatialInteractionManagerInterop/ISpatialInteractionManagerInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/SpatialInteractionManagerInterop/ISpatialInteractionManagerInterop.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct ISpatialInteractionManagerInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialInteractionManagerInterop : ISpatialInteractionManagerInterop.Interface
+public unsafe partial struct ISpatialInteractionManagerInterop : ISpatialInteractionManagerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialInteractionManagerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/SystemMediaTransportControlsInterop/ISystemMediaTransportControlsInterop.cs b/sources/Interop/Windows/WinRT/um/SystemMediaTransportControlsInterop/ISystemMediaTransportControlsInterop.cs
index 7fee25222b..87381d2a62 100644
--- a/sources/Interop/Windows/WinRT/um/SystemMediaTransportControlsInterop/ISystemMediaTransportControlsInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/SystemMediaTransportControlsInterop/ISystemMediaTransportControlsInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("DDB0472D-C911-4A1F-86D9-DC3D71A95F5A")]
[NativeTypeName("struct ISystemMediaTransportControlsInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct ISystemMediaTransportControlsInterop : ISystemMediaTransportControlsInterop.Interface
+public unsafe partial struct ISystemMediaTransportControlsInterop : ISystemMediaTransportControlsInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISystemMediaTransportControlsInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/UIViewSettingsInterop/IUIViewSettingsInterop.cs b/sources/Interop/Windows/WinRT/um/UIViewSettingsInterop/IUIViewSettingsInterop.cs
index f88af05650..894033e9ae 100644
--- a/sources/Interop/Windows/WinRT/um/UIViewSettingsInterop/IUIViewSettingsInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/UIViewSettingsInterop/IUIViewSettingsInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("3694DBF9-8F68-44BE-8FF5-195C98EDE8A6")]
[NativeTypeName("struct IUIViewSettingsInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IUIViewSettingsInterop : IUIViewSettingsInterop.Interface
+public unsafe partial struct IUIViewSettingsInterop : IUIViewSettingsInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIViewSettingsInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/UserConsentVerifierInterop/IUserConsentVerifierInterop.cs b/sources/Interop/Windows/WinRT/um/UserConsentVerifierInterop/IUserConsentVerifierInterop.cs
index 0ac54a50f0..9a9b7e83df 100644
--- a/sources/Interop/Windows/WinRT/um/UserConsentVerifierInterop/IUserConsentVerifierInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/UserConsentVerifierInterop/IUserConsentVerifierInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("39E050C3-4E74-441A-8DC0-B81104DF949C")]
[NativeTypeName("struct IUserConsentVerifierInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IUserConsentVerifierInterop : IUserConsentVerifierInterop.Interface
+public unsafe partial struct IUserConsentVerifierInterop : IUserConsentVerifierInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserConsentVerifierInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/WebAuthenticationCoreManagerInterop/IWebAuthenticationCoreManagerInterop.cs b/sources/Interop/Windows/WinRT/um/WebAuthenticationCoreManagerInterop/IWebAuthenticationCoreManagerInterop.cs
index 0d56dfd846..4b91d5c624 100644
--- a/sources/Interop/Windows/WinRT/um/WebAuthenticationCoreManagerInterop/IWebAuthenticationCoreManagerInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/WebAuthenticationCoreManagerInterop/IWebAuthenticationCoreManagerInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("F4B8E804-811E-4436-B69C-44CB67B72084")]
[NativeTypeName("struct IWebAuthenticationCoreManagerInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IWebAuthenticationCoreManagerInterop : IWebAuthenticationCoreManagerInterop.Interface
+public unsafe partial struct IWebAuthenticationCoreManagerInterop : IWebAuthenticationCoreManagerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebAuthenticationCoreManagerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/Windows.Devices.Display.Core.Interop/IDisplayDeviceInterop.cs b/sources/Interop/Windows/WinRT/um/Windows.Devices.Display.Core.Interop/IDisplayDeviceInterop.cs
index 26c1348021..0958932fca 100644
--- a/sources/Interop/Windows/WinRT/um/Windows.Devices.Display.Core.Interop/IDisplayDeviceInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/Windows.Devices.Display.Core.Interop/IDisplayDeviceInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("64338358-366A-471B-BD56-DD8EF48E439B")]
[NativeTypeName("struct IDisplayDeviceInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDisplayDeviceInterop : IDisplayDeviceInterop.Interface
+public unsafe partial struct IDisplayDeviceInterop : IDisplayDeviceInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDisplayDeviceInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/Windows.Devices.Display.Core.Interop/IDisplayPathInterop.cs b/sources/Interop/Windows/WinRT/um/Windows.Devices.Display.Core.Interop/IDisplayPathInterop.cs
index 319df49400..b3acc17014 100644
--- a/sources/Interop/Windows/WinRT/um/Windows.Devices.Display.Core.Interop/IDisplayPathInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/Windows.Devices.Display.Core.Interop/IDisplayPathInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("A6BA4205-E59E-4E71-B25B-4E436D21EE3D")]
[NativeTypeName("struct IDisplayPathInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDisplayPathInterop : IDisplayPathInterop.Interface
+public unsafe partial struct IDisplayPathInterop : IDisplayPathInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDisplayPathInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/Windows.Graphics.Capture.Interop/IGraphicsCaptureItemInterop.cs b/sources/Interop/Windows/WinRT/um/Windows.Graphics.Capture.Interop/IGraphicsCaptureItemInterop.cs
index 791f7a9c51..2199928dbe 100644
--- a/sources/Interop/Windows/WinRT/um/Windows.Graphics.Capture.Interop/IGraphicsCaptureItemInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/Windows.Graphics.Capture.Interop/IGraphicsCaptureItemInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("3628E81B-3CAC-4C60-B7F4-23CE0E0C3356")]
[NativeTypeName("struct IGraphicsCaptureItemInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IGraphicsCaptureItemInterop : IGraphicsCaptureItemInterop.Interface
+public unsafe partial struct IGraphicsCaptureItemInterop : IGraphicsCaptureItemInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IGraphicsCaptureItemInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IOplockBreakingHandler.cs b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IOplockBreakingHandler.cs
index 72c14d26ce..6295706c09 100644
--- a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IOplockBreakingHandler.cs
+++ b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IOplockBreakingHandler.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IOplockBreakingHandler : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IOplockBreakingHandler : IOplockBreakingHandler.Interface
+public unsafe partial struct IOplockBreakingHandler : IOplockBreakingHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IOplockBreakingHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IRandomAccessStreamFileAccessMode.cs b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IRandomAccessStreamFileAccessMode.cs
index 89849c4edc..a419da56a7 100644
--- a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IRandomAccessStreamFileAccessMode.cs
+++ b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IRandomAccessStreamFileAccessMode.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IRandomAccessStreamFileAccessMode : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IRandomAccessStreamFileAccessMode : IRandomAccessStreamFileAccessMode.Interface
+public unsafe partial struct IRandomAccessStreamFileAccessMode : IRandomAccessStreamFileAccessMode.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRandomAccessStreamFileAccessMode));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IStorageFolderHandleAccess.cs b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IStorageFolderHandleAccess.cs
index 40497895f8..77dbe623b0 100644
--- a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IStorageFolderHandleAccess.cs
+++ b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IStorageFolderHandleAccess.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IStorageFolderHandleAccess : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IStorageFolderHandleAccess : IStorageFolderHandleAccess.Interface
+public unsafe partial struct IStorageFolderHandleAccess : IStorageFolderHandleAccess.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IStorageFolderHandleAccess));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IStorageItemHandleAccess.cs b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IStorageItemHandleAccess.cs
index 77f121a86c..cfbc96e719 100644
--- a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IStorageItemHandleAccess.cs
+++ b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IStorageItemHandleAccess.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IStorageItemHandleAccess : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IStorageItemHandleAccess : IStorageItemHandleAccess.Interface
+public unsafe partial struct IStorageItemHandleAccess : IStorageItemHandleAccess.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IStorageItemHandleAccess));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IUnbufferedFileHandleOplockCallback.cs b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IUnbufferedFileHandleOplockCallback.cs
index 14cb1277f6..ef6840b6f1 100644
--- a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IUnbufferedFileHandleOplockCallback.cs
+++ b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IUnbufferedFileHandleOplockCallback.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IUnbufferedFileHandleOplockCallback : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IUnbufferedFileHandleOplockCallback : IUnbufferedFileHandleOplockCallback.Interface
+public unsafe partial struct IUnbufferedFileHandleOplockCallback : IUnbufferedFileHandleOplockCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUnbufferedFileHandleOplockCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IUnbufferedFileHandleProvider.cs b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IUnbufferedFileHandleProvider.cs
index b2f5ae1a08..d1cf9684cd 100644
--- a/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IUnbufferedFileHandleProvider.cs
+++ b/sources/Interop/Windows/WinRT/um/WindowsStorageCOM/IUnbufferedFileHandleProvider.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IUnbufferedFileHandleProvider : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IUnbufferedFileHandleProvider : IUnbufferedFileHandleProvider.Interface
+public unsafe partial struct IUnbufferedFileHandleProvider : IUnbufferedFileHandleProvider.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUnbufferedFileHandleProvider));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/accountssettingspaneinterop/IAccountsSettingsPaneInterop.cs b/sources/Interop/Windows/WinRT/um/accountssettingspaneinterop/IAccountsSettingsPaneInterop.cs
index 3df687448b..ef0bae407a 100644
--- a/sources/Interop/Windows/WinRT/um/accountssettingspaneinterop/IAccountsSettingsPaneInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/accountssettingspaneinterop/IAccountsSettingsPaneInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("D3EE12AD-3865-4362-9746-B75A682DF0E6")]
[NativeTypeName("struct IAccountsSettingsPaneInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IAccountsSettingsPaneInterop : IAccountsSettingsPaneInterop.Interface
+public unsafe partial struct IAccountsSettingsPaneInterop : IAccountsSettingsPaneInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAccountsSettingsPaneInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/appserviceinterop/IAppServiceConnectionExtendedExecution.cs b/sources/Interop/Windows/WinRT/um/appserviceinterop/IAppServiceConnectionExtendedExecution.cs
index adf714c93b..5a4f5bab61 100644
--- a/sources/Interop/Windows/WinRT/um/appserviceinterop/IAppServiceConnectionExtendedExecution.cs
+++ b/sources/Interop/Windows/WinRT/um/appserviceinterop/IAppServiceConnectionExtendedExecution.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("65219584-F9CB-4AE3-81F9-A28A6CA450D9")]
[NativeTypeName("struct IAppServiceConnectionExtendedExecution : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppServiceConnectionExtendedExecution : IAppServiceConnectionExtendedExecution.Interface
+public unsafe partial struct IAppServiceConnectionExtendedExecution : IAppServiceConnectionExtendedExecution.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppServiceConnectionExtendedExecution));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/appserviceinterop/ICorrelationVectorSource.cs b/sources/Interop/Windows/WinRT/um/appserviceinterop/ICorrelationVectorSource.cs
index 3e0e9f2e99..a2aa4a160d 100644
--- a/sources/Interop/Windows/WinRT/um/appserviceinterop/ICorrelationVectorSource.cs
+++ b/sources/Interop/Windows/WinRT/um/appserviceinterop/ICorrelationVectorSource.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("152B8A3B-B9B9-4685-B56E-974847BC7545")]
[NativeTypeName("struct ICorrelationVectorSource : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICorrelationVectorSource : ICorrelationVectorSource.Interface
+public unsafe partial struct ICorrelationVectorSource : ICorrelationVectorSource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICorrelationVectorSource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/dragdropinterop/IDragDropManagerInterop.cs b/sources/Interop/Windows/WinRT/um/dragdropinterop/IDragDropManagerInterop.cs
index b4ac4482ed..a34cd59d9b 100644
--- a/sources/Interop/Windows/WinRT/um/dragdropinterop/IDragDropManagerInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/dragdropinterop/IDragDropManagerInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("5AD8CBA7-4C01-4DAC-9074-827894292D63")]
[NativeTypeName("struct IDragDropManagerInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IDragDropManagerInterop : IDragDropManagerInterop.Interface
+public unsafe partial struct IDragDropManagerInterop : IDragDropManagerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDragDropManagerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop.cs b/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop.cs
index 26b87209c5..75538cdbab 100644
--- a/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IProtectionPolicyManagerInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IProtectionPolicyManagerInterop : IProtectionPolicyManagerInterop.Interface
+public unsafe partial struct IProtectionPolicyManagerInterop : IProtectionPolicyManagerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProtectionPolicyManagerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop2.cs b/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop2.cs
index 525ec909bd..1762b01466 100644
--- a/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop2.cs
+++ b/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IProtectionPolicyManagerInterop2 : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IProtectionPolicyManagerInterop2 : IProtectionPolicyManagerInterop2.Interface
+public unsafe partial struct IProtectionPolicyManagerInterop2 : IProtectionPolicyManagerInterop2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProtectionPolicyManagerInterop2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop3.cs b/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop3.cs
index 86a079432d..398e910a0e 100644
--- a/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop3.cs
+++ b/sources/Interop/Windows/WinRT/um/efswrtinterop/IProtectionPolicyManagerInterop3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("C1C03933-B398-4D93-B0FD-2972ADF802C2")]
[NativeTypeName("struct IProtectionPolicyManagerInterop3 : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IProtectionPolicyManagerInterop3 : IProtectionPolicyManagerInterop3.Interface
+public unsafe partial struct IProtectionPolicyManagerInterop3 : IProtectionPolicyManagerInterop3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProtectionPolicyManagerInterop3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/inputpaneinterop/IInputPaneInterop.cs b/sources/Interop/Windows/WinRT/um/inputpaneinterop/IInputPaneInterop.cs
index 10c90e9a78..52dcfd3f90 100644
--- a/sources/Interop/Windows/WinRT/um/inputpaneinterop/IInputPaneInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/inputpaneinterop/IInputPaneInterop.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IInputPaneInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows10.0.14393.0")]
-public unsafe partial struct IInputPaneInterop : IInputPaneInterop.Interface
+public unsafe partial struct IInputPaneInterop : IInputPaneInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInputPaneInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/remotesystemadditionalinfo/IRemoteSystemAdditionalInfoProvider.cs b/sources/Interop/Windows/WinRT/um/remotesystemadditionalinfo/IRemoteSystemAdditionalInfoProvider.cs
index 375cdf7b5f..874de5d5b4 100644
--- a/sources/Interop/Windows/WinRT/um/remotesystemadditionalinfo/IRemoteSystemAdditionalInfoProvider.cs
+++ b/sources/Interop/Windows/WinRT/um/remotesystemadditionalinfo/IRemoteSystemAdditionalInfoProvider.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("EEAA3D5F-EC63-4D27-AF38-E86B1D7292CB")]
[NativeTypeName("struct IRemoteSystemAdditionalInfoProvider : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IRemoteSystemAdditionalInfoProvider : IRemoteSystemAdditionalInfoProvider.Interface
+public unsafe partial struct IRemoteSystemAdditionalInfoProvider : IRemoteSystemAdditionalInfoProvider.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRemoteSystemAdditionalInfoProvider));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivityInterop.cs b/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivityInterop.cs
index f7a0e080e2..422667e511 100644
--- a/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivityInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivityInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("1ADE314D-0E0A-40D9-824C-9A088A50059F")]
[NativeTypeName("struct IUserActivityInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IUserActivityInterop : IUserActivityInterop.Interface
+public unsafe partial struct IUserActivityInterop : IUserActivityInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserActivityInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivityRequestManagerInterop.cs b/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivityRequestManagerInterop.cs
index 550498f8a7..4c0f3e032f 100644
--- a/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivityRequestManagerInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivityRequestManagerInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("DD69F876-9699-4715-9095-E37EA30DFA1B")]
[NativeTypeName("struct IUserActivityRequestManagerInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IUserActivityRequestManagerInterop : IUserActivityRequestManagerInterop.Interface
+public unsafe partial struct IUserActivityRequestManagerInterop : IUserActivityRequestManagerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserActivityRequestManagerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivitySourceHostInterop.cs b/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivitySourceHostInterop.cs
index f0ce63dc45..c6836ae5a5 100644
--- a/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivitySourceHostInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/useractivityinterop/IUserActivitySourceHostInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("C15DF8BC-8844-487A-B85B-7578E0F61419")]
[NativeTypeName("struct IUserActivitySourceHostInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IUserActivitySourceHostInterop : IUserActivitySourceHostInterop.Interface
+public unsafe partial struct IUserActivitySourceHostInterop : IUserActivitySourceHostInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserActivitySourceHostInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelDeviceFactoryNative.cs b/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelDeviceFactoryNative.cs
index cee66ce6af..31d2404d4b 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelDeviceFactoryNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelDeviceFactoryNative.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("1E9B31A1-662E-4AE0-AF67-F63BB337E634")]
[NativeTypeName("struct ILearningModelDeviceFactoryNative : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ILearningModelDeviceFactoryNative : ILearningModelDeviceFactoryNative.Interface
+public unsafe partial struct ILearningModelDeviceFactoryNative : ILearningModelDeviceFactoryNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILearningModelDeviceFactoryNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelOperatorProviderNative.cs b/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelOperatorProviderNative.cs
index 74331e2c10..25fb162052 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelOperatorProviderNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelOperatorProviderNative.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("1ADAA23A-EB67-41F3-AAD8-5D984E9BACD4")]
[NativeTypeName("struct ILearningModelOperatorProviderNative : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ILearningModelOperatorProviderNative : ILearningModelOperatorProviderNative.Interface
+public unsafe partial struct ILearningModelOperatorProviderNative : ILearningModelOperatorProviderNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILearningModelOperatorProviderNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelSessionOptionsNative.cs b/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelSessionOptionsNative.cs
index 73b136463e..2713a6dc6b 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelSessionOptionsNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ILearningModelSessionOptionsNative.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("C71E953F-37B4-4564-8658-D8396866DB0D")]
[NativeTypeName("struct ILearningModelSessionOptionsNative : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ILearningModelSessionOptionsNative : ILearningModelSessionOptionsNative.Interface
+public unsafe partial struct ILearningModelSessionOptionsNative : ILearningModelSessionOptionsNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILearningModelSessionOptionsNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ITensorNative.cs b/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ITensorNative.cs
index 274cf9b9d2..65ac04a608 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ITensorNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ITensorNative.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("52F547EF-5B03-49B5-82D6-565F1EE0DD49")]
[NativeTypeName("struct ITensorNative : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITensorNative : ITensorNative.Interface
+public unsafe partial struct ITensorNative : ITensorNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITensorNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ITensorStaticsNative.cs b/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ITensorStaticsNative.cs
index e76706628a..b3c12fa52b 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ITensorStaticsNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ai.machinelearning.native/ITensorStaticsNative.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("39D055A4-66F6-4EBC-95D9-7A29EBE7690A")]
[NativeTypeName("struct ITensorStaticsNative : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITensorStaticsNative : ITensorStaticsNative.Interface
+public unsafe partial struct ITensorStaticsNative : ITensorStaticsNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITensorStaticsNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.data.pdf.interop/IPdfRendererNative.cs b/sources/Interop/Windows/WinRT/um/windows.data.pdf.interop/IPdfRendererNative.cs
index b5578e5fcc..871fef3e40 100644
--- a/sources/Interop/Windows/WinRT/um/windows.data.pdf.interop/IPdfRendererNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.data.pdf.interop/IPdfRendererNative.cs
@@ -9,6 +9,7 @@
using System.Runtime.Versioning;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -17,8 +18,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IPdfRendererNative : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IPdfRendererNative : IPdfRendererNative.Interface
+public unsafe partial struct IPdfRendererNative : IPdfRendererNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPdfRendererNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs b/sources/Interop/Windows/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs
index 0f3dabeb15..3d2d9931b0 100644
--- a/sources/Interop/Windows/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.graphics.directx.direct3d11.interop/IDirect3DDxgiInterfaceAccess.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("A9B3D012-3DF2-4EE3-B8D1-8695F457D3C1")]
[NativeTypeName("struct IDirect3DDxgiInterfaceAccess : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDirect3DDxgiInterfaceAccess : IDirect3DDxgiInterfaceAccess.Interface
+public unsafe partial struct IDirect3DDxgiInterfaceAccess : IDirect3DDxgiInterfaceAccess.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDirect3DDxgiInterfaceAccess));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicCameraInterop.cs b/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicCameraInterop.cs
index 14f6995cdd..b57ef40309 100644
--- a/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicCameraInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicCameraInterop.cs
@@ -9,6 +9,7 @@
using System.Runtime.Versioning;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -17,8 +18,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IHolographicCameraInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct IHolographicCameraInterop : IHolographicCameraInterop.Interface
+public unsafe partial struct IHolographicCameraInterop : IHolographicCameraInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHolographicCameraInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicCameraRenderingParametersInterop.cs b/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicCameraRenderingParametersInterop.cs
index 7e852b041c..ff6b76ebc8 100644
--- a/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicCameraRenderingParametersInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicCameraRenderingParametersInterop.cs
@@ -9,6 +9,7 @@
using System.Runtime.Versioning;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -17,8 +18,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IHolographicCameraRenderingParametersInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct IHolographicCameraRenderingParametersInterop : IHolographicCameraRenderingParametersInterop.Interface
+public unsafe partial struct IHolographicCameraRenderingParametersInterop : IHolographicCameraRenderingParametersInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHolographicCameraRenderingParametersInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicQuadLayerInterop.cs b/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicQuadLayerInterop.cs
index feb18193e3..f8c83ab5d5 100644
--- a/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicQuadLayerInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicQuadLayerInterop.cs
@@ -9,6 +9,7 @@
using System.Runtime.Versioning;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -17,8 +18,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IHolographicQuadLayerInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct IHolographicQuadLayerInterop : IHolographicQuadLayerInterop.Interface
+public unsafe partial struct IHolographicQuadLayerInterop : IHolographicQuadLayerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHolographicQuadLayerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicQuadLayerUpdateParametersInterop.cs b/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicQuadLayerUpdateParametersInterop.cs
index 0e2c72f923..3f854f2e7e 100644
--- a/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicQuadLayerUpdateParametersInterop.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.graphics.holographic.interop/IHolographicQuadLayerUpdateParametersInterop.cs
@@ -9,6 +9,7 @@
using System.Runtime.Versioning;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -17,8 +18,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IHolographicQuadLayerUpdateParametersInterop : IInspectable")]
[NativeInheritance("IInspectable")]
[SupportedOSPlatform("windows10.0.19041.0")]
-public unsafe partial struct IHolographicQuadLayerUpdateParametersInterop : IHolographicQuadLayerUpdateParametersInterop.Interface
+public unsafe partial struct IHolographicQuadLayerUpdateParametersInterop : IHolographicQuadLayerUpdateParametersInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHolographicQuadLayerUpdateParametersInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.graphics.imaging.interop/ISoftwareBitmapNative.cs b/sources/Interop/Windows/WinRT/um/windows.graphics.imaging.interop/ISoftwareBitmapNative.cs
index 516236fe25..970d1eecca 100644
--- a/sources/Interop/Windows/WinRT/um/windows.graphics.imaging.interop/ISoftwareBitmapNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.graphics.imaging.interop/ISoftwareBitmapNative.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("94BC8415-04EA-4B2E-AF13-4DE95AA898EB")]
[NativeTypeName("struct ISoftwareBitmapNative : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct ISoftwareBitmapNative : ISoftwareBitmapNative.Interface
+public unsafe partial struct ISoftwareBitmapNative : ISoftwareBitmapNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISoftwareBitmapNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.graphics.imaging.interop/ISoftwareBitmapNativeFactory.cs b/sources/Interop/Windows/WinRT/um/windows.graphics.imaging.interop/ISoftwareBitmapNativeFactory.cs
index 67e8f3e0d9..f6158781f4 100644
--- a/sources/Interop/Windows/WinRT/um/windows.graphics.imaging.interop/ISoftwareBitmapNativeFactory.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.graphics.imaging.interop/ISoftwareBitmapNativeFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("C3C181EC-2914-4791-AF02-02D224A10B43")]
[NativeTypeName("struct ISoftwareBitmapNativeFactory : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct ISoftwareBitmapNativeFactory : ISoftwareBitmapNativeFactory.Interface
+public unsafe partial struct ISoftwareBitmapNativeFactory : ISoftwareBitmapNativeFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISoftwareBitmapNativeFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IAudioFrameNative.cs b/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IAudioFrameNative.cs
index d02677315b..4875e136dc 100644
--- a/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IAudioFrameNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IAudioFrameNative.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("20BE1E2E-930F-4746-9335-3C332F255093")]
[NativeTypeName("struct IAudioFrameNative : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IAudioFrameNative : IAudioFrameNative.Interface
+public unsafe partial struct IAudioFrameNative : IAudioFrameNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioFrameNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IAudioFrameNativeFactory.cs b/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IAudioFrameNativeFactory.cs
index 5723fcaa78..c0a0004ed8 100644
--- a/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IAudioFrameNativeFactory.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IAudioFrameNativeFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("7BD67CF8-BF7D-43E6-AF8D-B170EE0C0110")]
[NativeTypeName("struct IAudioFrameNativeFactory : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IAudioFrameNativeFactory : IAudioFrameNativeFactory.Interface
+public unsafe partial struct IAudioFrameNativeFactory : IAudioFrameNativeFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioFrameNativeFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IVideoFrameNative.cs b/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IVideoFrameNative.cs
index b5950b01e3..5ef291bc02 100644
--- a/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IVideoFrameNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IVideoFrameNative.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("26BA702B-314A-4620-AAF6-7A51AA58FA18")]
[NativeTypeName("struct IVideoFrameNative : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IVideoFrameNative : IVideoFrameNative.Interface
+public unsafe partial struct IVideoFrameNative : IVideoFrameNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVideoFrameNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IVideoFrameNativeFactory.cs b/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IVideoFrameNativeFactory.cs
index 600dc156d5..cd0cfa6142 100644
--- a/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IVideoFrameNativeFactory.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.media.core.interop/IVideoFrameNativeFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("69E3693E-8E1E-4E63-AC4C-7FDC21D9731D")]
[NativeTypeName("struct IVideoFrameNativeFactory : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IVideoFrameNativeFactory : IVideoFrameNativeFactory.Interface
+public unsafe partial struct IVideoFrameNativeFactory : IVideoFrameNativeFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVideoFrameNativeFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.hosting.desktopwindowxamlsource/IDesktopWindowXamlSourceNative.cs b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.hosting.desktopwindowxamlsource/IDesktopWindowXamlSourceNative.cs
index 2f3623eace..a15815b45f 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.hosting.desktopwindowxamlsource/IDesktopWindowXamlSourceNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.hosting.desktopwindowxamlsource/IDesktopWindowXamlSourceNative.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IDesktopWindowXamlSourceNative : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.18362.0")]
-public unsafe partial struct IDesktopWindowXamlSourceNative : IDesktopWindowXamlSourceNative.Interface
+public unsafe partial struct IDesktopWindowXamlSourceNative : IDesktopWindowXamlSourceNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDesktopWindowXamlSourceNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.hosting.desktopwindowxamlsource/IDesktopWindowXamlSourceNative2.cs b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.hosting.desktopwindowxamlsource/IDesktopWindowXamlSourceNative2.cs
index 511ee38942..4987e1d0e7 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.hosting.desktopwindowxamlsource/IDesktopWindowXamlSourceNative2.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.hosting.desktopwindowxamlsource/IDesktopWindowXamlSourceNative2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IDesktopWindowXamlSourceNative2 : IDesktopWindowXamlSourceNative")]
[NativeInheritance("IDesktopWindowXamlSourceNative")]
[SupportedOSPlatform("windows10.0.18362.0")]
-public unsafe partial struct IDesktopWindowXamlSourceNative2 : IDesktopWindowXamlSourceNative2.Interface
+public unsafe partial struct IDesktopWindowXamlSourceNative2 : IDesktopWindowXamlSourceNative2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDesktopWindowXamlSourceNative2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceManagerNative.cs b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceManagerNative.cs
index 05ce7103c5..56c72f3b0b 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceManagerNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceManagerNative.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct ISurfaceImageSourceManagerNative : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ISurfaceImageSourceManagerNative : ISurfaceImageSourceManagerNative.Interface
+public unsafe partial struct ISurfaceImageSourceManagerNative : ISurfaceImageSourceManagerNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISurfaceImageSourceManagerNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceNative.cs b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceNative.cs
index c6e25c0c63..dc6e4f4093 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceNative.cs
@@ -9,6 +9,7 @@
using System.Runtime.Versioning;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -17,8 +18,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct ISurfaceImageSourceNative : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ISurfaceImageSourceNative : ISurfaceImageSourceNative.Interface
+public unsafe partial struct ISurfaceImageSourceNative : ISurfaceImageSourceNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISurfaceImageSourceNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceNativeWithD2D.cs b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceNativeWithD2D.cs
index ae4cc15afa..3d81b55a07 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceNativeWithD2D.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISurfaceImageSourceNativeWithD2D.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct ISurfaceImageSourceNativeWithD2D : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ISurfaceImageSourceNativeWithD2D : ISurfaceImageSourceNativeWithD2D.Interface
+public unsafe partial struct ISurfaceImageSourceNativeWithD2D : ISurfaceImageSourceNativeWithD2D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISurfaceImageSourceNativeWithD2D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainBackgroundPanelNative.cs b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainBackgroundPanelNative.cs
index 29007ff684..fe61fc7d56 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainBackgroundPanelNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainBackgroundPanelNative.cs
@@ -9,6 +9,7 @@
using System.Runtime.Versioning;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -17,8 +18,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct ISwapChainBackgroundPanelNative : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ISwapChainBackgroundPanelNative : ISwapChainBackgroundPanelNative.Interface
+public unsafe partial struct ISwapChainBackgroundPanelNative : ISwapChainBackgroundPanelNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISwapChainBackgroundPanelNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs
index 3b5eaaf9c2..23e4e7c623 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs
@@ -9,6 +9,7 @@
using System.Runtime.Versioning;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -17,8 +18,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct ISwapChainPanelNative : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ISwapChainPanelNative : ISwapChainPanelNative.Interface
+public unsafe partial struct ISwapChainPanelNative : ISwapChainPanelNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISwapChainPanelNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative2.cs b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative2.cs
index 0e17ec1140..d1f94c78ae 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative2.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative2.cs
@@ -9,6 +9,7 @@
using System.Runtime.Versioning;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -17,8 +18,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct ISwapChainPanelNative2 : ISwapChainPanelNative")]
[NativeInheritance("ISwapChainPanelNative")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct ISwapChainPanelNative2 : ISwapChainPanelNative2.Interface
+public unsafe partial struct ISwapChainPanelNative2 : ISwapChainPanelNative2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISwapChainPanelNative2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/IVirtualSurfaceImageSourceNative.cs b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/IVirtualSurfaceImageSourceNative.cs
index b28dbb1c4e..48e5b5101b 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/IVirtualSurfaceImageSourceNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/IVirtualSurfaceImageSourceNative.cs
@@ -9,6 +9,7 @@
using System.Runtime.Versioning;
using TerraFX.Interop.DirectX;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -17,8 +18,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IVirtualSurfaceImageSourceNative : ISurfaceImageSourceNative")]
[NativeInheritance("ISurfaceImageSourceNative")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IVirtualSurfaceImageSourceNative : IVirtualSurfaceImageSourceNative.Interface
+public unsafe partial struct IVirtualSurfaceImageSourceNative : IVirtualSurfaceImageSourceNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVirtualSurfaceImageSourceNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/IVirtualSurfaceUpdatesCallbackNative.cs b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/IVirtualSurfaceUpdatesCallbackNative.cs
index 447b7085ec..0b49bd4f69 100644
--- a/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/IVirtualSurfaceUpdatesCallbackNative.cs
+++ b/sources/Interop/Windows/WinRT/um/windows.ui.xaml.media.dxinterop/IVirtualSurfaceUpdatesCallbackNative.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IVirtualSurfaceUpdatesCallbackNative : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IVirtualSurfaceUpdatesCallbackNative : IVirtualSurfaceUpdatesCallbackNative.Interface
+public unsafe partial struct IVirtualSurfaceUpdatesCallbackNative : IVirtualSurfaceUpdatesCallbackNative.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVirtualSurfaceUpdatesCallbackNative));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/xamlOM/IBitmapData.cs b/sources/Interop/Windows/WinRT/um/xamlOM/IBitmapData.cs
index 558a5e0c09..67ebe26d8b 100644
--- a/sources/Interop/Windows/WinRT/um/xamlOM/IBitmapData.cs
+++ b/sources/Interop/Windows/WinRT/um/xamlOM/IBitmapData.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IBitmapData : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.14393.0")]
-public unsafe partial struct IBitmapData : IBitmapData.Interface
+public unsafe partial struct IBitmapData : IBitmapData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IBitmapData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService.cs b/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService.cs
index 09df3585e8..f9ff792df1 100644
--- a/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService.cs
+++ b/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IVisualTreeService : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IVisualTreeService : IVisualTreeService.Interface
+public unsafe partial struct IVisualTreeService : IVisualTreeService.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVisualTreeService));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService2.cs b/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService2.cs
index e2c6c748e5..04d883b06b 100644
--- a/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService2.cs
+++ b/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IVisualTreeService2 : IVisualTreeService")]
[NativeInheritance("IVisualTreeService")]
[SupportedOSPlatform("windows10.0.14393.0")]
-public unsafe partial struct IVisualTreeService2 : IVisualTreeService2.Interface
+public unsafe partial struct IVisualTreeService2 : IVisualTreeService2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVisualTreeService2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService3.cs b/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService3.cs
index 2c580c834a..914c61a8f2 100644
--- a/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService3.cs
+++ b/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeService3.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IVisualTreeService3 : IVisualTreeService2")]
[NativeInheritance("IVisualTreeService2")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct IVisualTreeService3 : IVisualTreeService3.Interface
+public unsafe partial struct IVisualTreeService3 : IVisualTreeService3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVisualTreeService3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeServiceCallback.cs b/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeServiceCallback.cs
index 77cefa2a7f..270cad9b68 100644
--- a/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeServiceCallback.cs
+++ b/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeServiceCallback.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IVisualTreeServiceCallback : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IVisualTreeServiceCallback : IVisualTreeServiceCallback.Interface
+public unsafe partial struct IVisualTreeServiceCallback : IVisualTreeServiceCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVisualTreeServiceCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeServiceCallback2.cs b/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeServiceCallback2.cs
index 4070b40829..0c4c184fc8 100644
--- a/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeServiceCallback2.cs
+++ b/sources/Interop/Windows/WinRT/um/xamlOM/IVisualTreeServiceCallback2.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IVisualTreeServiceCallback2 : IVisualTreeServiceCallback")]
[NativeInheritance("IVisualTreeServiceCallback")]
[SupportedOSPlatform("windows10.0.14393.0")]
-public unsafe partial struct IVisualTreeServiceCallback2 : IVisualTreeServiceCallback2.Interface
+public unsafe partial struct IVisualTreeServiceCallback2 : IVisualTreeServiceCallback2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVisualTreeServiceCallback2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/um/xamlOM/IXamlDiagnostics.cs b/sources/Interop/Windows/WinRT/um/xamlOM/IXamlDiagnostics.cs
index f96a5d1fcd..5ea44c74b8 100644
--- a/sources/Interop/Windows/WinRT/um/xamlOM/IXamlDiagnostics.cs
+++ b/sources/Interop/Windows/WinRT/um/xamlOM/IXamlDiagnostics.cs
@@ -8,6 +8,7 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -16,8 +17,10 @@ namespace TerraFX.Interop.WinRT;
[NativeTypeName("struct IXamlDiagnostics : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IXamlDiagnostics : IXamlDiagnostics.Interface
+public unsafe partial struct IXamlDiagnostics : IXamlDiagnostics.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IXamlDiagnostics));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreInputInterop.cs b/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreInputInterop.cs
index 608a685135..9bb8ddedcd 100644
--- a/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreInputInterop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreInputInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("40BFE3E3-B75A-4479-AC96-475365749BB8")]
[NativeTypeName("struct ICoreInputInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICoreInputInterop : ICoreInputInterop.Interface
+public unsafe partial struct ICoreInputInterop : ICoreInputInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICoreInputInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowAdapterInterop.cs b/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowAdapterInterop.cs
index 82ef8710d4..783fb91911 100644
--- a/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowAdapterInterop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowAdapterInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("7A5B6FD1-CD73-4B6C-9CF4-2E869EAF470A")]
[NativeTypeName("struct ICoreWindowAdapterInterop : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct ICoreWindowAdapterInterop : ICoreWindowAdapterInterop.Interface
+public unsafe partial struct ICoreWindowAdapterInterop : ICoreWindowAdapterInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICoreWindowAdapterInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowComponentInterop.cs b/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowComponentInterop.cs
index d60dcb9a5b..c8eab2c9e9 100644
--- a/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowComponentInterop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowComponentInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("0576AB31-A310-4C40-BA31-FD37E0298DFA")]
[NativeTypeName("struct ICoreWindowComponentInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICoreWindowComponentInterop : ICoreWindowComponentInterop.Interface
+public unsafe partial struct ICoreWindowComponentInterop : ICoreWindowComponentInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICoreWindowComponentInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowInterop.cs b/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowInterop.cs
index 15b827f95c..865f5bb9d0 100644
--- a/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowInterop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/CoreWindow/ICoreWindowInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("45D64A29-A63E-4CB6-B498-5781D298CB4F")]
[NativeTypeName("struct ICoreWindowInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICoreWindowInterop : ICoreWindowInterop.Interface
+public unsafe partial struct ICoreWindowInterop : ICoreWindowInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICoreWindowInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/DocumentSource/IPrintDocumentPageSource.cs b/sources/Interop/Windows/WinRT/winrt/DocumentSource/IPrintDocumentPageSource.cs
index 643702e012..23a63bb5f8 100644
--- a/sources/Interop/Windows/WinRT/winrt/DocumentSource/IPrintDocumentPageSource.cs
+++ b/sources/Interop/Windows/WinRT/winrt/DocumentSource/IPrintDocumentPageSource.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("A96BB1DB-172E-4667-82B5-AD97A252318F")]
[NativeTypeName("struct IPrintDocumentPageSource : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPrintDocumentPageSource : IPrintDocumentPageSource.Interface
+public unsafe partial struct IPrintDocumentPageSource : IPrintDocumentPageSource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPrintDocumentPageSource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/DocumentSource/IPrintPreviewPageCollection.cs b/sources/Interop/Windows/WinRT/winrt/DocumentSource/IPrintPreviewPageCollection.cs
index bfa63b73de..26e25e4ac9 100644
--- a/sources/Interop/Windows/WinRT/winrt/DocumentSource/IPrintPreviewPageCollection.cs
+++ b/sources/Interop/Windows/WinRT/winrt/DocumentSource/IPrintPreviewPageCollection.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("0B31CC62-D7EC-4747-9D6E-F2537D870F2B")]
[NativeTypeName("struct IPrintPreviewPageCollection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPrintPreviewPageCollection : IPrintPreviewPageCollection.Interface
+public unsafe partial struct IPrintPreviewPageCollection : IPrintPreviewPageCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPrintPreviewPageCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/MemoryBuffer/IMemoryBufferByteAccess.cs b/sources/Interop/Windows/WinRT/winrt/MemoryBuffer/IMemoryBufferByteAccess.cs
index 0dc9f69767..af819b416a 100644
--- a/sources/Interop/Windows/WinRT/winrt/MemoryBuffer/IMemoryBufferByteAccess.cs
+++ b/sources/Interop/Windows/WinRT/winrt/MemoryBuffer/IMemoryBufferByteAccess.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("5B0D3235-4DBA-4D44-865E-8F1D0E4FD04D")]
[NativeTypeName("struct IMemoryBufferByteAccess : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMemoryBufferByteAccess : IMemoryBufferByteAccess.Interface
+public unsafe partial struct IMemoryBufferByteAccess : IMemoryBufferByteAccess.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMemoryBufferByteAccess));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/WeakReference/IWeakReference.cs b/sources/Interop/Windows/WinRT/winrt/WeakReference/IWeakReference.cs
index fef4ac38ea..d220778b1d 100644
--- a/sources/Interop/Windows/WinRT/winrt/WeakReference/IWeakReference.cs
+++ b/sources/Interop/Windows/WinRT/winrt/WeakReference/IWeakReference.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("00000037-0000-0000-C000-000000000046")]
[NativeTypeName("struct IWeakReference : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWeakReference : IWeakReference.Interface
+public unsafe partial struct IWeakReference : IWeakReference.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWeakReference));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/WeakReference/IWeakReferenceSource.cs b/sources/Interop/Windows/WinRT/winrt/WeakReference/IWeakReferenceSource.cs
index f92fffc19f..2358857033 100644
--- a/sources/Interop/Windows/WinRT/winrt/WeakReference/IWeakReferenceSource.cs
+++ b/sources/Interop/Windows/WinRT/winrt/WeakReference/IWeakReferenceSource.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("00000038-0000-0000-C000-000000000046")]
[NativeTypeName("struct IWeakReferenceSource : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWeakReferenceSource : IWeakReferenceSource.Interface
+public unsafe partial struct IWeakReferenceSource : IWeakReferenceSource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWeakReferenceSource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/activation/IActivationFactory.cs b/sources/Interop/Windows/WinRT/winrt/activation/IActivationFactory.cs
index 4a0d7dccb5..91107d4b55 100644
--- a/sources/Interop/Windows/WinRT/winrt/activation/IActivationFactory.cs
+++ b/sources/Interop/Windows/WinRT/winrt/activation/IActivationFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("00000035-0000-0000-C000-000000000046")]
[NativeTypeName("struct IActivationFactory : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IActivationFactory : IActivationFactory.Interface
+public unsafe partial struct IActivationFactory : IActivationFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IActivationFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/asyncinfo/IAsyncInfo.cs b/sources/Interop/Windows/WinRT/winrt/asyncinfo/IAsyncInfo.cs
index d52dac1f3f..32ff55170d 100644
--- a/sources/Interop/Windows/WinRT/winrt/asyncinfo/IAsyncInfo.cs
+++ b/sources/Interop/Windows/WinRT/winrt/asyncinfo/IAsyncInfo.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("00000036-0000-0000-C000-000000000046")]
[NativeTypeName("struct IAsyncInfo : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IAsyncInfo : IAsyncInfo.Interface
+public unsafe partial struct IAsyncInfo : IAsyncInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAsyncInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/inspectable/IInspectable.cs b/sources/Interop/Windows/WinRT/winrt/inspectable/IInspectable.cs
index 76a0015144..44a4385e9b 100644
--- a/sources/Interop/Windows/WinRT/winrt/inspectable/IInspectable.cs
+++ b/sources/Interop/Windows/WinRT/winrt/inspectable/IInspectable.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("AF86E2E0-B12D-4C6A-9C5A-D7AA65101E90")]
[NativeTypeName("struct IInspectable : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInspectable : IInspectable.Interface
+public unsafe partial struct IInspectable : IInspectable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInspectable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/ivectorchangedeventargs/IVectorChangedEventArgs.cs b/sources/Interop/Windows/WinRT/winrt/ivectorchangedeventargs/IVectorChangedEventArgs.cs
index c600190266..fc5d4f3048 100644
--- a/sources/Interop/Windows/WinRT/winrt/ivectorchangedeventargs/IVectorChangedEventArgs.cs
+++ b/sources/Interop/Windows/WinRT/winrt/ivectorchangedeventargs/IVectorChangedEventArgs.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("575933DF-34FE-4480-AF15-07691F3D5D9B")]
[NativeTypeName("struct IVectorChangedEventArgs : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct IVectorChangedEventArgs : IVectorChangedEventArgs.Interface
+public unsafe partial struct IVectorChangedEventArgs : IVectorChangedEventArgs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVectorChangedEventArgs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/robuffer/IBufferByteAccess.cs b/sources/Interop/Windows/WinRT/winrt/robuffer/IBufferByteAccess.cs
index e9243756d8..9e0a5a22fd 100644
--- a/sources/Interop/Windows/WinRT/winrt/robuffer/IBufferByteAccess.cs
+++ b/sources/Interop/Windows/WinRT/winrt/robuffer/IBufferByteAccess.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("905A0FEF-BC53-11DF-8C49-001E4FC686DA")]
[NativeTypeName("struct IBufferByteAccess : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IBufferByteAccess : IBufferByteAccess.Interface
+public unsafe partial struct IBufferByteAccess : IBufferByteAccess.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IBufferByteAccess));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/windows.graphics.effects.interop/IGraphicsEffectD2D1Interop.cs b/sources/Interop/Windows/WinRT/winrt/windows.graphics.effects.interop/IGraphicsEffectD2D1Interop.cs
index 280b28fbd5..7c5911c860 100644
--- a/sources/Interop/Windows/WinRT/winrt/windows.graphics.effects.interop/IGraphicsEffectD2D1Interop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/windows.graphics.effects.interop/IGraphicsEffectD2D1Interop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("2FC57384-A068-44D7-A331-30982FCF7177")]
[NativeTypeName("struct IGraphicsEffectD2D1Interop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IGraphicsEffectD2D1Interop : IGraphicsEffectD2D1Interop.Interface
+public unsafe partial struct IGraphicsEffectD2D1Interop : IGraphicsEffectD2D1Interop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IGraphicsEffectD2D1Interop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionCapabilitiesInteropFactory.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionCapabilitiesInteropFactory.cs
index a25c862051..555d4976be 100644
--- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionCapabilitiesInteropFactory.cs
+++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionCapabilitiesInteropFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("2C9DB356-E70D-4642-8298-BC4AA5B4865C")]
[NativeTypeName("struct ICompositionCapabilitiesInteropFactory : IInspectable")]
[NativeInheritance("IInspectable")]
-public unsafe partial struct ICompositionCapabilitiesInteropFactory : ICompositionCapabilitiesInteropFactory.Interface
+public unsafe partial struct ICompositionCapabilitiesInteropFactory : ICompositionCapabilitiesInteropFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICompositionCapabilitiesInteropFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionDrawingSurfaceInterop.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionDrawingSurfaceInterop.cs
index c3f2d0da60..107fcac85f 100644
--- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionDrawingSurfaceInterop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionDrawingSurfaceInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("FD04E6E3-FE0C-4C3C-AB19-A07601A576EE")]
[NativeTypeName("struct ICompositionDrawingSurfaceInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICompositionDrawingSurfaceInterop : ICompositionDrawingSurfaceInterop.Interface
+public unsafe partial struct ICompositionDrawingSurfaceInterop : ICompositionDrawingSurfaceInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICompositionDrawingSurfaceInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionDrawingSurfaceInterop2.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionDrawingSurfaceInterop2.cs
index 041ef9abac..c4087598d2 100644
--- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionDrawingSurfaceInterop2.cs
+++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionDrawingSurfaceInterop2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("41E64AAE-98C0-4239-8E95-A330DD6AA18B")]
[NativeTypeName("struct ICompositionDrawingSurfaceInterop2 : ICompositionDrawingSurfaceInterop")]
[NativeInheritance("ICompositionDrawingSurfaceInterop")]
-public unsafe partial struct ICompositionDrawingSurfaceInterop2 : ICompositionDrawingSurfaceInterop2.Interface
+public unsafe partial struct ICompositionDrawingSurfaceInterop2 : ICompositionDrawingSurfaceInterop2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICompositionDrawingSurfaceInterop2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionGraphicsDeviceInterop.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionGraphicsDeviceInterop.cs
index 8fb479c1d2..b095cce196 100644
--- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionGraphicsDeviceInterop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositionGraphicsDeviceInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("A116FF71-F8BF-4C8A-9C98-70779A32A9C8")]
[NativeTypeName("struct ICompositionGraphicsDeviceInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICompositionGraphicsDeviceInterop : ICompositionGraphicsDeviceInterop.Interface
+public unsafe partial struct ICompositionGraphicsDeviceInterop : ICompositionGraphicsDeviceInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICompositionGraphicsDeviceInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositorDesktopInterop.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositorDesktopInterop.cs
index b4a1acd7dc..5a30b3fd0c 100644
--- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositorDesktopInterop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositorDesktopInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("29E691FA-4567-4DCA-B319-D0F207EB6807")]
[NativeTypeName("struct ICompositorDesktopInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICompositorDesktopInterop : ICompositorDesktopInterop.Interface
+public unsafe partial struct ICompositorDesktopInterop : ICompositorDesktopInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICompositorDesktopInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositorInterop.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositorInterop.cs
index b30ef6c55e..5eb3b13f87 100644
--- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositorInterop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ICompositorInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("25297D5C-3AD4-4C9C-B5CF-E36A38512330")]
[NativeTypeName("struct ICompositorInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICompositorInterop : ICompositorInterop.Interface
+public unsafe partial struct ICompositorInterop : ICompositorInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICompositorInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/IDesktopWindowTargetInterop.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/IDesktopWindowTargetInterop.cs
index adb628cb18..902cc5bf38 100644
--- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/IDesktopWindowTargetInterop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/IDesktopWindowTargetInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("35DBF59E-E3F9-45B0-81E7-FE75F4145DC9")]
[NativeTypeName("struct IDesktopWindowTargetInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDesktopWindowTargetInterop : IDesktopWindowTargetInterop.Interface
+public unsafe partial struct IDesktopWindowTargetInterop : IDesktopWindowTargetInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDesktopWindowTargetInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ISwapChainInterop.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ISwapChainInterop.cs
index 3438c68e31..7028222279 100644
--- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ISwapChainInterop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/ISwapChainInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("26F496A0-7F38-45FB-88F7-FAAABE67DD59")]
[NativeTypeName("struct ISwapChainInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISwapChainInterop : ISwapChainInterop.Interface
+public unsafe partial struct ISwapChainInterop : ISwapChainInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISwapChainInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/IVisualInteractionSourceInterop.cs b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/IVisualInteractionSourceInterop.cs
index 909d5c2af6..99880942c7 100644
--- a/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/IVisualInteractionSourceInterop.cs
+++ b/sources/Interop/Windows/WinRT/winrt/windows.ui.composition.interop/IVisualInteractionSourceInterop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.WinRT;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.WinRT;
[Guid("11F62CD1-2F9D-42D3-B05F-D6790D9E9F8E")]
[NativeTypeName("struct IVisualInteractionSourceInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IVisualInteractionSourceInterop : IVisualInteractionSourceInterop.Interface
+public unsafe partial struct IVisualInteractionSourceInterop : IVisualInteractionSourceInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVisualInteractionSourceInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaAddressMap.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaAddressMap.cs
index 5bc66ac74b..a344f599c6 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaAddressMap.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaAddressMap.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B62A2E7A-067A-4EA3-B598-04C09717502C")]
[NativeTypeName("struct IDiaAddressMap : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaAddressMap : IDiaAddressMap.Interface
+public unsafe partial struct IDiaAddressMap : IDiaAddressMap.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaAddressMap));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaDataSource.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaDataSource.cs
index 3a6129b7c4..acf85f7f64 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaDataSource.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaDataSource.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("79F1BB5F-B66E-48E5-B6A9-1545C323CA3D")]
[NativeTypeName("struct IDiaDataSource : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaDataSource : IDiaDataSource.Interface
+public unsafe partial struct IDiaDataSource : IDiaDataSource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaDataSource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumDebugStreamData.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumDebugStreamData.cs
index ec88823e64..5968ddc084 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumDebugStreamData.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumDebugStreamData.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("486943E8-D187-4A6B-A3C4-291259FFF60D")]
[NativeTypeName("struct IDiaEnumDebugStreamData : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumDebugStreamData : IDiaEnumDebugStreamData.Interface
+public unsafe partial struct IDiaEnumDebugStreamData : IDiaEnumDebugStreamData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumDebugStreamData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumDebugStreams.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumDebugStreams.cs
index d109a0db45..af3a30ff81 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumDebugStreams.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumDebugStreams.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("08CBB41E-47A6-4F87-92F1-1C9C87CED044")]
[NativeTypeName("struct IDiaEnumDebugStreams : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumDebugStreams : IDiaEnumDebugStreams.Interface
+public unsafe partial struct IDiaEnumDebugStreams : IDiaEnumDebugStreams.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumDebugStreams));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumFrameData.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumFrameData.cs
index 75f8c97e0f..ed6631df4f 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumFrameData.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumFrameData.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9FC77A4B-3C1C-44ED-A798-6C1DEEA53E1F")]
[NativeTypeName("struct IDiaEnumFrameData : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumFrameData : IDiaEnumFrameData.Interface
+public unsafe partial struct IDiaEnumFrameData : IDiaEnumFrameData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumFrameData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumInjectedSources.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumInjectedSources.cs
index 88170e0f16..dc48cc5a55 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumInjectedSources.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumInjectedSources.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D5612573-6925-4468-8883-98CDEC8C384A")]
[NativeTypeName("struct IDiaEnumInjectedSources : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumInjectedSources : IDiaEnumInjectedSources.Interface
+public unsafe partial struct IDiaEnumInjectedSources : IDiaEnumInjectedSources.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumInjectedSources));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumInputAssemblyFiles.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumInputAssemblyFiles.cs
index 57119ef56a..9dfa064c50 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumInputAssemblyFiles.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumInputAssemblyFiles.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1C7FF653-51F7-457E-8419-B20F57EF7E4D")]
[NativeTypeName("struct IDiaEnumInputAssemblyFiles : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumInputAssemblyFiles : IDiaEnumInputAssemblyFiles.Interface
+public unsafe partial struct IDiaEnumInputAssemblyFiles : IDiaEnumInputAssemblyFiles.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumInputAssemblyFiles));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumLineNumbers.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumLineNumbers.cs
index 073bb8e99e..816e1f9d11 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumLineNumbers.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumLineNumbers.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FE30E878-54AC-44F1-81BA-39DE940F6052")]
[NativeTypeName("struct IDiaEnumLineNumbers : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumLineNumbers : IDiaEnumLineNumbers.Interface
+public unsafe partial struct IDiaEnumLineNumbers : IDiaEnumLineNumbers.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumLineNumbers));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSectionContribs.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSectionContribs.cs
index 929b3050f6..1f72cd467f 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSectionContribs.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSectionContribs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1994DEB2-2C82-4B1D-A57F-AFF424D54A68")]
[NativeTypeName("struct IDiaEnumSectionContribs : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumSectionContribs : IDiaEnumSectionContribs.Interface
+public unsafe partial struct IDiaEnumSectionContribs : IDiaEnumSectionContribs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumSectionContribs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSegments.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSegments.cs
index 1433031b92..3c7f0c03b6 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSegments.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSegments.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E8368CA9-01D1-419D-AC0C-E31235DBDA9F")]
[NativeTypeName("struct IDiaEnumSegments : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumSegments : IDiaEnumSegments.Interface
+public unsafe partial struct IDiaEnumSegments : IDiaEnumSegments.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumSegments));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSourceFiles.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSourceFiles.cs
index 75c0910697..f07b87d817 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSourceFiles.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSourceFiles.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("10F3DBD9-664F-4469-B808-9471C7A50538")]
[NativeTypeName("struct IDiaEnumSourceFiles : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumSourceFiles : IDiaEnumSourceFiles.Interface
+public unsafe partial struct IDiaEnumSourceFiles : IDiaEnumSourceFiles.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumSourceFiles));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumStackFrames.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumStackFrames.cs
index cb4de12d35..a1b32529ae 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumStackFrames.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumStackFrames.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EC9D461D-CE74-4711-A020-7D8F9A1DD255")]
[NativeTypeName("struct IDiaEnumStackFrames : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumStackFrames : IDiaEnumStackFrames.Interface
+public unsafe partial struct IDiaEnumStackFrames : IDiaEnumStackFrames.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumStackFrames));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbols.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbols.cs
index 5ae4c756b6..854e7ac6d6 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbols.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbols.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CAB72C48-443B-48F5-9B0B-42F0820AB29A")]
[NativeTypeName("struct IDiaEnumSymbols : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumSymbols : IDiaEnumSymbols.Interface
+public unsafe partial struct IDiaEnumSymbols : IDiaEnumSymbols.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumSymbols));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbolsByAddr.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbolsByAddr.cs
index abec6dd293..aa3c43ea39 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbolsByAddr.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbolsByAddr.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("624B7D9C-24EA-4421-9D06-3B577471C1FA")]
[NativeTypeName("struct IDiaEnumSymbolsByAddr : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumSymbolsByAddr : IDiaEnumSymbolsByAddr.Interface
+public unsafe partial struct IDiaEnumSymbolsByAddr : IDiaEnumSymbolsByAddr.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumSymbolsByAddr));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbolsByAddr2.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbolsByAddr2.cs
index a004bb59d7..fb82249f06 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbolsByAddr2.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumSymbolsByAddr2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1E45BD02-BE45-4D71-BA32-0E576CFCD59F")]
[NativeTypeName("struct IDiaEnumSymbolsByAddr2 : IDiaEnumSymbolsByAddr")]
[NativeInheritance("IDiaEnumSymbolsByAddr")]
-public unsafe partial struct IDiaEnumSymbolsByAddr2 : IDiaEnumSymbolsByAddr2.Interface
+public unsafe partial struct IDiaEnumSymbolsByAddr2 : IDiaEnumSymbolsByAddr2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumSymbolsByAddr2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumTables.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumTables.cs
index 09df8afc9e..e07c3dfa80 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaEnumTables.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaEnumTables.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C65C2B0A-1150-4D7A-AFCC-E05BF3DEE81E")]
[NativeTypeName("struct IDiaEnumTables : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaEnumTables : IDiaEnumTables.Interface
+public unsafe partial struct IDiaEnumTables : IDiaEnumTables.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaEnumTables));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaFrameData.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaFrameData.cs
index fc7169018d..1375a6f6f6 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaFrameData.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaFrameData.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A39184B7-6A36-42DE-8EEC-7DF9F3F59F33")]
[NativeTypeName("struct IDiaFrameData : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaFrameData : IDiaFrameData.Interface
+public unsafe partial struct IDiaFrameData : IDiaFrameData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaFrameData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaImageData.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaImageData.cs
index 8dda4dac06..da81ab30bd 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaImageData.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaImageData.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C8E40ED2-A1D9-4221-8692-3CE661184B44")]
[NativeTypeName("struct IDiaImageData : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaImageData : IDiaImageData.Interface
+public unsafe partial struct IDiaImageData : IDiaImageData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaImageData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaInjectedSource.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaInjectedSource.cs
index 22bebbd4ac..ad1422409a 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaInjectedSource.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaInjectedSource.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("AE605CDC-8105-4A23-B710-3259F1E26112")]
[NativeTypeName("struct IDiaInjectedSource : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaInjectedSource : IDiaInjectedSource.Interface
+public unsafe partial struct IDiaInjectedSource : IDiaInjectedSource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaInjectedSource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaInputAssemblyFile.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaInputAssemblyFile.cs
index 973e2ab2c8..b36a425d00 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaInputAssemblyFile.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaInputAssemblyFile.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3BFE56B0-390C-4863-9430-1F3D083B7684")]
[NativeTypeName("struct IDiaInputAssemblyFile : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaInputAssemblyFile : IDiaInputAssemblyFile.Interface
+public unsafe partial struct IDiaInputAssemblyFile : IDiaInputAssemblyFile.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaInputAssemblyFile));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaLineNumber.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaLineNumber.cs
index d21baa19e4..236644a4bd 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaLineNumber.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaLineNumber.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B388EB14-BE4D-421D-A8A1-6CF7AB057086")]
[NativeTypeName("struct IDiaLineNumber : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaLineNumber : IDiaLineNumber.Interface
+public unsafe partial struct IDiaLineNumber : IDiaLineNumber.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaLineNumber));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaLoadCallback.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaLoadCallback.cs
index 2b6399ab5a..fcb411a25c 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaLoadCallback.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaLoadCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C32ADB82-73F4-421B-95D5-A4706EDF5DBE")]
[NativeTypeName("struct IDiaLoadCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaLoadCallback : IDiaLoadCallback.Interface
+public unsafe partial struct IDiaLoadCallback : IDiaLoadCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaLoadCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaLoadCallback2.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaLoadCallback2.cs
index 482bad85ee..8ed25fde6d 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaLoadCallback2.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaLoadCallback2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4688A074-5A4D-4486-AEA8-7B90711D9F7C")]
[NativeTypeName("struct IDiaLoadCallback2 : IDiaLoadCallback")]
[NativeInheritance("IDiaLoadCallback")]
-public unsafe partial struct IDiaLoadCallback2 : IDiaLoadCallback2.Interface
+public unsafe partial struct IDiaLoadCallback2 : IDiaLoadCallback2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaLoadCallback2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaPropertyStorage.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaPropertyStorage.cs
index ace900541f..6d9f9a8066 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaPropertyStorage.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaPropertyStorage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9D416F9C-E184-45B2-A4F0-CE517F719E9B")]
[NativeTypeName("struct IDiaPropertyStorage : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaPropertyStorage : IDiaPropertyStorage.Interface
+public unsafe partial struct IDiaPropertyStorage : IDiaPropertyStorage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaPropertyStorage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaReadExeAtOffsetCallback.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaReadExeAtOffsetCallback.cs
index 2274046c07..13754740a3 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaReadExeAtOffsetCallback.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaReadExeAtOffsetCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("587A461C-B80B-4F54-9194-5032589A6319")]
[NativeTypeName("struct IDiaReadExeAtOffsetCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaReadExeAtOffsetCallback : IDiaReadExeAtOffsetCallback.Interface
+public unsafe partial struct IDiaReadExeAtOffsetCallback : IDiaReadExeAtOffsetCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaReadExeAtOffsetCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaReadExeAtRVACallback.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaReadExeAtRVACallback.cs
index 17e5125881..53a80996e7 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaReadExeAtRVACallback.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaReadExeAtRVACallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8E3F80CA-7517-432A-BA07-285134AAEA8E")]
[NativeTypeName("struct IDiaReadExeAtRVACallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaReadExeAtRVACallback : IDiaReadExeAtRVACallback.Interface
+public unsafe partial struct IDiaReadExeAtRVACallback : IDiaReadExeAtRVACallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaReadExeAtRVACallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSectionContrib.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSectionContrib.cs
index 465980b90d..0eab4aa201 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSectionContrib.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSectionContrib.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0CF4B60E-35B1-4C6C-BDD8-854B9C8E3857")]
[NativeTypeName("struct IDiaSectionContrib : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaSectionContrib : IDiaSectionContrib.Interface
+public unsafe partial struct IDiaSectionContrib : IDiaSectionContrib.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSectionContrib));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSegment.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSegment.cs
index 3b476ffbe3..1efd4276e2 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSegment.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSegment.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0775B784-C75B-4449-848B-B7BD3159545B")]
[NativeTypeName("struct IDiaSegment : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaSegment : IDiaSegment.Interface
+public unsafe partial struct IDiaSegment : IDiaSegment.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSegment));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSession.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSession.cs
index 1464add953..fce800567b 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSession.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSession.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2F609EE1-D1C8-4E24-8288-3326BADCD211")]
[NativeTypeName("struct IDiaSession : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaSession : IDiaSession.Interface
+public unsafe partial struct IDiaSession : IDiaSession.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSession));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSourceFile.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSourceFile.cs
index 0d3d104009..5c297d5912 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSourceFile.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSourceFile.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A2EF5353-F5A8-4EB3-90D2-CB526ACB3CDD")]
[NativeTypeName("struct IDiaSourceFile : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaSourceFile : IDiaSourceFile.Interface
+public unsafe partial struct IDiaSourceFile : IDiaSourceFile.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSourceFile));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaStackFrame.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaStackFrame.cs
index d1a4ded732..794d078171 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaStackFrame.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaStackFrame.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("5EDBC96D-CDD6-4792-AFBE-CC89007D9610")]
[NativeTypeName("struct IDiaStackFrame : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaStackFrame : IDiaStackFrame.Interface
+public unsafe partial struct IDiaStackFrame : IDiaStackFrame.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaStackFrame));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkFrame.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkFrame.cs
index 1a9ce1f173..76556b323d 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkFrame.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkFrame.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("07C590C1-438D-4F47-BDCD-4397BC81AD75")]
[NativeTypeName("struct IDiaStackWalkFrame : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaStackWalkFrame : IDiaStackWalkFrame.Interface
+public unsafe partial struct IDiaStackWalkFrame : IDiaStackWalkFrame.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaStackWalkFrame));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkHelper.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkHelper.cs
index 83854dc06e..baef371b7f 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkHelper.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkHelper.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("21F81B1B-C5BB-42A3-BC4F-CCBAA75B9F19")]
[NativeTypeName("struct IDiaStackWalkHelper : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaStackWalkHelper : IDiaStackWalkHelper.Interface
+public unsafe partial struct IDiaStackWalkHelper : IDiaStackWalkHelper.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaStackWalkHelper));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkHelper2.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkHelper2.cs
index 55ae731f12..f133122bd8 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkHelper2.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalkHelper2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8222C490-507B-4BEF-B3BD-41DCA7B5934C")]
[NativeTypeName("struct IDiaStackWalkHelper2 : IDiaStackWalkHelper")]
[NativeInheritance("IDiaStackWalkHelper")]
-public unsafe partial struct IDiaStackWalkHelper2 : IDiaStackWalkHelper2.Interface
+public unsafe partial struct IDiaStackWalkHelper2 : IDiaStackWalkHelper2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaStackWalkHelper2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalker.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalker.cs
index 89577d259a..ad7a289cc5 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalker.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalker.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("5485216B-A54C-469F-9670-52B24D5229BB")]
[NativeTypeName("struct IDiaStackWalker : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaStackWalker : IDiaStackWalker.Interface
+public unsafe partial struct IDiaStackWalker : IDiaStackWalker.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaStackWalker));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalker2.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalker2.cs
index babe2876f5..1185720674 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalker2.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaStackWalker2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7C185885-A015-4CAC-9411-0F4FB39B1F3A")]
[NativeTypeName("struct IDiaStackWalker2 : IDiaStackWalker")]
[NativeInheritance("IDiaStackWalker")]
-public unsafe partial struct IDiaStackWalker2 : IDiaStackWalker2.Interface
+public unsafe partial struct IDiaStackWalker2 : IDiaStackWalker2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaStackWalker2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol.cs
index dd35e39165..f943285221 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CB787B2F-BD6C-4635-BA52-933126BD2DCD")]
[NativeTypeName("struct IDiaSymbol : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDiaSymbol : IDiaSymbol.Interface
+public unsafe partial struct IDiaSymbol : IDiaSymbol.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSymbol));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol10.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol10.cs
index 310e1152ba..2606147c46 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol10.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol10.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9034A70B-B0B7-4605-8A97-33772F3A7B8C")]
[NativeTypeName("struct IDiaSymbol10 : IDiaSymbol9")]
[NativeInheritance("IDiaSymbol9")]
-public unsafe partial struct IDiaSymbol10 : IDiaSymbol10.Interface
+public unsafe partial struct IDiaSymbol10 : IDiaSymbol10.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSymbol10));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol2.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol2.cs
index 4a32dadc7e..47bc189d3a 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol2.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("611E86CD-B7D1-4546-8A15-070E2B07A427")]
[NativeTypeName("struct IDiaSymbol2 : IDiaSymbol")]
[NativeInheritance("IDiaSymbol")]
-public unsafe partial struct IDiaSymbol2 : IDiaSymbol2.Interface
+public unsafe partial struct IDiaSymbol2 : IDiaSymbol2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSymbol2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol3.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol3.cs
index f0c450748c..a34d5b402a 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol3.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("99B665F7-C1B2-49D3-89B2-A384361ACAB5")]
[NativeTypeName("struct IDiaSymbol3 : IDiaSymbol2")]
[NativeInheritance("IDiaSymbol2")]
-public unsafe partial struct IDiaSymbol3 : IDiaSymbol3.Interface
+public unsafe partial struct IDiaSymbol3 : IDiaSymbol3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSymbol3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol4.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol4.cs
index 7c571e882b..6f60993b20 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol4.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BF6C88A7-E9D6-4346-99A1-D053DE5A7808")]
[NativeTypeName("struct IDiaSymbol4 : IDiaSymbol3")]
[NativeInheritance("IDiaSymbol3")]
-public unsafe partial struct IDiaSymbol4 : IDiaSymbol4.Interface
+public unsafe partial struct IDiaSymbol4 : IDiaSymbol4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSymbol4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol5.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol5.cs
index 46a4e90de6..6bdbc492cc 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol5.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("ABE2DE00-DC2D-4793-AF9A-EF1D90832644")]
[NativeTypeName("struct IDiaSymbol5 : IDiaSymbol4")]
[NativeInheritance("IDiaSymbol4")]
-public unsafe partial struct IDiaSymbol5 : IDiaSymbol5.Interface
+public unsafe partial struct IDiaSymbol5 : IDiaSymbol5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSymbol5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol6.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol6.cs
index bee68435d4..816140c4b9 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol6.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol6.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8133DAD3-75FE-4234-AC7E-F8E7A1D3CBB3")]
[NativeTypeName("struct IDiaSymbol6 : IDiaSymbol5")]
[NativeInheritance("IDiaSymbol5")]
-public unsafe partial struct IDiaSymbol6 : IDiaSymbol6.Interface
+public unsafe partial struct IDiaSymbol6 : IDiaSymbol6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSymbol6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol7.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol7.cs
index 752a721f93..ee52857b79 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol7.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol7.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("64CE6CD5-7315-4328-86D6-10E303E010B4")]
[NativeTypeName("struct IDiaSymbol7 : IDiaSymbol6")]
[NativeInheritance("IDiaSymbol6")]
-public unsafe partial struct IDiaSymbol7 : IDiaSymbol7.Interface
+public unsafe partial struct IDiaSymbol7 : IDiaSymbol7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSymbol7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol8.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol8.cs
index f5bd57548b..ca9d8407bd 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol8.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol8.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7F2E041F-1294-41BD-B83A-E715972D2CE3")]
[NativeTypeName("struct IDiaSymbol8 : IDiaSymbol7")]
[NativeInheritance("IDiaSymbol7")]
-public unsafe partial struct IDiaSymbol8 : IDiaSymbol8.Interface
+public unsafe partial struct IDiaSymbol8 : IDiaSymbol8.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSymbol8));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol9.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol9.cs
index 834db4d972..473cd0fbc2 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol9.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaSymbol9.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A89E5969-92A1-4F8A-B704-00121C37ABBB")]
[NativeTypeName("struct IDiaSymbol9 : IDiaSymbol8")]
[NativeInheritance("IDiaSymbol8")]
-public unsafe partial struct IDiaSymbol9 : IDiaSymbol9.Interface
+public unsafe partial struct IDiaSymbol9 : IDiaSymbol9.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaSymbol9));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/dia2/IDiaTable.cs b/sources/Interop/Windows/Windows/other/dia2/IDiaTable.cs
index abe3738d2e..f2acf56d86 100644
--- a/sources/Interop/Windows/Windows/other/dia2/IDiaTable.cs
+++ b/sources/Interop/Windows/Windows/other/dia2/IDiaTable.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4A59FB77-ABAC-469B-A30B-9ECC85BFEF14")]
[NativeTypeName("struct IDiaTable : IEnumUnknown")]
[NativeInheritance("IEnumUnknown")]
-public unsafe partial struct IDiaTable : IDiaTable.Interface
+public unsafe partial struct IDiaTable : IDiaTable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDiaTable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/other/helper-types/INativeGuid.cs b/sources/Interop/Windows/Windows/other/helper-types/INativeGuid.cs
new file mode 100644
index 0000000000..6f48dde032
--- /dev/null
+++ b/sources/Interop/Windows/Windows/other/helper-types/INativeGuid.cs
@@ -0,0 +1,10 @@
+// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
+
+using System;
+
+namespace TerraFX.Interop;
+
+public unsafe interface INativeGuid
+{
+ protected internal static abstract Guid* NativeGuid { get; }
+}
diff --git a/sources/Interop/Windows/Windows/other/mssign32/SIGNER_CERT.cs b/sources/Interop/Windows/Windows/other/mssign32/SIGNER_CERT.cs
index 930d6c59da..3d005f53fc 100644
--- a/sources/Interop/Windows/Windows/other/mssign32/SIGNER_CERT.cs
+++ b/sources/Interop/Windows/Windows/other/mssign32/SIGNER_CERT.cs
@@ -3,6 +3,7 @@
// Ported from https://docs.microsoft.com/en-us/windows/win32/appxpkg/how-to-programmatically-sign-a-package
// Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT).
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -27,32 +28,35 @@ public unsafe partial struct SIGNER_CERT
public HWND hwnd;
///
+ [UnscopedRef]
public ref ushort* pwszSpcFile
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.pwszSpcFile;
+ return ref Anonymous.pwszSpcFile;
}
}
///
+ [UnscopedRef]
public ref SIGNER_CERT_STORE_INFO* pCertStoreInfo
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.pCertStoreInfo;
+ return ref Anonymous.pCertStoreInfo;
}
}
///
+ [UnscopedRef]
public ref SIGNER_SPC_CHAIN_INFO* pSpcChainInfo
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.pSpcChainInfo;
+ return ref Anonymous.pSpcChainInfo;
}
}
diff --git a/sources/Interop/Windows/Windows/other/mssign32/SIGNER_PROVIDER_INFO.cs b/sources/Interop/Windows/Windows/other/mssign32/SIGNER_PROVIDER_INFO.cs
index 0e9f08c2bf..60d8614667 100644
--- a/sources/Interop/Windows/Windows/other/mssign32/SIGNER_PROVIDER_INFO.cs
+++ b/sources/Interop/Windows/Windows/other/mssign32/SIGNER_PROVIDER_INFO.cs
@@ -3,6 +3,7 @@
// Ported from https://docs.microsoft.com/en-us/windows/win32/appxpkg/how-to-programmatically-sign-a-package
// Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT).
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -36,22 +37,24 @@ public unsafe partial struct SIGNER_PROVIDER_INFO
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref ushort* pwszPvkFileName
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.pwszPvkFileName;
+ return ref Anonymous.pwszPvkFileName;
}
}
///
+ [UnscopedRef]
public ref ushort* pwszKeyContainer
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.pwszKeyContainer;
+ return ref Anonymous.pwszKeyContainer;
}
}
diff --git a/sources/Interop/Windows/Windows/other/mssign32/SIGNER_SIGNATURE_INFO.cs b/sources/Interop/Windows/Windows/other/mssign32/SIGNER_SIGNATURE_INFO.cs
index 454f50bffe..fae15bd629 100644
--- a/sources/Interop/Windows/Windows/other/mssign32/SIGNER_SIGNATURE_INFO.cs
+++ b/sources/Interop/Windows/Windows/other/mssign32/SIGNER_SIGNATURE_INFO.cs
@@ -3,6 +3,7 @@
// Ported from https://docs.microsoft.com/en-us/windows/win32/appxpkg/how-to-programmatically-sign-a-package
// Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT).
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -36,12 +37,13 @@ public unsafe partial struct SIGNER_SIGNATURE_INFO
public CRYPT_ATTRIBUTES* psUnauthenticated;
///
+ [UnscopedRef]
public ref SIGNER_ATTR_AUTHCODE* pAttrAuthcode
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.pAttrAuthcode;
+ return ref Anonymous.pAttrAuthcode;
}
}
diff --git a/sources/Interop/Windows/Windows/other/mssign32/SIGNER_SUBJECT_INFO.cs b/sources/Interop/Windows/Windows/other/mssign32/SIGNER_SUBJECT_INFO.cs
index 257c87141c..93139ef312 100644
--- a/sources/Interop/Windows/Windows/other/mssign32/SIGNER_SUBJECT_INFO.cs
+++ b/sources/Interop/Windows/Windows/other/mssign32/SIGNER_SUBJECT_INFO.cs
@@ -3,6 +3,7 @@
// Ported from https://docs.microsoft.com/en-us/windows/win32/appxpkg/how-to-programmatically-sign-a-package
// Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT).
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -28,22 +29,24 @@ public unsafe partial struct SIGNER_SUBJECT_INFO
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref SIGNER_FILE_INFO* pSignerFileInfo
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.pSignerFileInfo;
+ return ref Anonymous.pSignerFileInfo;
}
}
///
+ [UnscopedRef]
public ref SIGNER_BLOB_INFO* pSignerBlobInfo
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.pSignerBlobInfo;
+ return ref Anonymous.pSignerBlobInfo;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPDESTTABLE.cs b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPDESTTABLE.cs
index d3b97f614a..dac859b29e 100644
--- a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPDESTTABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPDESTTABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_IPDESTROW e0;
+ [UnscopedRef]
public ref MIB_IPDESTROW this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_IPDESTROW this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPMCAST_BOUNDARY_TABLE.cs b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPMCAST_BOUNDARY_TABLE.cs
index b9e7f4875b..bfe797167d 100644
--- a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPMCAST_BOUNDARY_TABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_IPMCAST_BOUNDARY_TABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_IPMCAST_BOUNDARY e0;
+ [UnscopedRef]
public ref MIB_IPMCAST_BOUNDARY this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_IPMCAST_BOUNDARY this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_INFO.cs b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_INFO.cs
index a6e014fed0..ecde0c3ea4 100644
--- a/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_INFO.cs
+++ b/sources/Interop/Windows/Windows/shared/Iprtrmib/MIB_OPAQUE_INFO.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -21,16 +22,18 @@ public unsafe partial struct MIB_OPAQUE_INFO
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref ulong ullAlign
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.ullAlign, 1));
+ return ref Anonymous.ullAlign;
}
}
///
+ [UnscopedRef]
public Span rgbyData
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
diff --git a/sources/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTOR.cs
index 48896baa53..39ab7c4eec 100644
--- a/sources/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTOR.cs
+++ b/sources/Interop/Windows/Windows/shared/evntprov/EVENT_DATA_DESCRIPTOR.cs
@@ -3,6 +3,7 @@
// Ported from shared/evntprov.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -24,42 +25,46 @@ public partial struct EVENT_DATA_DESCRIPTOR
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref uint Reserved
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Reserved, 1));
+ return ref Anonymous.Reserved;
}
}
///
+ [UnscopedRef]
public ref byte Type
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Type, 1));
+ return ref Anonymous.Anonymous.Type;
}
}
///
+ [UnscopedRef]
public ref byte Reserved1
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Reserved1, 1));
+ return ref Anonymous.Anonymous.Reserved1;
}
}
///
+ [UnscopedRef]
public ref ushort Reserved2
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Reserved2, 1));
+ return ref Anonymous.Anonymous.Reserved2;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_BUTTON_CAPS.cs b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_BUTTON_CAPS.cs
index bcebf94655..b85b0e4fb6 100644
--- a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_BUTTON_CAPS.cs
+++ b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_BUTTON_CAPS.cs
@@ -3,6 +3,7 @@
// Ported from shared/hidpi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -62,22 +63,24 @@ public unsafe partial struct HIDP_BUTTON_CAPS
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref _Anonymous_e__Union._Range_e__Struct Range
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Range, 1));
+ return ref Anonymous.Range;
}
}
///
+ [UnscopedRef]
public ref _Anonymous_e__Union._NotRange_e__Struct NotRange
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.NotRange, 1));
+ return ref Anonymous.NotRange;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_DATA.cs b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_DATA.cs
index 3a3d65314b..a65abe11b4 100644
--- a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_DATA.cs
+++ b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_DATA.cs
@@ -3,6 +3,7 @@
// Ported from shared/hidpi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,22 +23,24 @@ public partial struct HIDP_DATA
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref uint RawValue
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.RawValue, 1));
+ return ref Anonymous.RawValue;
}
}
///
+ [UnscopedRef]
public ref byte On
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.On, 1));
+ return ref Anonymous.On;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_KEYBOARD_MODIFIER_STATE.cs b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_KEYBOARD_MODIFIER_STATE.cs
index 33495d9b3e..165b179fee 100644
--- a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_KEYBOARD_MODIFIER_STATE.cs
+++ b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_KEYBOARD_MODIFIER_STATE.cs
@@ -3,6 +3,7 @@
// Ported from shared/hidpi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -208,12 +209,13 @@ public uint Reserved
}
///
+ [UnscopedRef]
public ref uint ul
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.ul, 1));
+ return ref Anonymous.ul;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_VALUE_CAPS.cs b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_VALUE_CAPS.cs
index 43b79ebf58..e753c17a7e 100644
--- a/sources/Interop/Windows/Windows/shared/hidpi/HIDP_VALUE_CAPS.cs
+++ b/sources/Interop/Windows/Windows/shared/hidpi/HIDP_VALUE_CAPS.cs
@@ -3,6 +3,7 @@
// Ported from shared/hidpi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -100,22 +101,24 @@ public unsafe partial struct HIDP_VALUE_CAPS
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref _Anonymous_e__Union._Range_e__Struct Range
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Range, 1));
+ return ref Anonymous.Range;
}
}
///
+ [UnscopedRef]
public ref _Anonymous_e__Union._NotRange_e__Struct NotRange
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.NotRange, 1));
+ return ref Anonymous.NotRange;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFTABLE.cs b/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFTABLE.cs
index dbf9990fdf..1747400e36 100644
--- a/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFTABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/ifmib/MIB_IFTABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_IFROW e0;
+ [UnscopedRef]
public ref MIB_IFROW this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_IFROW this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPADDRTABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPADDRTABLE.cs
index d95cec3195..5b70c92b2f 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPADDRTABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPADDRTABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_IPADDRROW_XP e0;
+ [UnscopedRef]
public ref MIB_IPADDRROW_XP this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_IPADDRROW_XP this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDROW.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDROW.cs
index cd72bf9514..ef4541d328 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDROW.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDROW.cs
@@ -3,6 +3,7 @@
// Ported from shared/ipmib.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -68,42 +69,46 @@ public partial struct MIB_IPFORWARDROW
public uint dwForwardMetric5;
///
+ [UnscopedRef]
public ref uint dwForwardType
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.dwForwardType, 1));
+ return ref Anonymous1.dwForwardType;
}
}
///
+ [UnscopedRef]
public ref MIB_IPFORWARD_TYPE ForwardType
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.ForwardType, 1));
+ return ref Anonymous1.ForwardType;
}
}
///
+ [UnscopedRef]
public ref uint dwForwardProto
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.dwForwardProto, 1));
+ return ref Anonymous2.dwForwardProto;
}
}
///
+ [UnscopedRef]
public ref MIB_IPFORWARD_PROTO ForwardProto
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.ForwardProto, 1));
+ return ref Anonymous2.ForwardProto;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDTABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDTABLE.cs
index 100892783b..0eadbaa8ac 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDTABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPFORWARDTABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_IPFORWARDROW e0;
+ [UnscopedRef]
public ref MIB_IPFORWARDROW this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_IPFORWARDROW this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_IF_TABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_IF_TABLE.cs
index 1a05047776..d5093002fc 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_IF_TABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_IF_TABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_IPMCAST_IF_ENTRY e0;
+ [UnscopedRef]
public ref MIB_IPMCAST_IF_ENTRY this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_IPMCAST_IF_ENTRY this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE.cs
index b807b3892e..8dd989fc53 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -81,6 +82,7 @@ public partial struct _rgmioOutInfo_e__FixedBuffer
{
public MIB_IPMCAST_OIF_XP e0;
+ [UnscopedRef]
public ref MIB_IPMCAST_OIF_XP this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -91,6 +93,7 @@ public ref MIB_IPMCAST_OIF_XP this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS.cs
index f0b9f76715..6c6952585c 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -85,6 +86,7 @@ public partial struct _rgmiosOutStats_e__FixedBuffer
{
public MIB_IPMCAST_OIF_STATS_LH e0;
+ [UnscopedRef]
public ref MIB_IPMCAST_OIF_STATS_LH this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -95,6 +97,7 @@ public ref MIB_IPMCAST_OIF_STATS_LH this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS_EX_XP.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS_EX_XP.cs
index 2186f720e3..8b018857aa 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS_EX_XP.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPMCAST_MFE_STATS_EX_XP.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -105,6 +106,7 @@ public partial struct _rgmiosOutStats_e__FixedBuffer
{
public MIB_IPMCAST_OIF_STATS_LH e0;
+ [UnscopedRef]
public ref MIB_IPMCAST_OIF_STATS_LH this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -115,6 +117,7 @@ public ref MIB_IPMCAST_OIF_STATS_LH this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_LH.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_LH.cs
index 85d9813c58..64f7472330 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_LH.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETROW_LH.cs
@@ -3,6 +3,7 @@
// Ported from shared/ipmib.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -32,22 +33,24 @@ public unsafe partial struct MIB_IPNETROW_LH
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref uint dwType
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwType, 1));
+ return ref Anonymous.dwType;
}
}
///
+ [UnscopedRef]
public ref MIB_IPNET_TYPE Type
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Type, 1));
+ return ref Anonymous.Type;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETTABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETTABLE.cs
index fb078f6bf8..9ab08639df 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETTABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPNETTABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_IPNETROW_LH e0;
+ [UnscopedRef]
public ref MIB_IPNETROW_LH this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_IPNETROW_LH this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPSTATS_LH.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPSTATS_LH.cs
index aab3ba7661..2e2d04f69b 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPSTATS_LH.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_IPSTATS_LH.cs
@@ -3,6 +3,7 @@
// Ported from shared/ipmib.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -104,22 +105,24 @@ public partial struct MIB_IPSTATS_LH
public uint dwNumRoutes;
///
+ [UnscopedRef]
public ref uint dwForwarding
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwForwarding, 1));
+ return ref Anonymous.dwForwarding;
}
}
///
+ [UnscopedRef]
public ref MIB_IPSTATS_FORWARDING Forwarding
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Forwarding, 1));
+ return ref Anonymous.Forwarding;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE.cs
index a3ff53f686..bb85077e4c 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_STATS_TABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_IPMCAST_MFE_STATS e0;
+ [UnscopedRef]
public ref MIB_IPMCAST_MFE_STATS this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_IPMCAST_MFE_STATS this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_TABLE.cs b/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_TABLE.cs
index 2758a68351..96f78afe2d 100644
--- a/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_TABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/ipmib/MIB_MFE_TABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_IPMCAST_MFE e0;
+ [UnscopedRef]
public ref MIB_IPMCAST_MFE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_IPMCAST_MFE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ks/KSDATAFORMAT.Manual.cs b/sources/Interop/Windows/Windows/shared/ks/KSDATAFORMAT.Manual.cs
index 1bdccb5f03..2ab32b903a 100644
--- a/sources/Interop/Windows/Windows/shared/ks/KSDATAFORMAT.Manual.cs
+++ b/sources/Interop/Windows/Windows/shared/ks/KSDATAFORMAT.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -15,19 +17,75 @@ public partial struct KSDATAFORMAT
[NativeTypeName("KSDATAFORMAT::(anonymous struct at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/shared/ks.h:1096:5)")]
internal _Anonymous_e__Struct Anonymous;
- public ref uint FormatSize => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.FormatSize, 1));
+ [UnscopedRef]
+ public ref uint FormatSize
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ return ref Anonymous.FormatSize;
+ }
+ }
- public ref uint Flags => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Flags, 1));
+ [UnscopedRef]
+ public ref uint Flags
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ return ref Anonymous.Flags;
+ }
+ }
- public ref uint SampleSize => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.SampleSize, 1));
+ [UnscopedRef]
+ public ref uint SampleSize
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ return ref Anonymous.SampleSize;
+ }
+ }
- public ref uint Reserved => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Reserved, 1));
+ [UnscopedRef]
+ public ref uint Reserved
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ return ref Anonymous.Reserved;
+ }
+ }
- public ref Guid MajorFormat => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.MajorFormat, 1));
+ [UnscopedRef]
+ public ref Guid MajorFormat
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ return ref Anonymous.MajorFormat;
+ }
+ }
- public ref Guid SubFormat => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.SubFormat, 1));
+ [UnscopedRef]
+ public ref Guid SubFormat
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ return ref Anonymous.SubFormat;
+ }
+ }
- public ref Guid Specifier => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Specifier, 1));
+ [UnscopedRef]
+ public ref Guid Specifier
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ return ref Anonymous.Specifier;
+ }
+ }
[FieldOffset(0)]
[NativeTypeName("LONGLONG")]
diff --git a/sources/Interop/Windows/Windows/shared/ks/KSIDENTIFIER.Manual.cs b/sources/Interop/Windows/Windows/shared/ks/KSIDENTIFIER.Manual.cs
index 7f9ae8a31e..4d882e9875 100644
--- a/sources/Interop/Windows/Windows/shared/ks/KSIDENTIFIER.Manual.cs
+++ b/sources/Interop/Windows/Windows/shared/ks/KSIDENTIFIER.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -13,13 +15,45 @@ public partial struct KSIDENTIFIER
[NativeTypeName("KSIDENTIFIER::(anonymous union at C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/shared/ks.h:107:5)")]
internal _Anonymous_e__Union Anonymous;
- public ref Guid Set => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Set, 1));
+ [UnscopedRef]
+ public ref Guid Set
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ return ref Anonymous.Anonymous.Set;
+ }
+ }
- public ref uint Id => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Id, 1));
+ [UnscopedRef]
+ public ref uint Id
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ return ref Anonymous.Anonymous.Id;
+ }
+ }
- public ref uint Flags => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Flags, 1));
+ [UnscopedRef]
+ public ref uint Flags
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ return ref Anonymous.Anonymous.Flags;
+ }
+ }
- public ref long Alignment => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Alignment, 1));
+ [UnscopedRef]
+ public ref long Alignment
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ return ref Anonymous.Alignment;
+ }
+ }
[StructLayout(LayoutKind.Explicit)]
public partial struct _Anonymous_e__Union
diff --git a/sources/Interop/Windows/Windows/shared/mmreg/ADPCMWAVEFORMAT.cs b/sources/Interop/Windows/Windows/shared/mmreg/ADPCMWAVEFORMAT.cs
index e8a85fd05c..3b11bde3b4 100644
--- a/sources/Interop/Windows/Windows/shared/mmreg/ADPCMWAVEFORMAT.cs
+++ b/sources/Interop/Windows/Windows/shared/mmreg/ADPCMWAVEFORMAT.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -34,6 +35,7 @@ public partial struct _aCoef_e__FixedBuffer
{
public ADPCMCOEFSET e0;
+ [UnscopedRef]
public ref ADPCMCOEFSET this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -44,6 +46,7 @@ public ref ADPCMCOEFSET this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_IEEE_FLOAT.cs b/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_IEEE_FLOAT.cs
index 02597eed47..7e54bd5ea1 100644
--- a/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_IEEE_FLOAT.cs
+++ b/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_IEEE_FLOAT.cs
@@ -3,12 +3,16 @@
// Ported from shared/mmreg.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("00000003-0000-0010-8000-00AA00389B71")]
-public partial struct KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
+public unsafe partial struct KSDATAFORMAT_SUBTYPE_IEEE_FLOAT : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT));
}
diff --git a/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_PCM.cs b/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_PCM.cs
index e55fe0f862..3c7cfcbf8d 100644
--- a/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_PCM.cs
+++ b/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_PCM.cs
@@ -3,12 +3,16 @@
// Ported from shared/mmreg.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("00000001-0000-0010-8000-00AA00389B71")]
-public partial struct KSDATAFORMAT_SUBTYPE_PCM
+public unsafe partial struct KSDATAFORMAT_SUBTYPE_PCM : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_KSDATAFORMAT_SUBTYPE_PCM));
}
diff --git a/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_WAVEFORMATEX.cs b/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_WAVEFORMATEX.cs
index 211a510add..f8658dbdf6 100644
--- a/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_WAVEFORMATEX.cs
+++ b/sources/Interop/Windows/Windows/shared/mmreg/KSDATAFORMAT_SUBTYPE_WAVEFORMATEX.cs
@@ -3,12 +3,16 @@
// Ported from shared/mmreg.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("00000000-0000-0010-8000-00AA00389B71")]
-public partial struct KSDATAFORMAT_SUBTYPE_WAVEFORMATEX
+public unsafe partial struct KSDATAFORMAT_SUBTYPE_WAVEFORMATEX : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_KSDATAFORMAT_SUBTYPE_WAVEFORMATEX));
}
diff --git a/sources/Interop/Windows/Windows/shared/tbs/TBS_CONTEXT_PARAMS2.cs b/sources/Interop/Windows/Windows/shared/tbs/TBS_CONTEXT_PARAMS2.cs
index 163216fe38..a806c37290 100644
--- a/sources/Interop/Windows/Windows/shared/tbs/TBS_CONTEXT_PARAMS2.cs
+++ b/sources/Interop/Windows/Windows/shared/tbs/TBS_CONTEXT_PARAMS2.cs
@@ -3,6 +3,7 @@
// Ported from shared/tbs.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
@@ -70,12 +71,13 @@ public uint includeTpm20
}
///
+ [UnscopedRef]
public ref uint asUINT32
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.asUINT32, 1));
+ return ref Anonymous.asUINT32;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE.cs
index 1a8fcc1fda..47ad41a4fb 100644
--- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_TCP6ROW e0;
+ [UnscopedRef]
public ref MIB_TCP6ROW this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_TCP6ROW this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE2.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE2.cs
index 33974f5284..09a71751e4 100644
--- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE2.cs
+++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE2.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_TCP6ROW2 e0;
+ [UnscopedRef]
public ref MIB_TCP6ROW2 this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_TCP6ROW2 this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_MODULE.cs
index db3b57bf20..786c7e581f 100644
--- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_MODULE.cs
+++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_MODULE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_TCP6ROW_OWNER_MODULE e0;
+ [UnscopedRef]
public ref MIB_TCP6ROW_OWNER_MODULE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_TCP6ROW_OWNER_MODULE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_PID.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_PID.cs
index ed8c0e226c..3ddfd6b749 100644
--- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_PID.cs
+++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCP6TABLE_OWNER_PID.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_TCP6ROW_OWNER_PID e0;
+ [UnscopedRef]
public ref MIB_TCP6ROW_OWNER_PID this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_TCP6ROW_OWNER_PID this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPROW_LH.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPROW_LH.cs
index 77ef368b95..2d66335e21 100644
--- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPROW_LH.cs
+++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPROW_LH.cs
@@ -3,6 +3,7 @@
// Ported from shared/tcpmib.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -32,22 +33,24 @@ public partial struct MIB_TCPROW_LH
public uint dwRemotePort;
///
+ [UnscopedRef]
public ref uint dwState
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwState, 1));
+ return ref Anonymous.dwState;
}
}
///
+ [UnscopedRef]
public ref MIB_TCP_STATE State
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.State, 1));
+ return ref Anonymous.State;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPSTATS_LH.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPSTATS_LH.cs
index 1d38413db1..99417c2862 100644
--- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPSTATS_LH.cs
+++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPSTATS_LH.cs
@@ -3,6 +3,7 @@
// Ported from shared/tcpmib.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -72,22 +73,24 @@ public partial struct MIB_TCPSTATS_LH
public uint dwNumConns;
///
+ [UnscopedRef]
public ref uint dwRtoAlgorithm
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwRtoAlgorithm, 1));
+ return ref Anonymous.dwRtoAlgorithm;
}
}
///
+ [UnscopedRef]
public ref TCP_RTO_ALGORITHM RtoAlgorithm
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.RtoAlgorithm, 1));
+ return ref Anonymous.RtoAlgorithm;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE.cs
index 86d3aa9cc7..8201a30817 100644
--- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_TCPROW_LH e0;
+ [UnscopedRef]
public ref MIB_TCPROW_LH this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_TCPROW_LH this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE2.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE2.cs
index 78a9071f3e..2ffc105469 100644
--- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE2.cs
+++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE2.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_TCPROW2 e0;
+ [UnscopedRef]
public ref MIB_TCPROW2 this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_TCPROW2 this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_MODULE.cs
index 94457c6a5c..9222193c53 100644
--- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_MODULE.cs
+++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_MODULE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_TCPROW_OWNER_MODULE e0;
+ [UnscopedRef]
public ref MIB_TCPROW_OWNER_MODULE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_TCPROW_OWNER_MODULE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_PID.cs b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_PID.cs
index 280c96090a..1987a1ca86 100644
--- a/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_PID.cs
+++ b/sources/Interop/Windows/Windows/shared/tcpmib/MIB_TCPTABLE_OWNER_PID.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_TCPROW_OWNER_PID e0;
+ [UnscopedRef]
public ref MIB_TCPROW_OWNER_PID this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_TCPROW_OWNER_PID this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW2.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW2.cs
index 96f6690d61..7f22f70115 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW2.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW2.cs
@@ -3,6 +3,7 @@
// Ported from shared/udpmib.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -67,12 +68,13 @@ public int SpecificPortBind
}
///
+ [UnscopedRef]
public ref int dwFlags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwFlags, 1));
+ return ref Anonymous.dwFlags;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_MODULE.cs
index 4f27ea0fea..968f8319e2 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_MODULE.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6ROW_OWNER_MODULE.cs
@@ -3,6 +3,7 @@
// Ported from shared/udpmib.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -55,12 +56,13 @@ public int SpecificPortBind
}
///
+ [UnscopedRef]
public ref int dwFlags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwFlags, 1));
+ return ref Anonymous.dwFlags;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE.cs
index c5763dca87..2fe646ff6f 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_UDP6ROW e0;
+ [UnscopedRef]
public ref MIB_UDP6ROW this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_UDP6ROW this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE2.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE2.cs
index 791455bd70..2e248e1cde 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE2.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE2.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_UDP6ROW2 e0;
+ [UnscopedRef]
public ref MIB_UDP6ROW2 this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_UDP6ROW2 this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_MODULE.cs
index dc894996ea..fac29506bf 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_MODULE.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_MODULE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_UDP6ROW_OWNER_MODULE e0;
+ [UnscopedRef]
public ref MIB_UDP6ROW_OWNER_MODULE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_UDP6ROW_OWNER_MODULE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_PID.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_PID.cs
index ac0cbe1f9b..6aa82f6a0b 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_PID.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDP6TABLE_OWNER_PID.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_UDP6ROW_OWNER_PID e0;
+ [UnscopedRef]
public ref MIB_UDP6ROW_OWNER_PID this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_UDP6ROW_OWNER_PID this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW2.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW2.cs
index 1b6d9c60c4..b27824e316 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW2.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW2.cs
@@ -3,6 +3,7 @@
// Ported from shared/udpmib.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -59,12 +60,13 @@ public int SpecificPortBind
}
///
+ [UnscopedRef]
public ref int dwFlags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwFlags, 1));
+ return ref Anonymous.dwFlags;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW_OWNER_MODULE.cs
index 3125f73d7a..5ed7a0f256 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW_OWNER_MODULE.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPROW_OWNER_MODULE.cs
@@ -3,6 +3,7 @@
// Ported from shared/udpmib.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -51,12 +52,13 @@ public int SpecificPortBind
}
///
+ [UnscopedRef]
public ref int dwFlags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.dwFlags, 1));
+ return ref Anonymous.dwFlags;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE.cs
index 274bd1333c..d6fd66c7d9 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_UDPROW e0;
+ [UnscopedRef]
public ref MIB_UDPROW this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_UDPROW this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE2.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE2.cs
index ade8fb43a7..8f6ae61834 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE2.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE2.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_UDPROW2 e0;
+ [UnscopedRef]
public ref MIB_UDPROW2 this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_UDPROW2 this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_MODULE.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_MODULE.cs
index 3aa769ec76..2fcbbdb755 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_MODULE.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_MODULE.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_UDPROW_OWNER_MODULE e0;
+ [UnscopedRef]
public ref MIB_UDPROW_OWNER_MODULE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_UDPROW_OWNER_MODULE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_PID.cs b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_PID.cs
index c3119c6119..f2a25d2f08 100644
--- a/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_PID.cs
+++ b/sources/Interop/Windows/Windows/shared/udpmib/MIB_UDPTABLE_OWNER_PID.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _table_e__FixedBuffer
{
public MIB_UDPROW_OWNER_PID e0;
+ [UnscopedRef]
public ref MIB_UDPROW_OWNER_PID this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref MIB_UDPROW_OWNER_PID this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ws2def/SCOPE_ID.cs b/sources/Interop/Windows/Windows/shared/ws2def/SCOPE_ID.cs
index 91df7350b8..b109844bd8 100644
--- a/sources/Interop/Windows/Windows/shared/ws2def/SCOPE_ID.cs
+++ b/sources/Interop/Windows/Windows/shared/ws2def/SCOPE_ID.cs
@@ -3,6 +3,7 @@
// Ported from shared/ws2def.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -48,12 +49,13 @@ public uint Level
}
///
+ [UnscopedRef]
public ref uint Value
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Value, 1));
+ return ref Anonymous.Value;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ws2def/SOCKET_ADDRESS_LIST.cs b/sources/Interop/Windows/Windows/shared/ws2def/SOCKET_ADDRESS_LIST.cs
index 122b9e70df..1fcf2fdc2f 100644
--- a/sources/Interop/Windows/Windows/shared/ws2def/SOCKET_ADDRESS_LIST.cs
+++ b/sources/Interop/Windows/Windows/shared/ws2def/SOCKET_ADDRESS_LIST.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -24,6 +25,7 @@ public partial struct _Address_e__FixedBuffer
{
public SOCKET_ADDRESS e0;
+ [UnscopedRef]
public ref SOCKET_ADDRESS this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -34,6 +36,7 @@ public ref SOCKET_ADDRESS this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ws2ipdef/GROUP_FILTER.cs b/sources/Interop/Windows/Windows/shared/ws2ipdef/GROUP_FILTER.cs
index 52fab791c9..e323eaeff3 100644
--- a/sources/Interop/Windows/Windows/shared/ws2ipdef/GROUP_FILTER.cs
+++ b/sources/Interop/Windows/Windows/shared/ws2ipdef/GROUP_FILTER.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -35,6 +36,7 @@ public partial struct _gf_slist_e__FixedBuffer
{
public SOCKADDR_STORAGE e0;
+ [UnscopedRef]
public ref SOCKADDR_STORAGE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -45,6 +47,7 @@ public ref SOCKADDR_STORAGE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ws2ipdef/IP_MSFILTER.cs b/sources/Interop/Windows/Windows/shared/ws2ipdef/IP_MSFILTER.cs
index 85438164c1..03a6711915 100644
--- a/sources/Interop/Windows/Windows/shared/ws2ipdef/IP_MSFILTER.cs
+++ b/sources/Interop/Windows/Windows/shared/ws2ipdef/IP_MSFILTER.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -34,6 +35,7 @@ public partial struct _imsf_slist_e__FixedBuffer
{
public IN_ADDR e0;
+ [UnscopedRef]
public ref IN_ADDR this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -44,6 +46,7 @@ public ref IN_ADDR this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/shared/ws2ipdef/SOCKADDR_IN6.cs b/sources/Interop/Windows/Windows/shared/ws2ipdef/SOCKADDR_IN6.cs
index 9a629fd819..1585927121 100644
--- a/sources/Interop/Windows/Windows/shared/ws2ipdef/SOCKADDR_IN6.cs
+++ b/sources/Interop/Windows/Windows/shared/ws2ipdef/SOCKADDR_IN6.cs
@@ -3,6 +3,7 @@
// Ported from shared/ws2ipdef.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -30,22 +31,24 @@ public partial struct SOCKADDR_IN6
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref uint sin6_scope_id
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.sin6_scope_id, 1));
+ return ref Anonymous.sin6_scope_id;
}
}
///
+ [UnscopedRef]
public ref SCOPE_ID sin6_scope_struct
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.sin6_scope_struct, 1));
+ return ref Anonymous.sin6_scope_struct;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/wtypes/CY.cs b/sources/Interop/Windows/Windows/shared/wtypes/CY.cs
index 4b9876fb04..c565f2a621 100644
--- a/sources/Interop/Windows/Windows/shared/wtypes/CY.cs
+++ b/sources/Interop/Windows/Windows/shared/wtypes/CY.cs
@@ -3,6 +3,7 @@
// Ported from shared/wtypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -23,22 +24,24 @@ public partial struct CY
public long int64;
///
+ [UnscopedRef]
public ref uint Lo
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Lo, 1));
+ return ref Anonymous.Lo;
}
}
///
+ [UnscopedRef]
public ref int Hi
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Hi, 1));
+ return ref Anonymous.Hi;
}
}
diff --git a/sources/Interop/Windows/Windows/shared/wtypes/DECIMAL.cs b/sources/Interop/Windows/Windows/shared/wtypes/DECIMAL.cs
index 07fec54c9b..c2ad971df6 100644
--- a/sources/Interop/Windows/Windows/shared/wtypes/DECIMAL.cs
+++ b/sources/Interop/Windows/Windows/shared/wtypes/DECIMAL.cs
@@ -3,6 +3,7 @@
// Ported from shared/wtypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -27,62 +28,68 @@ public partial struct DECIMAL
public _Anonymous2_e__Union Anonymous2;
///
+ [UnscopedRef]
public ref byte scale
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.Anonymous.scale, 1));
+ return ref Anonymous1.Anonymous.scale;
}
}
///
+ [UnscopedRef]
public ref byte sign
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.Anonymous.sign, 1));
+ return ref Anonymous1.Anonymous.sign;
}
}
///
+ [UnscopedRef]
public ref ushort signscale
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.signscale, 1));
+ return ref Anonymous1.signscale;
}
}
///
+ [UnscopedRef]
public ref uint Lo32
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.Anonymous.Lo32, 1));
+ return ref Anonymous2.Anonymous.Lo32;
}
}
///
+ [UnscopedRef]
public ref uint Mid32
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.Anonymous.Mid32, 1));
+ return ref Anonymous2.Anonymous.Mid32;
}
}
///
+ [UnscopedRef]
public ref ulong Lo64
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.Lo64, 1));
+ return ref Anonymous2.Lo64;
}
}
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/AppxBundleFactory.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/AppxBundleFactory.cs
index faafab91a0..d9a12d9ab6 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/AppxBundleFactory.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/AppxBundleFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/AppxPackaging.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("378E0446-5384-43B7-8877-E7DBDD883446")]
-public partial struct AppxBundleFactory
+public unsafe partial struct AppxBundleFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AppxBundleFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/AppxEncryptionFactory.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/AppxEncryptionFactory.cs
index 3e040a4962..19042f68e5 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/AppxEncryptionFactory.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/AppxEncryptionFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/AppxPackaging.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("DC664FDD-D868-46EE-8780-8D196CB739F7")]
-public partial struct AppxEncryptionFactory
+public unsafe partial struct AppxEncryptionFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AppxEncryptionFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/AppxFactory.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/AppxFactory.cs
index 923e9385b2..ccf6a109ed 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/AppxFactory.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/AppxFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/AppxPackaging.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("5842A140-FF9F-4166-8F5C-62F5B7B0C781")]
-public partial struct AppxFactory
+public unsafe partial struct AppxFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AppxFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/AppxPackageEditor.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/AppxPackageEditor.cs
index 27e47eddea..303ff9b945 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/AppxPackageEditor.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/AppxPackageEditor.cs
@@ -3,12 +3,16 @@
// Ported from um/AppxPackaging.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("F004F2CA-AEBC-4B0D-BF58-E516D5BCC0AB")]
-public partial struct AppxPackageEditor
+public unsafe partial struct AppxPackageEditor : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AppxPackageEditor));
}
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/AppxPackagingDiagnosticEventSinkManager.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/AppxPackagingDiagnosticEventSinkManager.cs
index 1775139a36..683063568f 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/AppxPackagingDiagnosticEventSinkManager.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/AppxPackagingDiagnosticEventSinkManager.cs
@@ -3,12 +3,16 @@
// Ported from um/AppxPackaging.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("50CA0A46-1588-4161-8ED2-EF9E469CED5D")]
-public partial struct AppxPackagingDiagnosticEventSinkManager
+public unsafe partial struct AppxPackagingDiagnosticEventSinkManager : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AppxPackagingDiagnosticEventSinkManager));
}
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapBlock.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapBlock.cs
index f56f8c9f02..835f9e1920 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapBlock.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapBlock.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBlockMapBlock : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxBlockMapBlock : IAppxBlockMapBlock.Interface
+public unsafe partial struct IAppxBlockMapBlock : IAppxBlockMapBlock.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBlockMapBlock));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapBlocksEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapBlocksEnumerator.cs
index 4a2b591b22..2f3e736f2d 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapBlocksEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapBlocksEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBlockMapBlocksEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxBlockMapBlocksEnumerator : IAppxBlockMapBlocksEnumerator.Interface
+public unsafe partial struct IAppxBlockMapBlocksEnumerator : IAppxBlockMapBlocksEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBlockMapBlocksEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapFile.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapFile.cs
index 2469b62e66..cb786dde69 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapFile.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapFile.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBlockMapFile : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxBlockMapFile : IAppxBlockMapFile.Interface
+public unsafe partial struct IAppxBlockMapFile : IAppxBlockMapFile.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBlockMapFile));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapFilesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapFilesEnumerator.cs
index 8f6d9f9d2f..c9f92e1471 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapFilesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapFilesEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBlockMapFilesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxBlockMapFilesEnumerator : IAppxBlockMapFilesEnumerator.Interface
+public unsafe partial struct IAppxBlockMapFilesEnumerator : IAppxBlockMapFilesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBlockMapFilesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapReader.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapReader.cs
index dd2ca1e296..4bd9457eac 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapReader.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBlockMapReader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBlockMapReader : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxBlockMapReader : IAppxBlockMapReader.Interface
+public unsafe partial struct IAppxBlockMapReader : IAppxBlockMapReader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBlockMapReader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleFactory.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleFactory.cs
index b19923b327..bad22d3e47 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleFactory.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleFactory : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IAppxBundleFactory : IAppxBundleFactory.Interface
+public unsafe partial struct IAppxBundleFactory : IAppxBundleFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestOptionalBundleInfo.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestOptionalBundleInfo.cs
index 9369c05d4f..9cae6fcfba 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestOptionalBundleInfo.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestOptionalBundleInfo.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleManifestOptionalBundleInfo : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxBundleManifestOptionalBundleInfo : IAppxBundleManifestOptionalBundleInfo.Interface
+public unsafe partial struct IAppxBundleManifestOptionalBundleInfo : IAppxBundleManifestOptionalBundleInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleManifestOptionalBundleInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestOptionalBundleInfoEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestOptionalBundleInfoEnumerator.cs
index 1f5e457944..d1ffeb3276 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestOptionalBundleInfoEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestOptionalBundleInfoEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleManifestOptionalBundleInfoEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxBundleManifestOptionalBundleInfoEnumerator : IAppxBundleManifestOptionalBundleInfoEnumerator.Interface
+public unsafe partial struct IAppxBundleManifestOptionalBundleInfoEnumerator : IAppxBundleManifestOptionalBundleInfoEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleManifestOptionalBundleInfoEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo.cs
index a1c7b7dff4..a6296059f8 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleManifestPackageInfo : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IAppxBundleManifestPackageInfo : IAppxBundleManifestPackageInfo.Interface
+public unsafe partial struct IAppxBundleManifestPackageInfo : IAppxBundleManifestPackageInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleManifestPackageInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo2.cs
index 6ad0af8ef9..72ad13d582 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleManifestPackageInfo2 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxBundleManifestPackageInfo2 : IAppxBundleManifestPackageInfo2.Interface
+public unsafe partial struct IAppxBundleManifestPackageInfo2 : IAppxBundleManifestPackageInfo2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleManifestPackageInfo2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo3.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo3.cs
index 08f908b13d..226d2e584b 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo3.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6BA74B98-BB74-4296-80D0-5F4256A99675")]
[NativeTypeName("struct IAppxBundleManifestPackageInfo3 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxBundleManifestPackageInfo3 : IAppxBundleManifestPackageInfo3.Interface
+public unsafe partial struct IAppxBundleManifestPackageInfo3 : IAppxBundleManifestPackageInfo3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleManifestPackageInfo3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo4.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo4.cs
index 1403f45295..0de6012768 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo4.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfo4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("5DA6F13D-A8A7-4532-857C-1393D659371D")]
[NativeTypeName("struct IAppxBundleManifestPackageInfo4 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxBundleManifestPackageInfo4 : IAppxBundleManifestPackageInfo4.Interface
+public unsafe partial struct IAppxBundleManifestPackageInfo4 : IAppxBundleManifestPackageInfo4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleManifestPackageInfo4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfoEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfoEnumerator.cs
index b0b75427d2..274f39f5c4 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfoEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestPackageInfoEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleManifestPackageInfoEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IAppxBundleManifestPackageInfoEnumerator : IAppxBundleManifestPackageInfoEnumerator.Interface
+public unsafe partial struct IAppxBundleManifestPackageInfoEnumerator : IAppxBundleManifestPackageInfoEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleManifestPackageInfoEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestReader.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestReader.cs
index acefcc4899..d7ff9ba94f 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestReader.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestReader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleManifestReader : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IAppxBundleManifestReader : IAppxBundleManifestReader.Interface
+public unsafe partial struct IAppxBundleManifestReader : IAppxBundleManifestReader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleManifestReader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestReader2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestReader2.cs
index 16da9010ac..4ef3a86b3c 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestReader2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleManifestReader2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleManifestReader2 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxBundleManifestReader2 : IAppxBundleManifestReader2.Interface
+public unsafe partial struct IAppxBundleManifestReader2 : IAppxBundleManifestReader2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleManifestReader2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleReader.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleReader.cs
index b212d6985e..047ed6184b 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleReader.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleReader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleReader : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IAppxBundleReader : IAppxBundleReader.Interface
+public unsafe partial struct IAppxBundleReader : IAppxBundleReader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleReader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter.cs
index 76051b1c1e..432beebbd4 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleWriter : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IAppxBundleWriter : IAppxBundleWriter.Interface
+public unsafe partial struct IAppxBundleWriter : IAppxBundleWriter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleWriter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter2.cs
index b7c9db5ba6..eeb1f9e279 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleWriter2 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxBundleWriter2 : IAppxBundleWriter2.Interface
+public unsafe partial struct IAppxBundleWriter2 : IAppxBundleWriter2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleWriter2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter3.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter3.cs
index d134767cb7..d6c6dc592a 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter3.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleWriter3 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxBundleWriter3 : IAppxBundleWriter3.Interface
+public unsafe partial struct IAppxBundleWriter3 : IAppxBundleWriter3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleWriter3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter4.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter4.cs
index 2bbfe31b4a..8b524dfeea 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter4.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxBundleWriter4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxBundleWriter4 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxBundleWriter4 : IAppxBundleWriter4.Interface
+public unsafe partial struct IAppxBundleWriter4 : IAppxBundleWriter4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxBundleWriter4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroup.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroup.cs
index 16be80b38e..4c557e159d 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroup.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroup.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxContentGroup : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxContentGroup : IAppxContentGroup.Interface
+public unsafe partial struct IAppxContentGroup : IAppxContentGroup.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxContentGroup));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupFilesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupFilesEnumerator.cs
index 8d79164d7b..f3fac974c5 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupFilesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupFilesEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxContentGroupFilesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxContentGroupFilesEnumerator : IAppxContentGroupFilesEnumerator.Interface
+public unsafe partial struct IAppxContentGroupFilesEnumerator : IAppxContentGroupFilesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxContentGroupFilesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupMapReader.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupMapReader.cs
index 86933aabbf..57403ceb36 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupMapReader.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupMapReader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxContentGroupMapReader : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxContentGroupMapReader : IAppxContentGroupMapReader.Interface
+public unsafe partial struct IAppxContentGroupMapReader : IAppxContentGroupMapReader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxContentGroupMapReader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupMapWriter.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupMapWriter.cs
index dea2ddaaac..db61f1cd90 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupMapWriter.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupMapWriter.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxContentGroupMapWriter : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxContentGroupMapWriter : IAppxContentGroupMapWriter.Interface
+public unsafe partial struct IAppxContentGroupMapWriter : IAppxContentGroupMapWriter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxContentGroupMapWriter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupsEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupsEnumerator.cs
index 21ff6db70d..179ec548b7 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupsEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxContentGroupsEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxContentGroupsEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxContentGroupsEnumerator : IAppxContentGroupsEnumerator.Interface
+public unsafe partial struct IAppxContentGroupsEnumerator : IAppxContentGroupsEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxContentGroupsEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter.cs
index 027dac3a78..f4d10a9520 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxEncryptedBundleWriter : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.14393.0")]
-public unsafe partial struct IAppxEncryptedBundleWriter : IAppxEncryptedBundleWriter.Interface
+public unsafe partial struct IAppxEncryptedBundleWriter : IAppxEncryptedBundleWriter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxEncryptedBundleWriter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter2.cs
index 6f3c99b996..d5f4d30528 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxEncryptedBundleWriter2 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxEncryptedBundleWriter2 : IAppxEncryptedBundleWriter2.Interface
+public unsafe partial struct IAppxEncryptedBundleWriter2 : IAppxEncryptedBundleWriter2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxEncryptedBundleWriter2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter3.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter3.cs
index 0aa3d097cf..ba7fa5230b 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter3.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedBundleWriter3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxEncryptedBundleWriter3 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxEncryptedBundleWriter3 : IAppxEncryptedBundleWriter3.Interface
+public unsafe partial struct IAppxEncryptedBundleWriter3 : IAppxEncryptedBundleWriter3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxEncryptedBundleWriter3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedPackageWriter.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedPackageWriter.cs
index 902f1f9b2c..ec4c8467e4 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedPackageWriter.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedPackageWriter.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxEncryptedPackageWriter : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.14393.0")]
-public unsafe partial struct IAppxEncryptedPackageWriter : IAppxEncryptedPackageWriter.Interface
+public unsafe partial struct IAppxEncryptedPackageWriter : IAppxEncryptedPackageWriter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxEncryptedPackageWriter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedPackageWriter2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedPackageWriter2.cs
index 12db146ea8..8c605c24f8 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedPackageWriter2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptedPackageWriter2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxEncryptedPackageWriter2 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.14393.0")]
-public unsafe partial struct IAppxEncryptedPackageWriter2 : IAppxEncryptedPackageWriter2.Interface
+public unsafe partial struct IAppxEncryptedPackageWriter2 : IAppxEncryptedPackageWriter2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxEncryptedPackageWriter2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory.cs
index cda24b04e5..623b672de7 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxEncryptionFactory : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.14393.0")]
-public unsafe partial struct IAppxEncryptionFactory : IAppxEncryptionFactory.Interface
+public unsafe partial struct IAppxEncryptionFactory : IAppxEncryptionFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxEncryptionFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory2.cs
index 946be86958..0538803781 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxEncryptionFactory2 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxEncryptionFactory2 : IAppxEncryptionFactory2.Interface
+public unsafe partial struct IAppxEncryptionFactory2 : IAppxEncryptionFactory2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxEncryptionFactory2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory3.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory3.cs
index 6c97fd1a2d..056080c050 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory3.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxEncryptionFactory3 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxEncryptionFactory3 : IAppxEncryptionFactory3.Interface
+public unsafe partial struct IAppxEncryptionFactory3 : IAppxEncryptionFactory3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxEncryptionFactory3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory4.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory4.cs
index f1b4a8bcc7..e2f7010f2e 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory4.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxEncryptionFactory4.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxEncryptionFactory4 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxEncryptionFactory4 : IAppxEncryptionFactory4.Interface
+public unsafe partial struct IAppxEncryptionFactory4 : IAppxEncryptionFactory4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxEncryptionFactory4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFactory.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFactory.cs
index 3703a0e109..f0837faa9e 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFactory.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxFactory : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxFactory : IAppxFactory.Interface
+public unsafe partial struct IAppxFactory : IAppxFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFactory2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFactory2.cs
index 1e9ee46aed..56c0fdf194 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFactory2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFactory2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxFactory2 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxFactory2 : IAppxFactory2.Interface
+public unsafe partial struct IAppxFactory2 : IAppxFactory2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxFactory2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFile.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFile.cs
index 83ce23f2dc..b57a50d9e8 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFile.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFile.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxFile : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxFile : IAppxFile.Interface
+public unsafe partial struct IAppxFile : IAppxFile.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxFile));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFilesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFilesEnumerator.cs
index ec62a7eb87..2e34e61e19 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFilesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxFilesEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxFilesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxFilesEnumerator : IAppxFilesEnumerator.Interface
+public unsafe partial struct IAppxFilesEnumerator : IAppxFilesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxFilesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestApplication.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestApplication.cs
index 97c00393e9..b6c830fe63 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestApplication.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestApplication.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestApplication : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxManifestApplication : IAppxManifestApplication.Interface
+public unsafe partial struct IAppxManifestApplication : IAppxManifestApplication.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestApplication));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestApplicationsEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestApplicationsEnumerator.cs
index 79e16237db..4a08e21bd3 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestApplicationsEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestApplicationsEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestApplicationsEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxManifestApplicationsEnumerator : IAppxManifestApplicationsEnumerator.Interface
+public unsafe partial struct IAppxManifestApplicationsEnumerator : IAppxManifestApplicationsEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestApplicationsEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestCapabilitiesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestCapabilitiesEnumerator.cs
index 32199847de..f3e6d050ac 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestCapabilitiesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestCapabilitiesEnumerator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("11D22258-F470-42C1-B291-8361C5437E41")]
[NativeTypeName("struct IAppxManifestCapabilitiesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestCapabilitiesEnumerator : IAppxManifestCapabilitiesEnumerator.Interface
+public unsafe partial struct IAppxManifestCapabilitiesEnumerator : IAppxManifestCapabilitiesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestCapabilitiesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDeviceCapabilitiesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDeviceCapabilitiesEnumerator.cs
index a6e0f2be9f..25c344fc24 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDeviceCapabilitiesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDeviceCapabilitiesEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestDeviceCapabilitiesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxManifestDeviceCapabilitiesEnumerator : IAppxManifestDeviceCapabilitiesEnumerator.Interface
+public unsafe partial struct IAppxManifestDeviceCapabilitiesEnumerator : IAppxManifestDeviceCapabilitiesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestDeviceCapabilitiesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverConstraint.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverConstraint.cs
index c471e3eaf6..4e1d4e10e7 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverConstraint.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverConstraint.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C031BEE4-BBCC-48EA-A237-C34045C80A07")]
[NativeTypeName("struct IAppxManifestDriverConstraint : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestDriverConstraint : IAppxManifestDriverConstraint.Interface
+public unsafe partial struct IAppxManifestDriverConstraint : IAppxManifestDriverConstraint.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestDriverConstraint));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverConstraintsEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverConstraintsEnumerator.cs
index 72f6090b9a..6dbbb49d7d 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverConstraintsEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverConstraintsEnumerator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D402B2D1-F600-49E0-95E6-975D8DA13D89")]
[NativeTypeName("struct IAppxManifestDriverConstraintsEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestDriverConstraintsEnumerator : IAppxManifestDriverConstraintsEnumerator.Interface
+public unsafe partial struct IAppxManifestDriverConstraintsEnumerator : IAppxManifestDriverConstraintsEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestDriverConstraintsEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverDependenciesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverDependenciesEnumerator.cs
index bb9d1279ae..8bffbe9081 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverDependenciesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverDependenciesEnumerator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FE039DB2-467F-4755-8404-8F5EB6865B33")]
[NativeTypeName("struct IAppxManifestDriverDependenciesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestDriverDependenciesEnumerator : IAppxManifestDriverDependenciesEnumerator.Interface
+public unsafe partial struct IAppxManifestDriverDependenciesEnumerator : IAppxManifestDriverDependenciesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestDriverDependenciesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverDependency.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverDependency.cs
index eec8bc5138..00cde59dee 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverDependency.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestDriverDependency.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1210CB94-5A92-4602-BE24-79F318AF4AF9")]
[NativeTypeName("struct IAppxManifestDriverDependency : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestDriverDependency : IAppxManifestDriverDependency.Interface
+public unsafe partial struct IAppxManifestDriverDependency : IAppxManifestDriverDependency.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestDriverDependency));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependenciesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependenciesEnumerator.cs
index 2db6becd3b..26bd7088c7 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependenciesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependenciesEnumerator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6427A646-7F49-433E-B1A6-0DA309F6885A")]
[NativeTypeName("struct IAppxManifestHostRuntimeDependenciesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestHostRuntimeDependenciesEnumerator : IAppxManifestHostRuntimeDependenciesEnumerator.Interface
+public unsafe partial struct IAppxManifestHostRuntimeDependenciesEnumerator : IAppxManifestHostRuntimeDependenciesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestHostRuntimeDependenciesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependency.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependency.cs
index 9827a91f03..e58ad37387 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependency.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependency.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3455D234-8414-410D-95C7-7B35255B8391")]
[NativeTypeName("struct IAppxManifestHostRuntimeDependency : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestHostRuntimeDependency : IAppxManifestHostRuntimeDependency.Interface
+public unsafe partial struct IAppxManifestHostRuntimeDependency : IAppxManifestHostRuntimeDependency.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestHostRuntimeDependency));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependency2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependency2.cs
index 28d609dbdb..87c64bbf9e 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependency2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestHostRuntimeDependency2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C26F23A8-EE10-4AD6-B898-2B4D7AEBFE6A")]
[NativeTypeName("struct IAppxManifestHostRuntimeDependency2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestHostRuntimeDependency2 : IAppxManifestHostRuntimeDependency2.Interface
+public unsafe partial struct IAppxManifestHostRuntimeDependency2 : IAppxManifestHostRuntimeDependency2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestHostRuntimeDependency2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestMainPackageDependenciesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestMainPackageDependenciesEnumerator.cs
index 24155afc37..dfb8bdcf6c 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestMainPackageDependenciesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestMainPackageDependenciesEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestMainPackageDependenciesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxManifestMainPackageDependenciesEnumerator : IAppxManifestMainPackageDependenciesEnumerator.Interface
+public unsafe partial struct IAppxManifestMainPackageDependenciesEnumerator : IAppxManifestMainPackageDependenciesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestMainPackageDependenciesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestMainPackageDependency.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestMainPackageDependency.cs
index 7b97c3f515..57e7da85de 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestMainPackageDependency.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestMainPackageDependency.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestMainPackageDependency : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxManifestMainPackageDependency : IAppxManifestMainPackageDependency.Interface
+public unsafe partial struct IAppxManifestMainPackageDependency : IAppxManifestMainPackageDependency.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestMainPackageDependency));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOSPackageDependenciesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOSPackageDependenciesEnumerator.cs
index c0a52b6a25..50ff2478ba 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOSPackageDependenciesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOSPackageDependenciesEnumerator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B84E2FC3-F8EC-4BC1-8AE2-156346F5FFEA")]
[NativeTypeName("struct IAppxManifestOSPackageDependenciesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestOSPackageDependenciesEnumerator : IAppxManifestOSPackageDependenciesEnumerator.Interface
+public unsafe partial struct IAppxManifestOSPackageDependenciesEnumerator : IAppxManifestOSPackageDependenciesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestOSPackageDependenciesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOSPackageDependency.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOSPackageDependency.cs
index 8a5ad25b34..17586c18e3 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOSPackageDependency.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOSPackageDependency.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("154995EE-54A6-4F14-AC97-D8CF0519644B")]
[NativeTypeName("struct IAppxManifestOSPackageDependency : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestOSPackageDependency : IAppxManifestOSPackageDependency.Interface
+public unsafe partial struct IAppxManifestOSPackageDependency : IAppxManifestOSPackageDependency.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestOSPackageDependency));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOptionalPackageInfo.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOptionalPackageInfo.cs
index d01a2703cc..06f467f515 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOptionalPackageInfo.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestOptionalPackageInfo.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestOptionalPackageInfo : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxManifestOptionalPackageInfo : IAppxManifestOptionalPackageInfo.Interface
+public unsafe partial struct IAppxManifestOptionalPackageInfo : IAppxManifestOptionalPackageInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestOptionalPackageInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependenciesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependenciesEnumerator.cs
index bc88feb054..d1eaaf38b3 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependenciesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependenciesEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestPackageDependenciesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxManifestPackageDependenciesEnumerator : IAppxManifestPackageDependenciesEnumerator.Interface
+public unsafe partial struct IAppxManifestPackageDependenciesEnumerator : IAppxManifestPackageDependenciesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestPackageDependenciesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency.cs
index 9b5f0a8491..7a6e7228ca 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestPackageDependency : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxManifestPackageDependency : IAppxManifestPackageDependency.Interface
+public unsafe partial struct IAppxManifestPackageDependency : IAppxManifestPackageDependency.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestPackageDependency));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency2.cs
index 08c4d205f8..1c3913e0ad 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestPackageDependency2 : IAppxManifestPackageDependency")]
[NativeInheritance("IAppxManifestPackageDependency")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxManifestPackageDependency2 : IAppxManifestPackageDependency2.Interface
+public unsafe partial struct IAppxManifestPackageDependency2 : IAppxManifestPackageDependency2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestPackageDependency2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency3.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency3.cs
index 83dc975dab..32c306479d 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency3.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageDependency3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1AC56374-6198-4D6B-92E4-749D5AB8A895")]
[NativeTypeName("struct IAppxManifestPackageDependency3 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestPackageDependency3 : IAppxManifestPackageDependency3.Interface
+public unsafe partial struct IAppxManifestPackageDependency3 : IAppxManifestPackageDependency3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestPackageDependency3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageId.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageId.cs
index a749d642a0..c0b4e881d7 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageId.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageId.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestPackageId : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxManifestPackageId : IAppxManifestPackageId.Interface
+public unsafe partial struct IAppxManifestPackageId : IAppxManifestPackageId.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestPackageId));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageId2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageId2.cs
index 0c8299d3d8..b610bb1c7b 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageId2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestPackageId2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestPackageId2 : IAppxManifestPackageId")]
[NativeInheritance("IAppxManifestPackageId")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxManifestPackageId2 : IAppxManifestPackageId2.Interface
+public unsafe partial struct IAppxManifestPackageId2 : IAppxManifestPackageId2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestPackageId2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestProperties.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestProperties.cs
index 27d192ac77..cbfd18eb01 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestProperties.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestProperties.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestProperties : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxManifestProperties : IAppxManifestProperties.Interface
+public unsafe partial struct IAppxManifestProperties : IAppxManifestProperties.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestProperties));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestQualifiedResource.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestQualifiedResource.cs
index 9dcdc14e17..0656497620 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestQualifiedResource.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestQualifiedResource.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3B53A497-3C5C-48D1-9EA3-BB7EAC8CD7D4")]
[NativeTypeName("struct IAppxManifestQualifiedResource : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestQualifiedResource : IAppxManifestQualifiedResource.Interface
+public unsafe partial struct IAppxManifestQualifiedResource : IAppxManifestQualifiedResource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestQualifiedResource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestQualifiedResourcesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestQualifiedResourcesEnumerator.cs
index dd14c3e29f..6af0cf65a8 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestQualifiedResourcesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestQualifiedResourcesEnumerator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8EF6ADFE-3762-4A8F-9373-2FC5D444C8D2")]
[NativeTypeName("struct IAppxManifestQualifiedResourcesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestQualifiedResourcesEnumerator : IAppxManifestQualifiedResourcesEnumerator.Interface
+public unsafe partial struct IAppxManifestQualifiedResourcesEnumerator : IAppxManifestQualifiedResourcesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestQualifiedResourcesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader.cs
index ff047b5cae..15508df649 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestReader : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxManifestReader : IAppxManifestReader.Interface
+public unsafe partial struct IAppxManifestReader : IAppxManifestReader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestReader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader2.cs
index c14121dd40..dd8f421322 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestReader2 : IAppxManifestReader")]
[NativeInheritance("IAppxManifestReader")]
[SupportedOSPlatform("windows6.3")]
-public unsafe partial struct IAppxManifestReader2 : IAppxManifestReader2.Interface
+public unsafe partial struct IAppxManifestReader2 : IAppxManifestReader2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestReader2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader3.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader3.cs
index cd19e3b4a3..9345962957 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader3.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C43825AB-69B7-400A-9709-CC37F5A72D24")]
[NativeTypeName("struct IAppxManifestReader3 : IAppxManifestReader2")]
[NativeInheritance("IAppxManifestReader2")]
-public unsafe partial struct IAppxManifestReader3 : IAppxManifestReader3.Interface
+public unsafe partial struct IAppxManifestReader3 : IAppxManifestReader3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestReader3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader4.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader4.cs
index ab976f4d31..8971eaeef0 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader4.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4579BB7C-741D-4161-B5A1-47BD3B78AD9B")]
[NativeTypeName("struct IAppxManifestReader4 : IAppxManifestReader3")]
[NativeInheritance("IAppxManifestReader3")]
-public unsafe partial struct IAppxManifestReader4 : IAppxManifestReader4.Interface
+public unsafe partial struct IAppxManifestReader4 : IAppxManifestReader4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestReader4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader5.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader5.cs
index 72fb069f30..acf0278b01 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader5.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader5.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestReader5 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxManifestReader5 : IAppxManifestReader5.Interface
+public unsafe partial struct IAppxManifestReader5 : IAppxManifestReader5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestReader5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader6.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader6.cs
index 5d2004ed46..99e36d55cc 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader6.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader6.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestReader6 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxManifestReader6 : IAppxManifestReader6.Interface
+public unsafe partial struct IAppxManifestReader6 : IAppxManifestReader6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestReader6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader7.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader7.cs
index 83a1209e26..fc8cbe7438 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader7.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestReader7.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8EFE6F27-0CE0-4988-B32D-738EB63DB3B7")]
[NativeTypeName("struct IAppxManifestReader7 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestReader7 : IAppxManifestReader7.Interface
+public unsafe partial struct IAppxManifestReader7 : IAppxManifestReader7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestReader7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestResourcesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestResourcesEnumerator.cs
index e80a50e191..7fd25afd89 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestResourcesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestResourcesEnumerator.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestResourcesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxManifestResourcesEnumerator : IAppxManifestResourcesEnumerator.Interface
+public unsafe partial struct IAppxManifestResourcesEnumerator : IAppxManifestResourcesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestResourcesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestTargetDeviceFamiliesEnumerator.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestTargetDeviceFamiliesEnumerator.cs
index d28fcdcb84..2ad1c84544 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestTargetDeviceFamiliesEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestTargetDeviceFamiliesEnumerator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("36537F36-27A4-4788-88C0-733819575017")]
[NativeTypeName("struct IAppxManifestTargetDeviceFamiliesEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxManifestTargetDeviceFamiliesEnumerator : IAppxManifestTargetDeviceFamiliesEnumerator.Interface
+public unsafe partial struct IAppxManifestTargetDeviceFamiliesEnumerator : IAppxManifestTargetDeviceFamiliesEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestTargetDeviceFamiliesEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestTargetDeviceFamily.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestTargetDeviceFamily.cs
index 398be7cb4b..cb3adea538 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestTargetDeviceFamily.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxManifestTargetDeviceFamily.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxManifestTargetDeviceFamily : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxManifestTargetDeviceFamily : IAppxManifestTargetDeviceFamily.Interface
+public unsafe partial struct IAppxManifestTargetDeviceFamily : IAppxManifestTargetDeviceFamily.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxManifestTargetDeviceFamily));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageEditor.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageEditor.cs
index 640ca91364..03d1b00bc3 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageEditor.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageEditor.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxPackageEditor : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxPackageEditor : IAppxPackageEditor.Interface
+public unsafe partial struct IAppxPackageEditor : IAppxPackageEditor.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxPackageEditor));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageReader.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageReader.cs
index f9f1b07aeb..495fd5a85c 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageReader.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageReader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxPackageReader : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxPackageReader : IAppxPackageReader.Interface
+public unsafe partial struct IAppxPackageReader : IAppxPackageReader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxPackageReader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter.cs
index 66605add2d..c3c037864f 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxPackageWriter : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAppxPackageWriter : IAppxPackageWriter.Interface
+public unsafe partial struct IAppxPackageWriter : IAppxPackageWriter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxPackageWriter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter2.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter2.cs
index 3221271534..0dea7d14d5 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter2.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxPackageWriter2 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxPackageWriter2 : IAppxPackageWriter2.Interface
+public unsafe partial struct IAppxPackageWriter2 : IAppxPackageWriter2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxPackageWriter2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter3.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter3.cs
index 28fa915bfa..d109c945ad 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter3.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackageWriter3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxPackageWriter3 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxPackageWriter3 : IAppxPackageWriter3.Interface
+public unsafe partial struct IAppxPackageWriter3 : IAppxPackageWriter3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxPackageWriter3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackagingDiagnosticEventSink.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackagingDiagnosticEventSink.cs
index 37f1e92792..657f527277 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackagingDiagnosticEventSink.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackagingDiagnosticEventSink.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("17239D47-6ADB-45D2-80F6-F9CBC3BF059D")]
[NativeTypeName("struct IAppxPackagingDiagnosticEventSink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxPackagingDiagnosticEventSink : IAppxPackagingDiagnosticEventSink.Interface
+public unsafe partial struct IAppxPackagingDiagnosticEventSink : IAppxPackagingDiagnosticEventSink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxPackagingDiagnosticEventSink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackagingDiagnosticEventSinkManager.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackagingDiagnosticEventSinkManager.cs
index 7b29ebc153..d982667267 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackagingDiagnosticEventSinkManager.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxPackagingDiagnosticEventSinkManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("369648FA-A7EB-4909-A15D-6954A078F18A")]
[NativeTypeName("struct IAppxPackagingDiagnosticEventSinkManager : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppxPackagingDiagnosticEventSinkManager : IAppxPackagingDiagnosticEventSinkManager.Interface
+public unsafe partial struct IAppxPackagingDiagnosticEventSinkManager : IAppxPackagingDiagnosticEventSinkManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxPackagingDiagnosticEventSinkManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxSourceContentGroupMapReader.cs b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxSourceContentGroupMapReader.cs
index 180f75504a..a6e88f32a9 100644
--- a/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxSourceContentGroupMapReader.cs
+++ b/sources/Interop/Windows/Windows/um/AppxPackaging/IAppxSourceContentGroupMapReader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAppxSourceContentGroupMapReader : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAppxSourceContentGroupMapReader : IAppxSourceContentGroupMapReader.Interface
+public unsafe partial struct IAppxSourceContentGroupMapReader : IAppxSourceContentGroupMapReader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppxSourceContentGroupMapReader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IAudioAmbisonicsControl.cs b/sources/Interop/Windows/Windows/um/Audioclient/IAudioAmbisonicsControl.cs
index 89818683d7..f694b34918 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IAudioAmbisonicsControl.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IAudioAmbisonicsControl.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("28724C91-DF35-4856-9F76-D6A26413F3DF")]
[NativeTypeName("struct IAudioAmbisonicsControl : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAudioAmbisonicsControl : IAudioAmbisonicsControl.Interface
+public unsafe partial struct IAudioAmbisonicsControl : IAudioAmbisonicsControl.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioAmbisonicsControl));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IAudioCaptureClient.cs b/sources/Interop/Windows/Windows/um/Audioclient/IAudioCaptureClient.cs
index 58b90594f4..cd246f3620 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IAudioCaptureClient.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IAudioCaptureClient.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C8ADBD64-E71E-48A0-A4DE-185C395CD317")]
[NativeTypeName("struct IAudioCaptureClient : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAudioCaptureClient : IAudioCaptureClient.Interface
+public unsafe partial struct IAudioCaptureClient : IAudioCaptureClient.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioCaptureClient));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient.cs b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient.cs
index bad2057ec7..aa0aedb942 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1CB9AD4C-DBFA-4C32-B178-C2F568A703B2")]
[NativeTypeName("struct IAudioClient : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAudioClient : IAudioClient.Interface
+public unsafe partial struct IAudioClient : IAudioClient.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioClient));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient2.cs b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient2.cs
index af48abcdff..6f47acc583 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient2.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAudioClient2 : IAudioClient")]
[NativeInheritance("IAudioClient")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAudioClient2 : IAudioClient2.Interface
+public unsafe partial struct IAudioClient2 : IAudioClient2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioClient2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient3.cs b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient3.cs
index d0b028be8e..f48212ed0e 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient3.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClient3.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAudioClient3 : IAudioClient2")]
[NativeInheritance("IAudioClient2")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IAudioClient3 : IAudioClient3.Interface
+public unsafe partial struct IAudioClient3 : IAudioClient3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioClient3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClientDuckingControl.cs b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClientDuckingControl.cs
index 53c1ad2259..5686830b66 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClientDuckingControl.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClientDuckingControl.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAudioClientDuckingControl : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.19043.0")]
-public unsafe partial struct IAudioClientDuckingControl : IAudioClientDuckingControl.Interface
+public unsafe partial struct IAudioClientDuckingControl : IAudioClientDuckingControl.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioClientDuckingControl));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClock.cs b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClock.cs
index 8097751693..6b5007166a 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClock.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClock.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CD63314F-3FBA-4A1B-812C-EF96358728E7")]
[NativeTypeName("struct IAudioClock : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAudioClock : IAudioClock.Interface
+public unsafe partial struct IAudioClock : IAudioClock.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioClock));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClock2.cs b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClock2.cs
index 3217df6488..7a5c834d0c 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClock2.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClock2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6F49FF73-6727-49AC-A008-D98CF5E70048")]
[NativeTypeName("struct IAudioClock2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAudioClock2 : IAudioClock2.Interface
+public unsafe partial struct IAudioClock2 : IAudioClock2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioClock2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClockAdjustment.cs b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClockAdjustment.cs
index 4263ca0717..f22dde157a 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IAudioClockAdjustment.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IAudioClockAdjustment.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F6E4C0A0-46D9-4FB8-BE21-57A3EF2B626C")]
[NativeTypeName("struct IAudioClockAdjustment : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAudioClockAdjustment : IAudioClockAdjustment.Interface
+public unsafe partial struct IAudioClockAdjustment : IAudioClockAdjustment.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioClockAdjustment));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IAudioRenderClient.cs b/sources/Interop/Windows/Windows/um/Audioclient/IAudioRenderClient.cs
index f9f4d1e86f..43511ab3df 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IAudioRenderClient.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IAudioRenderClient.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F294ACFC-3146-4483-A7BF-ADDCA7C260E2")]
[NativeTypeName("struct IAudioRenderClient : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAudioRenderClient : IAudioRenderClient.Interface
+public unsafe partial struct IAudioRenderClient : IAudioRenderClient.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioRenderClient));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IAudioStreamVolume.cs b/sources/Interop/Windows/Windows/um/Audioclient/IAudioStreamVolume.cs
index b76af09f99..81eb282275 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IAudioStreamVolume.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IAudioStreamVolume.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("93014887-242D-4068-8A15-CF5E93B90FE3")]
[NativeTypeName("struct IAudioStreamVolume : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAudioStreamVolume : IAudioStreamVolume.Interface
+public unsafe partial struct IAudioStreamVolume : IAudioStreamVolume.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioStreamVolume));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/IChannelAudioVolume.cs b/sources/Interop/Windows/Windows/um/Audioclient/IChannelAudioVolume.cs
index 4dbe3f532d..b2527fe47c 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/IChannelAudioVolume.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/IChannelAudioVolume.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1C158861-B533-4B30-B1CF-E853E51C59B8")]
[NativeTypeName("struct IChannelAudioVolume : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IChannelAudioVolume : IChannelAudioVolume.Interface
+public unsafe partial struct IChannelAudioVolume : IChannelAudioVolume.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IChannelAudioVolume));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Audioclient/ISimpleAudioVolume.cs b/sources/Interop/Windows/Windows/um/Audioclient/ISimpleAudioVolume.cs
index 741a76dfe7..c18110560f 100644
--- a/sources/Interop/Windows/Windows/um/Audioclient/ISimpleAudioVolume.cs
+++ b/sources/Interop/Windows/Windows/um/Audioclient/ISimpleAudioVolume.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("87CE5498-68D6-44E5-9215-6DA47EF883D8")]
[NativeTypeName("struct ISimpleAudioVolume : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISimpleAudioVolume : ISimpleAudioVolume.Interface
+public unsafe partial struct ISimpleAudioVolume : ISimpleAudioVolume.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISimpleAudioVolume));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/TASKDIALOGCONFIG.cs b/sources/Interop/Windows/Windows/um/CommCtrl/TASKDIALOGCONFIG.cs
index fbaa06a790..e1cb5c5627 100644
--- a/sources/Interop/Windows/Windows/um/CommCtrl/TASKDIALOGCONFIG.cs
+++ b/sources/Interop/Windows/Windows/um/CommCtrl/TASKDIALOGCONFIG.cs
@@ -3,6 +3,7 @@
// Ported from um/CommCtrl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -101,42 +102,46 @@ public unsafe partial struct TASKDIALOGCONFIG
public uint cxWidth;
///
+ [UnscopedRef]
public ref HICON hMainIcon
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous1.hMainIcon;
+ return ref Anonymous1.hMainIcon;
}
}
///
+ [UnscopedRef]
public ref ushort* pszMainIcon
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous1.pszMainIcon;
+ return ref Anonymous1.pszMainIcon;
}
}
///
+ [UnscopedRef]
public ref HICON hFooterIcon
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous2.hFooterIcon;
+ return ref Anonymous2.hFooterIcon;
}
}
///
+ [UnscopedRef]
public ref ushort* pszFooterIcon
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous2.pszFooterIcon;
+ return ref Anonymous2.pszFooterIcon;
}
}
diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/TVINSERTSTRUCTA.cs b/sources/Interop/Windows/Windows/um/CommCtrl/TVINSERTSTRUCTA.cs
index 334123df16..1f1bca2483 100644
--- a/sources/Interop/Windows/Windows/um/CommCtrl/TVINSERTSTRUCTA.cs
+++ b/sources/Interop/Windows/Windows/um/CommCtrl/TVINSERTSTRUCTA.cs
@@ -3,6 +3,7 @@
// Ported from um/CommCtrl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,22 +23,24 @@ public partial struct TVINSERTSTRUCTA
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref TVITEMEXA itemex
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.itemex, 1));
+ return ref Anonymous.itemex;
}
}
///
+ [UnscopedRef]
public ref TVITEMA item
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.item, 1));
+ return ref Anonymous.item;
}
}
diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/TVINSERTSTRUCTW.cs b/sources/Interop/Windows/Windows/um/CommCtrl/TVINSERTSTRUCTW.cs
index 12c6e593fb..bf4a020de1 100644
--- a/sources/Interop/Windows/Windows/um/CommCtrl/TVINSERTSTRUCTW.cs
+++ b/sources/Interop/Windows/Windows/um/CommCtrl/TVINSERTSTRUCTW.cs
@@ -3,6 +3,7 @@
// Ported from um/CommCtrl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,22 +23,24 @@ public partial struct TVINSERTSTRUCTW
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref TVITEMEXW itemex
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.itemex, 1));
+ return ref Anonymous.itemex;
}
}
///
+ [UnscopedRef]
public ref TVITEMW item
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.item, 1));
+ return ref Anonymous.item;
}
}
diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/WC.cs b/sources/Interop/Windows/Windows/um/CommCtrl/WC.cs
index 4ae4cfeffe..f4c97ac200 100644
--- a/sources/Interop/Windows/Windows/um/CommCtrl/WC.cs
+++ b/sources/Interop/Windows/Windows/um/CommCtrl/WC.cs
@@ -10,7 +10,7 @@ namespace TerraFX.Interop.Windows;
public static partial class WC
{
[NativeTypeName("#define WC_HEADERA \"SysHeader32\"")]
- public static ReadOnlySpan WC_HEADERA => new byte[] { 0x53, 0x79, 0x73, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan WC_HEADERA => "SysHeader32"u8;
[NativeTypeName("#define WC_HEADERW L\"SysHeader32\"")]
public const string WC_HEADERW = "SysHeader32";
@@ -22,7 +22,7 @@ public static partial class WC
public const string WC_LINK = "SysLink";
[NativeTypeName("#define WC_LISTVIEWA \"SysListView32\"")]
- public static ReadOnlySpan WC_LISTVIEWA => new byte[] { 0x53, 0x79, 0x73, 0x4C, 0x69, 0x73, 0x74, 0x56, 0x69, 0x65, 0x77, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan WC_LISTVIEWA => "SysListView32"u8;
[NativeTypeName("#define WC_LISTVIEWW L\"SysListView32\"")]
public const string WC_LISTVIEWW = "SysListView32";
@@ -31,7 +31,7 @@ public static partial class WC
public const string WC_LISTVIEW = "SysListView32";
[NativeTypeName("#define WC_TREEVIEWA \"SysTreeView32\"")]
- public static ReadOnlySpan WC_TREEVIEWA => new byte[] { 0x53, 0x79, 0x73, 0x54, 0x72, 0x65, 0x65, 0x56, 0x69, 0x65, 0x77, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan WC_TREEVIEWA => "SysTreeView32"u8;
[NativeTypeName("#define WC_TREEVIEWW L\"SysTreeView32\"")]
public const string WC_TREEVIEWW = "SysTreeView32";
@@ -43,13 +43,13 @@ public static partial class WC
public const string WC_COMBOBOXEXW = "ComboBoxEx32";
[NativeTypeName("#define WC_COMBOBOXEXA \"ComboBoxEx32\"")]
- public static ReadOnlySpan WC_COMBOBOXEXA => new byte[] { 0x43, 0x6F, 0x6D, 0x62, 0x6F, 0x42, 0x6F, 0x78, 0x45, 0x78, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan WC_COMBOBOXEXA => "ComboBoxEx32"u8;
[NativeTypeName("#define WC_COMBOBOXEX WC_COMBOBOXEXW")]
public const string WC_COMBOBOXEX = "ComboBoxEx32";
[NativeTypeName("#define WC_TABCONTROLA \"SysTabControl32\"")]
- public static ReadOnlySpan WC_TABCONTROLA => new byte[] { 0x53, 0x79, 0x73, 0x54, 0x61, 0x62, 0x43, 0x6F, 0x6E, 0x74, 0x72, 0x6F, 0x6C, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan WC_TABCONTROLA => "SysTabControl32"u8;
[NativeTypeName("#define WC_TABCONTROLW L\"SysTabControl32\"")]
public const string WC_TABCONTROLW = "SysTabControl32";
@@ -61,7 +61,7 @@ public static partial class WC
public const string WC_IPADDRESSW = "SysIPAddress32";
[NativeTypeName("#define WC_IPADDRESSA \"SysIPAddress32\"")]
- public static ReadOnlySpan WC_IPADDRESSA => new byte[] { 0x53, 0x79, 0x73, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan WC_IPADDRESSA => "SysIPAddress32"u8;
[NativeTypeName("#define WC_IPADDRESS WC_IPADDRESSW")]
public const string WC_IPADDRESS = "SysIPAddress32";
@@ -70,7 +70,7 @@ public static partial class WC
public const string WC_PAGESCROLLERW = "SysPager";
[NativeTypeName("#define WC_PAGESCROLLERA \"SysPager\"")]
- public static ReadOnlySpan WC_PAGESCROLLERA => new byte[] { 0x53, 0x79, 0x73, 0x50, 0x61, 0x67, 0x65, 0x72, 0x00 };
+ public static ReadOnlySpan WC_PAGESCROLLERA => "SysPager"u8;
[NativeTypeName("#define WC_PAGESCROLLER WC_PAGESCROLLERW")]
public const string WC_PAGESCROLLER = "SysPager";
@@ -79,13 +79,13 @@ public static partial class WC
public const string WC_NATIVEFONTCTLW = "NativeFontCtl";
[NativeTypeName("#define WC_NATIVEFONTCTLA \"NativeFontCtl\"")]
- public static ReadOnlySpan WC_NATIVEFONTCTLA => new byte[] { 0x4E, 0x61, 0x74, 0x69, 0x76, 0x65, 0x46, 0x6F, 0x6E, 0x74, 0x43, 0x74, 0x6C, 0x00 };
+ public static ReadOnlySpan WC_NATIVEFONTCTLA => "NativeFontCtl"u8;
[NativeTypeName("#define WC_NATIVEFONTCTL WC_NATIVEFONTCTLW")]
public const string WC_NATIVEFONTCTL = "NativeFontCtl";
[NativeTypeName("#define WC_BUTTONA \"Button\"")]
- public static ReadOnlySpan WC_BUTTONA => new byte[] { 0x42, 0x75, 0x74, 0x74, 0x6F, 0x6E, 0x00 };
+ public static ReadOnlySpan WC_BUTTONA => "Button"u8;
[NativeTypeName("#define WC_BUTTONW L\"Button\"")]
public const string WC_BUTTONW = "Button";
@@ -94,7 +94,7 @@ public static partial class WC
public const string WC_BUTTON = "Button";
[NativeTypeName("#define WC_STATICA \"Static\"")]
- public static ReadOnlySpan WC_STATICA => new byte[] { 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x00 };
+ public static ReadOnlySpan WC_STATICA => "Static"u8;
[NativeTypeName("#define WC_STATICW L\"Static\"")]
public const string WC_STATICW = "Static";
@@ -103,7 +103,7 @@ public static partial class WC
public const string WC_STATIC = "Static";
[NativeTypeName("#define WC_EDITA \"Edit\"")]
- public static ReadOnlySpan WC_EDITA => new byte[] { 0x45, 0x64, 0x69, 0x74, 0x00 };
+ public static ReadOnlySpan WC_EDITA => "Edit"u8;
[NativeTypeName("#define WC_EDITW L\"Edit\"")]
public const string WC_EDITW = "Edit";
@@ -112,7 +112,7 @@ public static partial class WC
public const string WC_EDIT = "Edit";
[NativeTypeName("#define WC_LISTBOXA \"ListBox\"")]
- public static ReadOnlySpan WC_LISTBOXA => new byte[] { 0x4C, 0x69, 0x73, 0x74, 0x42, 0x6F, 0x78, 0x00 };
+ public static ReadOnlySpan WC_LISTBOXA => "ListBox"u8;
[NativeTypeName("#define WC_LISTBOXW L\"ListBox\"")]
public const string WC_LISTBOXW = "ListBox";
@@ -121,7 +121,7 @@ public static partial class WC
public const string WC_LISTBOX = "ListBox";
[NativeTypeName("#define WC_COMBOBOXA \"ComboBox\"")]
- public static ReadOnlySpan WC_COMBOBOXA => new byte[] { 0x43, 0x6F, 0x6D, 0x62, 0x6F, 0x42, 0x6F, 0x78, 0x00 };
+ public static ReadOnlySpan WC_COMBOBOXA => "ComboBox"u8;
[NativeTypeName("#define WC_COMBOBOXW L\"ComboBox\"")]
public const string WC_COMBOBOXW = "ComboBox";
@@ -130,7 +130,7 @@ public static partial class WC
public const string WC_COMBOBOX = "ComboBox";
[NativeTypeName("#define WC_SCROLLBARA \"ScrollBar\"")]
- public static ReadOnlySpan WC_SCROLLBARA => new byte[] { 0x53, 0x63, 0x72, 0x6F, 0x6C, 0x6C, 0x42, 0x61, 0x72, 0x00 };
+ public static ReadOnlySpan WC_SCROLLBARA => "ScrollBar"u8;
[NativeTypeName("#define WC_SCROLLBARW L\"ScrollBar\"")]
public const string WC_SCROLLBARW = "ScrollBar";
diff --git a/sources/Interop/Windows/Windows/um/CommCtrl/Windows.cs b/sources/Interop/Windows/Windows/um/CommCtrl/Windows.cs
index c2f2d2031a..5f15704d24 100644
--- a/sources/Interop/Windows/Windows/um/CommCtrl/Windows.cs
+++ b/sources/Interop/Windows/Windows/um/CommCtrl/Windows.cs
@@ -506,7 +506,7 @@ public static HIMAGELIST IImageListToHIMAGELIST([NativeTypeName("struct IImageLi
public const string TOOLBARCLASSNAMEW = "ToolbarWindow32";
[NativeTypeName("#define TOOLBARCLASSNAMEA \"ToolbarWindow32\"")]
- public static ReadOnlySpan TOOLBARCLASSNAMEA => new byte[] { 0x54, 0x6F, 0x6F, 0x6C, 0x62, 0x61, 0x72, 0x57, 0x69, 0x6E, 0x64, 0x6F, 0x77, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan TOOLBARCLASSNAMEA => "ToolbarWindow32"u8;
[NativeTypeName("#define TOOLBARCLASSNAME TOOLBARCLASSNAMEW")]
public const string TOOLBARCLASSNAME = "ToolbarWindow32";
@@ -623,7 +623,7 @@ public static HIMAGELIST IImageListToHIMAGELIST([NativeTypeName("struct IImageLi
public const string REBARCLASSNAMEW = "ReBarWindow32";
[NativeTypeName("#define REBARCLASSNAMEA \"ReBarWindow32\"")]
- public static ReadOnlySpan REBARCLASSNAMEA => new byte[] { 0x52, 0x65, 0x42, 0x61, 0x72, 0x57, 0x69, 0x6E, 0x64, 0x6F, 0x77, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan REBARCLASSNAMEA => "ReBarWindow32"u8;
[NativeTypeName("#define REBARCLASSNAME REBARCLASSNAMEW")]
public const string REBARCLASSNAME = "ReBarWindow32";
@@ -695,7 +695,7 @@ public static HIMAGELIST IImageListToHIMAGELIST([NativeTypeName("struct IImageLi
public const string TOOLTIPS_CLASSW = "tooltips_class32";
[NativeTypeName("#define TOOLTIPS_CLASSA \"tooltips_class32\"")]
- public static ReadOnlySpan TOOLTIPS_CLASSA => new byte[] { 0x74, 0x6F, 0x6F, 0x6C, 0x74, 0x69, 0x70, 0x73, 0x5F, 0x63, 0x6C, 0x61, 0x73, 0x73, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan TOOLTIPS_CLASSA => "tooltips_class32"u8;
[NativeTypeName("#define TOOLTIPS_CLASS TOOLTIPS_CLASSW")]
public const string TOOLTIPS_CLASS = "tooltips_class32";
@@ -800,7 +800,7 @@ public static HIMAGELIST IImageListToHIMAGELIST([NativeTypeName("struct IImageLi
public const string STATUSCLASSNAMEW = "msctls_statusbar32";
[NativeTypeName("#define STATUSCLASSNAMEA \"msctls_statusbar32\"")]
- public static ReadOnlySpan STATUSCLASSNAMEA => new byte[] { 0x6D, 0x73, 0x63, 0x74, 0x6C, 0x73, 0x5F, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x62, 0x61, 0x72, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan STATUSCLASSNAMEA => "msctls_statusbar32"u8;
[NativeTypeName("#define STATUSCLASSNAME STATUSCLASSNAMEW")]
public const string STATUSCLASSNAME = "msctls_statusbar32";
@@ -827,7 +827,7 @@ public static HIMAGELIST IImageListToHIMAGELIST([NativeTypeName("struct IImageLi
public const int MINSYSCOMMAND = 0xF000;
[NativeTypeName("#define TRACKBAR_CLASSA \"msctls_trackbar32\"")]
- public static ReadOnlySpan TRACKBAR_CLASSA => new byte[] { 0x6D, 0x73, 0x63, 0x74, 0x6C, 0x73, 0x5F, 0x74, 0x72, 0x61, 0x63, 0x6B, 0x62, 0x61, 0x72, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan TRACKBAR_CLASSA => "msctls_trackbar32"u8;
[NativeTypeName("#define TRACKBAR_CLASSW L\"msctls_trackbar32\"")]
public const string TRACKBAR_CLASSW = "msctls_trackbar32";
@@ -887,7 +887,7 @@ public static HIMAGELIST IImageListToHIMAGELIST([NativeTypeName("struct IImageLi
public const string DRAGLISTMSGSTRING = "commctrl_DragListMsg";
[NativeTypeName("#define UPDOWN_CLASSA \"msctls_updown32\"")]
- public static ReadOnlySpan UPDOWN_CLASSA => new byte[] { 0x6D, 0x73, 0x63, 0x74, 0x6C, 0x73, 0x5F, 0x75, 0x70, 0x64, 0x6F, 0x77, 0x6E, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan UPDOWN_CLASSA => "msctls_updown32"u8;
[NativeTypeName("#define UPDOWN_CLASSW L\"msctls_updown32\"")]
public const string UPDOWN_CLASSW = "msctls_updown32";
@@ -932,7 +932,7 @@ public static HIMAGELIST IImageListToHIMAGELIST([NativeTypeName("struct IImageLi
public const uint UDN_DELTAPOS = unchecked((0U - 721U) - 1);
[NativeTypeName("#define PROGRESS_CLASSA \"msctls_progress32\"")]
- public static ReadOnlySpan PROGRESS_CLASSA => new byte[] { 0x6D, 0x73, 0x63, 0x74, 0x6C, 0x73, 0x5F, 0x70, 0x72, 0x6F, 0x67, 0x72, 0x65, 0x73, 0x73, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan PROGRESS_CLASSA => "msctls_progress32"u8;
[NativeTypeName("#define PROGRESS_CLASSW L\"msctls_progress32\"")]
public const string PROGRESS_CLASSW = "msctls_progress32";
@@ -1007,7 +1007,7 @@ public static HIMAGELIST IImageListToHIMAGELIST([NativeTypeName("struct IImageLi
public const int HKM_SETRULES = (0x0400 + 3);
[NativeTypeName("#define HOTKEY_CLASSA \"msctls_hotkey32\"")]
- public static ReadOnlySpan HOTKEY_CLASSA => new byte[] { 0x6D, 0x73, 0x63, 0x74, 0x6C, 0x73, 0x5F, 0x68, 0x6F, 0x74, 0x6B, 0x65, 0x79, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan HOTKEY_CLASSA => "msctls_hotkey32"u8;
[NativeTypeName("#define HOTKEY_CLASSW L\"msctls_hotkey32\"")]
public const string HOTKEY_CLASSW = "msctls_hotkey32";
@@ -1556,7 +1556,7 @@ public static HIMAGELIST IImageListToHIMAGELIST([NativeTypeName("struct IImageLi
public const string ANIMATE_CLASSW = "SysAnimate32";
[NativeTypeName("#define ANIMATE_CLASSA \"SysAnimate32\"")]
- public static ReadOnlySpan ANIMATE_CLASSA => new byte[] { 0x53, 0x79, 0x73, 0x41, 0x6E, 0x69, 0x6D, 0x61, 0x74, 0x65, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan ANIMATE_CLASSA => "SysAnimate32"u8;
[NativeTypeName("#define ANIMATE_CLASS ANIMATE_CLASSW")]
public const string ANIMATE_CLASS = "SysAnimate32";
@@ -1583,7 +1583,7 @@ public static HIMAGELIST IImageListToHIMAGELIST([NativeTypeName("struct IImageLi
public const string MONTHCAL_CLASSW = "SysMonthCal32";
[NativeTypeName("#define MONTHCAL_CLASSA \"SysMonthCal32\"")]
- public static ReadOnlySpan MONTHCAL_CLASSA => new byte[] { 0x53, 0x79, 0x73, 0x4D, 0x6F, 0x6E, 0x74, 0x68, 0x43, 0x61, 0x6C, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan MONTHCAL_CLASSA => "SysMonthCal32"u8;
[NativeTypeName("#define MONTHCAL_CLASS MONTHCAL_CLASSW")]
public const string MONTHCAL_CLASS = "SysMonthCal32";
@@ -1703,7 +1703,7 @@ public static HIMAGELIST IImageListToHIMAGELIST([NativeTypeName("struct IImageLi
public const string DATETIMEPICK_CLASSW = "SysDateTimePick32";
[NativeTypeName("#define DATETIMEPICK_CLASSA \"SysDateTimePick32\"")]
- public static ReadOnlySpan DATETIMEPICK_CLASSA => new byte[] { 0x53, 0x79, 0x73, 0x44, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6D, 0x65, 0x50, 0x69, 0x63, 0x6B, 0x33, 0x32, 0x00 };
+ public static ReadOnlySpan DATETIMEPICK_CLASSA => "SysDateTimePick32"u8;
[NativeTypeName("#define DATETIMEPICK_CLASS DATETIMEPICK_CLASSW")]
public const string DATETIMEPICK_CLASS = "SysDateTimePick32";
diff --git a/sources/Interop/Windows/Windows/um/Dimm/CActiveIMM.cs b/sources/Interop/Windows/Windows/um/Dimm/CActiveIMM.cs
index 95e958e64e..bdb875345a 100644
--- a/sources/Interop/Windows/Windows/um/Dimm/CActiveIMM.cs
+++ b/sources/Interop/Windows/Windows/um/Dimm/CActiveIMM.cs
@@ -3,12 +3,16 @@
// Ported from um/Dimm.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("4955DD33-B159-11D0-8FCF-00AA006BCC59")]
-public partial struct CActiveIMM
+public unsafe partial struct CActiveIMM : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CActiveIMM));
}
diff --git a/sources/Interop/Windows/Windows/um/Dimm/IActiveIME.cs b/sources/Interop/Windows/Windows/um/Dimm/IActiveIME.cs
index 81908185d6..8bfdbcac19 100644
--- a/sources/Interop/Windows/Windows/um/Dimm/IActiveIME.cs
+++ b/sources/Interop/Windows/Windows/um/Dimm/IActiveIME.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6FE20962-D077-11D0-8FE7-00AA006BCC59")]
[NativeTypeName("struct IActiveIME : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IActiveIME : IActiveIME.Interface
+public unsafe partial struct IActiveIME : IActiveIME.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IActiveIME));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Dimm/IActiveIME2.cs b/sources/Interop/Windows/Windows/um/Dimm/IActiveIME2.cs
index 1f37913ffe..97a8bdec7e 100644
--- a/sources/Interop/Windows/Windows/um/Dimm/IActiveIME2.cs
+++ b/sources/Interop/Windows/Windows/um/Dimm/IActiveIME2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E1C4BF0E-2D53-11D2-93E1-0060B067B86E")]
[NativeTypeName("struct IActiveIME2 : IActiveIME")]
[NativeInheritance("IActiveIME")]
-public unsafe partial struct IActiveIME2 : IActiveIME2.Interface
+public unsafe partial struct IActiveIME2 : IActiveIME2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IActiveIME2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMApp.cs b/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMApp.cs
index bd27656a8e..915cd580cf 100644
--- a/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMApp.cs
+++ b/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMApp.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("08C0E040-62D1-11D1-9326-0060B067B86E")]
[NativeTypeName("struct IActiveIMMApp : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IActiveIMMApp : IActiveIMMApp.Interface
+public unsafe partial struct IActiveIMMApp : IActiveIMMApp.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IActiveIMMApp));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMIME.cs b/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMIME.cs
index 3d4bed98f0..40b97405f0 100644
--- a/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMIME.cs
+++ b/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMIME.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("08C03411-F96B-11D0-A475-00AA006BCC59")]
[NativeTypeName("struct IActiveIMMIME : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IActiveIMMIME : IActiveIMMIME.Interface
+public unsafe partial struct IActiveIMMIME : IActiveIMMIME.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IActiveIMMIME));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMMessagePumpOwner.cs b/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMMessagePumpOwner.cs
index 5370a7dfd8..512082172b 100644
--- a/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMMessagePumpOwner.cs
+++ b/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMMessagePumpOwner.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B5CF2CFA-8AEB-11D1-9364-0060B067B86E")]
[NativeTypeName("struct IActiveIMMMessagePumpOwner : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IActiveIMMMessagePumpOwner : IActiveIMMMessagePumpOwner.Interface
+public unsafe partial struct IActiveIMMMessagePumpOwner : IActiveIMMMessagePumpOwner.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IActiveIMMMessagePumpOwner));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMRegistrar.cs b/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMRegistrar.cs
index a6e4181343..19a01fa439 100644
--- a/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMRegistrar.cs
+++ b/sources/Interop/Windows/Windows/um/Dimm/IActiveIMMRegistrar.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B3458082-BD00-11D1-939B-0060B067B86E")]
[NativeTypeName("struct IActiveIMMRegistrar : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IActiveIMMRegistrar : IActiveIMMRegistrar.Interface
+public unsafe partial struct IActiveIMMRegistrar : IActiveIMMRegistrar.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IActiveIMMRegistrar));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Dimm/IEnumInputContext.cs b/sources/Interop/Windows/Windows/um/Dimm/IEnumInputContext.cs
index 91249bc562..f3aaa63abf 100644
--- a/sources/Interop/Windows/Windows/um/Dimm/IEnumInputContext.cs
+++ b/sources/Interop/Windows/Windows/um/Dimm/IEnumInputContext.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("09B5EAB0-F997-11D1-93D4-0060B067B86E")]
[NativeTypeName("struct IEnumInputContext : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumInputContext : IEnumInputContext.Interface
+public unsafe partial struct IEnumInputContext : IEnumInputContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumInputContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Dimm/IEnumRegisterWordA.cs b/sources/Interop/Windows/Windows/um/Dimm/IEnumRegisterWordA.cs
index b11764731b..ec6201e484 100644
--- a/sources/Interop/Windows/Windows/um/Dimm/IEnumRegisterWordA.cs
+++ b/sources/Interop/Windows/Windows/um/Dimm/IEnumRegisterWordA.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("08C03412-F96B-11D0-A475-00AA006BCC59")]
[NativeTypeName("struct IEnumRegisterWordA : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumRegisterWordA : IEnumRegisterWordA.Interface
+public unsafe partial struct IEnumRegisterWordA : IEnumRegisterWordA.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumRegisterWordA));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Dimm/IEnumRegisterWordW.cs b/sources/Interop/Windows/Windows/um/Dimm/IEnumRegisterWordW.cs
index ca2ca71ea2..a0b03f6e75 100644
--- a/sources/Interop/Windows/Windows/um/Dimm/IEnumRegisterWordW.cs
+++ b/sources/Interop/Windows/Windows/um/Dimm/IEnumRegisterWordW.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4955DD31-B159-11D0-8FCF-00AA006BCC59")]
[NativeTypeName("struct IEnumRegisterWordW : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumRegisterWordW : IEnumRegisterWordW.Interface
+public unsafe partial struct IEnumRegisterWordW : IEnumRegisterWordW.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumRegisterWordW));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DispEx/IDispatchEx.Manual.cs b/sources/Interop/Windows/Windows/um/DispEx/IDispatchEx.Manual.cs
index ecefe15b1e..8be30c35b2 100644
--- a/sources/Interop/Windows/Windows/um/DispEx/IDispatchEx.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/DispEx/IDispatchEx.Manual.cs
@@ -6,14 +6,17 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
[Guid("A6EF9860-C720-11D0-9337-00A0C90DCAA9")]
[NativeTypeName("struct IDispatchEx : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDispatchEx : IDispatch.Interface
+public unsafe partial struct IDispatchEx : IDispatch.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDispatchEx));
+
public void** lpVtbl;
[MethodImpl(MethodImplOptions.AggressiveInlining)]
diff --git a/sources/Interop/Windows/Windows/um/DispEx/IID.Manual.cs b/sources/Interop/Windows/Windows/um/DispEx/IID.Manual.cs
new file mode 100644
index 0000000000..e4c39b5dc8
--- /dev/null
+++ b/sources/Interop/Windows/Windows/um/DispEx/IID.Manual.cs
@@ -0,0 +1,39 @@
+// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
+
+// Ported from um/DispEx.h in the Windows SDK for Windows 10.0.20348.0
+// Original source is Copyright © Microsoft. All rights reserved.
+
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace TerraFX.Interop.Windows;
+
+public static partial class IID
+{
+ [NativeTypeName("const GUID")]
+ public static ref readonly Guid IID_IDispatchEx
+ {
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ get
+ {
+ ReadOnlySpan data = new byte[] {
+ 0x60, 0x98, 0xEF, 0xA6,
+ 0x20, 0xC7,
+ 0xD0, 0x11,
+ 0x93,
+ 0x37,
+ 0x00,
+ 0xA0,
+ 0xC9,
+ 0xD,
+ 0xCA,
+ 0xA9
+ };
+
+ Debug.Assert(data.Length == Unsafe.SizeOf());
+ return ref Unsafe.As(ref MemoryMarshal.GetReference(data));
+ }
+ }
+}
diff --git a/sources/Interop/Windows/Windows/um/DocObj/IContinueCallback.cs b/sources/Interop/Windows/Windows/um/DocObj/IContinueCallback.cs
index 0a41f02c3b..9dad3e98cd 100644
--- a/sources/Interop/Windows/Windows/um/DocObj/IContinueCallback.cs
+++ b/sources/Interop/Windows/Windows/um/DocObj/IContinueCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B722BCCA-4E68-101B-A2BC-00AA00404770")]
[NativeTypeName("struct IContinueCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IContinueCallback : IContinueCallback.Interface
+public unsafe partial struct IContinueCallback : IContinueCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContinueCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocObj/IEnumOleDocumentViews.cs b/sources/Interop/Windows/Windows/um/DocObj/IEnumOleDocumentViews.cs
index 1c4fe9bd91..970e4e96a6 100644
--- a/sources/Interop/Windows/Windows/um/DocObj/IEnumOleDocumentViews.cs
+++ b/sources/Interop/Windows/Windows/um/DocObj/IEnumOleDocumentViews.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B722BCC8-4E68-101B-A2BC-00AA00404770")]
[NativeTypeName("struct IEnumOleDocumentViews : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumOleDocumentViews : IEnumOleDocumentViews.Interface
+public unsafe partial struct IEnumOleDocumentViews : IEnumOleDocumentViews.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumOleDocumentViews));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocObj/IOleCommandTarget.cs b/sources/Interop/Windows/Windows/um/DocObj/IOleCommandTarget.cs
index 30b50e3126..cb12b2b9d3 100644
--- a/sources/Interop/Windows/Windows/um/DocObj/IOleCommandTarget.cs
+++ b/sources/Interop/Windows/Windows/um/DocObj/IOleCommandTarget.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B722BCCB-4E68-101B-A2BC-00AA00404770")]
[NativeTypeName("struct IOleCommandTarget : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IOleCommandTarget : IOleCommandTarget.Interface
+public unsafe partial struct IOleCommandTarget : IOleCommandTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IOleCommandTarget));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocObj/IOleDocument.cs b/sources/Interop/Windows/Windows/um/DocObj/IOleDocument.cs
index 08b07e938b..687e656fcd 100644
--- a/sources/Interop/Windows/Windows/um/DocObj/IOleDocument.cs
+++ b/sources/Interop/Windows/Windows/um/DocObj/IOleDocument.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B722BCC5-4E68-101B-A2BC-00AA00404770")]
[NativeTypeName("struct IOleDocument : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IOleDocument : IOleDocument.Interface
+public unsafe partial struct IOleDocument : IOleDocument.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IOleDocument));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocObj/IOleDocumentSite.cs b/sources/Interop/Windows/Windows/um/DocObj/IOleDocumentSite.cs
index cb8002cf14..db4812893f 100644
--- a/sources/Interop/Windows/Windows/um/DocObj/IOleDocumentSite.cs
+++ b/sources/Interop/Windows/Windows/um/DocObj/IOleDocumentSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B722BCC7-4E68-101B-A2BC-00AA00404770")]
[NativeTypeName("struct IOleDocumentSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IOleDocumentSite : IOleDocumentSite.Interface
+public unsafe partial struct IOleDocumentSite : IOleDocumentSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IOleDocumentSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocObj/IOleDocumentView.cs b/sources/Interop/Windows/Windows/um/DocObj/IOleDocumentView.cs
index 3d6023db64..db7c721137 100644
--- a/sources/Interop/Windows/Windows/um/DocObj/IOleDocumentView.cs
+++ b/sources/Interop/Windows/Windows/um/DocObj/IOleDocumentView.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B722BCC6-4E68-101B-A2BC-00AA00404770")]
[NativeTypeName("struct IOleDocumentView : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IOleDocumentView : IOleDocumentView.Interface
+public unsafe partial struct IOleDocumentView : IOleDocumentView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IOleDocumentView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocObj/IPrint.cs b/sources/Interop/Windows/Windows/um/DocObj/IPrint.cs
index 6a3b9e246a..931327161a 100644
--- a/sources/Interop/Windows/Windows/um/DocObj/IPrint.cs
+++ b/sources/Interop/Windows/Windows/um/DocObj/IPrint.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B722BCC9-4E68-101B-A2BC-00AA00404770")]
[NativeTypeName("struct IPrint : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPrint : IPrint.Interface
+public unsafe partial struct IPrint : IPrint.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPrint));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocObj/IProtectFocus.cs b/sources/Interop/Windows/Windows/um/DocObj/IProtectFocus.cs
index 25b921e441..7d14845408 100644
--- a/sources/Interop/Windows/Windows/um/DocObj/IProtectFocus.cs
+++ b/sources/Interop/Windows/Windows/um/DocObj/IProtectFocus.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D81F90A3-8156-44F7-AD28-5ABB87003274")]
[NativeTypeName("struct IProtectFocus : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IProtectFocus : IProtectFocus.Interface
+public unsafe partial struct IProtectFocus : IProtectFocus.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProtectFocus));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocObj/IProtectedModeMenuServices.cs b/sources/Interop/Windows/Windows/um/DocObj/IProtectedModeMenuServices.cs
index 4edea7758f..d3e98c0e40 100644
--- a/sources/Interop/Windows/Windows/um/DocObj/IProtectedModeMenuServices.cs
+++ b/sources/Interop/Windows/Windows/um/DocObj/IProtectedModeMenuServices.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("73C105EE-9DFF-4A07-B83C-7EFF290C266E")]
[NativeTypeName("struct IProtectedModeMenuServices : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IProtectedModeMenuServices : IProtectedModeMenuServices.Interface
+public unsafe partial struct IProtectedModeMenuServices : IProtectedModeMenuServices.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProtectedModeMenuServices));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocObj/IZoomEvents.cs b/sources/Interop/Windows/Windows/um/DocObj/IZoomEvents.cs
index b273501f33..1193806af3 100644
--- a/sources/Interop/Windows/Windows/um/DocObj/IZoomEvents.cs
+++ b/sources/Interop/Windows/Windows/um/DocObj/IZoomEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("41B68150-904C-4E17-A0BA-A438182E359D")]
[NativeTypeName("struct IZoomEvents : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IZoomEvents : IZoomEvents.Interface
+public unsafe partial struct IZoomEvents : IZoomEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IZoomEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocObj/PAGESET.cs b/sources/Interop/Windows/Windows/um/DocObj/PAGESET.cs
index 087f283e6b..469757dcd4 100644
--- a/sources/Interop/Windows/Windows/um/DocObj/PAGESET.cs
+++ b/sources/Interop/Windows/Windows/um/DocObj/PAGESET.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -35,6 +36,7 @@ public partial struct _rgPages_e__FixedBuffer
{
public PAGERANGE e0;
+ [UnscopedRef]
public ref PAGERANGE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -45,6 +47,7 @@ public ref PAGERANGE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageStatusEvent.cs b/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageStatusEvent.cs
index a755942001..10d9c1a2b5 100644
--- a/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageStatusEvent.cs
+++ b/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageStatusEvent.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IPrintDocumentPackageStatusEvent : IDispatch")]
[NativeInheritance("IDispatch")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IPrintDocumentPackageStatusEvent : IPrintDocumentPackageStatusEvent.Interface
+public unsafe partial struct IPrintDocumentPackageStatusEvent : IPrintDocumentPackageStatusEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPrintDocumentPackageStatusEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTarget.cs b/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTarget.cs
index 1bb2af3697..24556c68a3 100644
--- a/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTarget.cs
+++ b/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTarget.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IPrintDocumentPackageTarget : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IPrintDocumentPackageTarget : IPrintDocumentPackageTarget.Interface
+public unsafe partial struct IPrintDocumentPackageTarget : IPrintDocumentPackageTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPrintDocumentPackageTarget));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTargetFactory.cs b/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTargetFactory.cs
index d9da7c5350..1f9a58b083 100644
--- a/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTargetFactory.cs
+++ b/sources/Interop/Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTargetFactory.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IPrintDocumentPackageTargetFactory : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IPrintDocumentPackageTargetFactory : IPrintDocumentPackageTargetFactory.Interface
+public unsafe partial struct IPrintDocumentPackageTargetFactory : IPrintDocumentPackageTargetFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPrintDocumentPackageTargetFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/DocumentTarget/PrintDocumentPackageTarget.cs b/sources/Interop/Windows/Windows/um/DocumentTarget/PrintDocumentPackageTarget.cs
index 8bac85e4af..e95dbdd503 100644
--- a/sources/Interop/Windows/Windows/um/DocumentTarget/PrintDocumentPackageTarget.cs
+++ b/sources/Interop/Windows/Windows/um/DocumentTarget/PrintDocumentPackageTarget.cs
@@ -3,12 +3,16 @@
// Ported from um/DocumentTarget.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("4842669E-9947-46EA-8BA2-D8CCE432C2CA")]
-public partial struct PrintDocumentPackageTarget
+public unsafe partial struct PrintDocumentPackageTarget : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_PrintDocumentPackageTarget));
}
diff --git a/sources/Interop/Windows/Windows/um/DocumentTarget/PrintDocumentPackageTargetFactory.cs b/sources/Interop/Windows/Windows/um/DocumentTarget/PrintDocumentPackageTargetFactory.cs
index 105db2b0e0..127bd2baea 100644
--- a/sources/Interop/Windows/Windows/um/DocumentTarget/PrintDocumentPackageTargetFactory.cs
+++ b/sources/Interop/Windows/Windows/um/DocumentTarget/PrintDocumentPackageTargetFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/DocumentTarget.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("348EF17D-6C81-4982-92B4-EE188A43867A")]
-public partial struct PrintDocumentPackageTargetFactory
+public unsafe partial struct PrintDocumentPackageTargetFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_PrintDocumentPackageTargetFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/EvColl/EC_VARIANT.cs b/sources/Interop/Windows/Windows/um/EvColl/EC_VARIANT.cs
index 7480f580b5..1f165645dc 100644
--- a/sources/Interop/Windows/Windows/um/EvColl/EC_VARIANT.cs
+++ b/sources/Interop/Windows/Windows/um/EvColl/EC_VARIANT.cs
@@ -3,6 +3,7 @@
// Ported from um/EvColl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -24,92 +25,101 @@ public unsafe partial struct EC_VARIANT
public uint Type;
///
+ [UnscopedRef]
public ref BOOL BooleanVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.BooleanVal, 1));
+ return ref Anonymous.BooleanVal;
}
}
///
+ [UnscopedRef]
public ref uint UInt32Val
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.UInt32Val, 1));
+ return ref Anonymous.UInt32Val;
}
}
///
+ [UnscopedRef]
public ref ulong DateTimeVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.DateTimeVal, 1));
+ return ref Anonymous.DateTimeVal;
}
}
///
+ [UnscopedRef]
public ref ushort* StringVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.StringVal;
+ return ref Anonymous.StringVal;
}
}
///
+ [UnscopedRef]
public ref byte* BinaryVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.BinaryVal;
+ return ref Anonymous.BinaryVal;
}
}
///
+ [UnscopedRef]
public ref BOOL* BooleanArr
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.BooleanArr;
+ return ref Anonymous.BooleanArr;
}
}
///
+ [UnscopedRef]
public ref int* Int32Arr
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Int32Arr;
+ return ref Anonymous.Int32Arr;
}
}
///
+ [UnscopedRef]
public ref ushort** StringArr
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.StringArr;
+ return ref Anonymous.StringArr;
}
}
///
+ [UnscopedRef]
public ref EC_OBJECT_ARRAY_PROPERTY_HANDLE PropertyHandleVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.PropertyHandleVal;
+ return ref Anonymous.PropertyHandleVal;
}
}
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/CScriptErrorList.cs b/sources/Interop/Windows/Windows/um/ExDisp/CScriptErrorList.cs
index 12d830d1ce..3d7f546550 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/CScriptErrorList.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/CScriptErrorList.cs
@@ -3,12 +3,16 @@
// Ported from um/ExDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("EFD01300-160F-11D2-BB2E-00805FF7EFCA")]
-public partial struct CScriptErrorList
+public unsafe partial struct CScriptErrorList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CScriptErrorList));
}
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/DShellNameSpaceEvents.cs b/sources/Interop/Windows/Windows/um/ExDisp/DShellNameSpaceEvents.cs
index 119bf47f34..65c2f0739d 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/DShellNameSpaceEvents.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/DShellNameSpaceEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("55136806-B2DE-11D1-B9F2-00A0C98BC547")]
[NativeTypeName("struct DShellNameSpaceEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DShellNameSpaceEvents : DShellNameSpaceEvents.Interface
+public unsafe partial struct DShellNameSpaceEvents : DShellNameSpaceEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DShellNameSpaceEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/DShellWindowsEvents.cs b/sources/Interop/Windows/Windows/um/ExDisp/DShellWindowsEvents.cs
index 4f78b076cb..c9bd2a9987 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/DShellWindowsEvents.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/DShellWindowsEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FE4106E0-399A-11D0-A48C-00A0C90A8F39")]
[NativeTypeName("struct DShellWindowsEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DShellWindowsEvents : DShellWindowsEvents.Interface
+public unsafe partial struct DShellWindowsEvents : DShellWindowsEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DShellWindowsEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/DWebBrowserEvents.cs b/sources/Interop/Windows/Windows/um/ExDisp/DWebBrowserEvents.cs
index 7482b1dee9..07b51ae569 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/DWebBrowserEvents.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/DWebBrowserEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EAB22AC2-30C1-11CF-A7EB-0000C05BAE0B")]
[NativeTypeName("struct DWebBrowserEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DWebBrowserEvents : DWebBrowserEvents.Interface
+public unsafe partial struct DWebBrowserEvents : DWebBrowserEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DWebBrowserEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/DWebBrowserEvents2.cs b/sources/Interop/Windows/Windows/um/ExDisp/DWebBrowserEvents2.cs
index 4fdb754ea4..f8a09888c3 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/DWebBrowserEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/DWebBrowserEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("34A715A0-6587-11D0-924A-0020AFC7AC4D")]
[NativeTypeName("struct DWebBrowserEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DWebBrowserEvents2 : DWebBrowserEvents2.Interface
+public unsafe partial struct DWebBrowserEvents2 : DWebBrowserEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DWebBrowserEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IScriptErrorList.cs b/sources/Interop/Windows/Windows/um/ExDisp/IScriptErrorList.cs
index bbe58c025a..d00bd2267c 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IScriptErrorList.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IScriptErrorList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F3470F24-15FD-11D2-BB2E-00805FF7EFCA")]
[NativeTypeName("struct IScriptErrorList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IScriptErrorList : IScriptErrorList.Interface
+public unsafe partial struct IScriptErrorList : IScriptErrorList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IScriptErrorList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellFavoritesNameSpace.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellFavoritesNameSpace.cs
index 0516f13dde..aa2b48a9b7 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellFavoritesNameSpace.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellFavoritesNameSpace.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("55136804-B2DE-11D1-B9F2-00A0C98BC547")]
[NativeTypeName("struct IShellFavoritesNameSpace : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IShellFavoritesNameSpace : IShellFavoritesNameSpace.Interface
+public unsafe partial struct IShellFavoritesNameSpace : IShellFavoritesNameSpace.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellFavoritesNameSpace));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellNameSpace.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellNameSpace.cs
index 7ce66e55a6..47f14dbce1 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellNameSpace.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellNameSpace.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E572D3C9-37BE-4AE2-825D-D521763E3108")]
[NativeTypeName("struct IShellNameSpace : IShellFavoritesNameSpace")]
[NativeInheritance("IShellFavoritesNameSpace")]
-public unsafe partial struct IShellNameSpace : IShellNameSpace.Interface
+public unsafe partial struct IShellNameSpace : IShellNameSpace.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellNameSpace));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper.cs
index ea935ef1b5..dbfdb7a22f 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("729FE2F8-1EA8-11D1-8F85-00C04FC2FBE1")]
[NativeTypeName("struct IShellUIHelper : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IShellUIHelper : IShellUIHelper.Interface
+public unsafe partial struct IShellUIHelper : IShellUIHelper.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellUIHelper));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper2.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper2.cs
index b8e5c920ad..d529e849aa 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper2.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A7FE6EDA-1932-4281-B881-87B31B8BC52C")]
[NativeTypeName("struct IShellUIHelper2 : IShellUIHelper")]
[NativeInheritance("IShellUIHelper")]
-public unsafe partial struct IShellUIHelper2 : IShellUIHelper2.Interface
+public unsafe partial struct IShellUIHelper2 : IShellUIHelper2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellUIHelper2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper3.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper3.cs
index dc860b7588..d0f4860dbe 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper3.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("528DF2EC-D419-40BC-9B6D-DCDBF9C1B25D")]
[NativeTypeName("struct IShellUIHelper3 : IShellUIHelper2")]
[NativeInheritance("IShellUIHelper2")]
-public unsafe partial struct IShellUIHelper3 : IShellUIHelper3.Interface
+public unsafe partial struct IShellUIHelper3 : IShellUIHelper3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellUIHelper3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper4.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper4.cs
index a8ff41b095..8c48a176c0 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper4.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B36E6A53-8073-499E-824C-D776330A333E")]
[NativeTypeName("struct IShellUIHelper4 : IShellUIHelper3")]
[NativeInheritance("IShellUIHelper3")]
-public unsafe partial struct IShellUIHelper4 : IShellUIHelper4.Interface
+public unsafe partial struct IShellUIHelper4 : IShellUIHelper4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellUIHelper4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper5.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper5.cs
index 0b6a8bb0c5..f15fb7fc47 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper5.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A2A08B09-103D-4D3F-B91C-EA455CA82EFA")]
[NativeTypeName("struct IShellUIHelper5 : IShellUIHelper4")]
[NativeInheritance("IShellUIHelper4")]
-public unsafe partial struct IShellUIHelper5 : IShellUIHelper5.Interface
+public unsafe partial struct IShellUIHelper5 : IShellUIHelper5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellUIHelper5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper6.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper6.cs
index b9215cf616..f3a0aada92 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper6.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper6.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("987A573E-46EE-4E89-96AB-DDF7F8FDC98C")]
[NativeTypeName("struct IShellUIHelper6 : IShellUIHelper5")]
[NativeInheritance("IShellUIHelper5")]
-public unsafe partial struct IShellUIHelper6 : IShellUIHelper6.Interface
+public unsafe partial struct IShellUIHelper6 : IShellUIHelper6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellUIHelper6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper7.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper7.cs
index 9db0402c02..6fcdc8e8a9 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper7.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper7.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("60E567C8-9573-4AB2-A264-637C6C161CB1")]
[NativeTypeName("struct IShellUIHelper7 : IShellUIHelper6")]
[NativeInheritance("IShellUIHelper6")]
-public unsafe partial struct IShellUIHelper7 : IShellUIHelper7.Interface
+public unsafe partial struct IShellUIHelper7 : IShellUIHelper7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellUIHelper7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper8.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper8.cs
index 5cc5cfeae5..100ef077b1 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper8.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper8.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("66DEBCF2-05B0-4F07-B49B-B96241A65DB2")]
[NativeTypeName("struct IShellUIHelper8 : IShellUIHelper7")]
[NativeInheritance("IShellUIHelper7")]
-public unsafe partial struct IShellUIHelper8 : IShellUIHelper8.Interface
+public unsafe partial struct IShellUIHelper8 : IShellUIHelper8.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellUIHelper8));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper9.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper9.cs
index c8e75b5a28..55422302fc 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper9.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellUIHelper9.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6CDF73B0-7F2F-451F-BC0F-63E0F3284E54")]
[NativeTypeName("struct IShellUIHelper9 : IShellUIHelper8")]
[NativeInheritance("IShellUIHelper8")]
-public unsafe partial struct IShellUIHelper9 : IShellUIHelper9.Interface
+public unsafe partial struct IShellUIHelper9 : IShellUIHelper9.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellUIHelper9));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IShellWindows.cs b/sources/Interop/Windows/Windows/um/ExDisp/IShellWindows.cs
index d75d46cd86..0b0e74978b 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IShellWindows.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IShellWindows.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("85CB6900-4D95-11CF-960C-0080C7F4EE85")]
[NativeTypeName("struct IShellWindows : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IShellWindows : IShellWindows.Interface
+public unsafe partial struct IShellWindows : IShellWindows.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellWindows));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowser.cs b/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowser.cs
index 8d6022e51c..717385930b 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowser.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowser.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EAB22AC1-30C1-11CF-A7EB-0000C05BAE0B")]
[NativeTypeName("struct IWebBrowser : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IWebBrowser : IWebBrowser.Interface
+public unsafe partial struct IWebBrowser : IWebBrowser.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebBrowser));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowser2.cs b/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowser2.cs
index 7fdcdcd1d7..d761f1f385 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowser2.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowser2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D30C1661-CDAF-11D0-8A3E-00C04FC9E26E")]
[NativeTypeName("struct IWebBrowser2 : IWebBrowserApp")]
[NativeInheritance("IWebBrowserApp")]
-public unsafe partial struct IWebBrowser2 : IWebBrowser2.Interface
+public unsafe partial struct IWebBrowser2 : IWebBrowser2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebBrowser2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowserApp.cs b/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowserApp.cs
index e60db9c9b1..bdf07e49a4 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowserApp.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/IWebBrowserApp.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0002DF05-0000-0000-C000-000000000046")]
[NativeTypeName("struct IWebBrowserApp : IWebBrowser")]
[NativeInheritance("IWebBrowser")]
-public unsafe partial struct IWebBrowserApp : IWebBrowserApp.Interface
+public unsafe partial struct IWebBrowserApp : IWebBrowserApp.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebBrowserApp));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/InternetExplorer.cs b/sources/Interop/Windows/Windows/um/ExDisp/InternetExplorer.cs
index 81872707e4..cac0b38a57 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/InternetExplorer.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/InternetExplorer.cs
@@ -3,12 +3,16 @@
// Ported from um/ExDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("0002DF01-0000-0000-C000-000000000046")]
-public partial struct InternetExplorer
+public unsafe partial struct InternetExplorer : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_InternetExplorer));
}
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/InternetExplorerMedium.cs b/sources/Interop/Windows/Windows/um/ExDisp/InternetExplorerMedium.cs
index fc5ecf0fbe..8e84c76c57 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/InternetExplorerMedium.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/InternetExplorerMedium.cs
@@ -3,12 +3,16 @@
// Ported from um/ExDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("D5E8041D-920F-45E9-B8FB-B1DEB82C6E5E")]
-public partial struct InternetExplorerMedium
+public unsafe partial struct InternetExplorerMedium : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_InternetExplorerMedium));
}
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/ShellBrowserWindow.cs b/sources/Interop/Windows/Windows/um/ExDisp/ShellBrowserWindow.cs
index 95b77aff54..05dd36daf9 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/ShellBrowserWindow.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/ShellBrowserWindow.cs
@@ -3,12 +3,16 @@
// Ported from um/ExDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("C08AFD90-F2A1-11D1-8455-00A0C91F3880")]
-public partial struct ShellBrowserWindow
+public unsafe partial struct ShellBrowserWindow : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellBrowserWindow));
}
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/ShellNameSpace.cs b/sources/Interop/Windows/Windows/um/ExDisp/ShellNameSpace.cs
index 4cdf456d42..cd50757c11 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/ShellNameSpace.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/ShellNameSpace.cs
@@ -3,12 +3,16 @@
// Ported from um/ExDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("55136805-B2DE-11D1-B9F2-00A0C98BC547")]
-public partial struct ShellNameSpace
+public unsafe partial struct ShellNameSpace : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellNameSpace));
}
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/ShellUIHelper.cs b/sources/Interop/Windows/Windows/um/ExDisp/ShellUIHelper.cs
index 338592bb24..00960f25bb 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/ShellUIHelper.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/ShellUIHelper.cs
@@ -3,12 +3,16 @@
// Ported from um/ExDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("64AB4BB7-111E-11D1-8F79-00C04FC2FBE1")]
-public partial struct ShellUIHelper
+public unsafe partial struct ShellUIHelper : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellUIHelper));
}
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/ShellWindows.cs b/sources/Interop/Windows/Windows/um/ExDisp/ShellWindows.cs
index 5a7d025cd7..521bb2b032 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/ShellWindows.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/ShellWindows.cs
@@ -3,12 +3,16 @@
// Ported from um/ExDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("9BA05972-F6A8-11CF-A442-00A0C90A8F39")]
-public partial struct ShellWindows
+public unsafe partial struct ShellWindows : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellWindows));
}
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/WebBrowser.cs b/sources/Interop/Windows/Windows/um/ExDisp/WebBrowser.cs
index 339d0e840c..c0a9eade20 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/WebBrowser.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/WebBrowser.cs
@@ -3,12 +3,16 @@
// Ported from um/ExDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("8856F961-340A-11D0-A96B-00C04FD705A2")]
-public partial struct WebBrowser
+public unsafe partial struct WebBrowser : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WebBrowser));
}
diff --git a/sources/Interop/Windows/Windows/um/ExDisp/WebBrowser_V1.cs b/sources/Interop/Windows/Windows/um/ExDisp/WebBrowser_V1.cs
index 247ae3cd0b..7eecbc21bb 100644
--- a/sources/Interop/Windows/Windows/um/ExDisp/WebBrowser_V1.cs
+++ b/sources/Interop/Windows/Windows/um/ExDisp/WebBrowser_V1.cs
@@ -3,12 +3,16 @@
// Ported from um/ExDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B")]
-public partial struct WebBrowser_V1
+public unsafe partial struct WebBrowser_V1 : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WebBrowser_V1));
}
diff --git a/sources/Interop/Windows/Windows/um/HLink/IEnumHLITEM.cs b/sources/Interop/Windows/Windows/um/HLink/IEnumHLITEM.cs
index 0cf7bfbb4f..6781da1336 100644
--- a/sources/Interop/Windows/Windows/um/HLink/IEnumHLITEM.cs
+++ b/sources/Interop/Windows/Windows/um/HLink/IEnumHLITEM.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("79EAC9C6-BAF9-11CE-8C82-00AA004BA90B")]
[NativeTypeName("struct IEnumHLITEM : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumHLITEM : IEnumHLITEM.Interface
+public unsafe partial struct IEnumHLITEM : IEnumHLITEM.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumHLITEM));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/HLink/IExtensionServices.cs b/sources/Interop/Windows/Windows/um/HLink/IExtensionServices.cs
index e40b845711..3827120084 100644
--- a/sources/Interop/Windows/Windows/um/HLink/IExtensionServices.cs
+++ b/sources/Interop/Windows/Windows/um/HLink/IExtensionServices.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("79EAC9CB-BAF9-11CE-8C82-00AA004BA90B")]
[NativeTypeName("struct IExtensionServices : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExtensionServices : IExtensionServices.Interface
+public unsafe partial struct IExtensionServices : IExtensionServices.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExtensionServices));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/HLink/IHlink.cs b/sources/Interop/Windows/Windows/um/HLink/IHlink.cs
index 6909489b84..862ff67bb1 100644
--- a/sources/Interop/Windows/Windows/um/HLink/IHlink.cs
+++ b/sources/Interop/Windows/Windows/um/HLink/IHlink.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("79EAC9C3-BAF9-11CE-8C82-00AA004BA90B")]
[NativeTypeName("struct IHlink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHlink : IHlink.Interface
+public unsafe partial struct IHlink : IHlink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHlink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/HLink/IHlinkBrowseContext.cs b/sources/Interop/Windows/Windows/um/HLink/IHlinkBrowseContext.cs
index 74ebd32f15..5a64098c58 100644
--- a/sources/Interop/Windows/Windows/um/HLink/IHlinkBrowseContext.cs
+++ b/sources/Interop/Windows/Windows/um/HLink/IHlinkBrowseContext.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("79EAC9C7-BAF9-11CE-8C82-00AA004BA90B")]
[NativeTypeName("struct IHlinkBrowseContext : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHlinkBrowseContext : IHlinkBrowseContext.Interface
+public unsafe partial struct IHlinkBrowseContext : IHlinkBrowseContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHlinkBrowseContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/HLink/IHlinkFrame.cs b/sources/Interop/Windows/Windows/um/HLink/IHlinkFrame.cs
index ab0e131f89..a739eb5877 100644
--- a/sources/Interop/Windows/Windows/um/HLink/IHlinkFrame.cs
+++ b/sources/Interop/Windows/Windows/um/HLink/IHlinkFrame.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("79EAC9C5-BAF9-11CE-8C82-00AA004BA90B")]
[NativeTypeName("struct IHlinkFrame : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHlinkFrame : IHlinkFrame.Interface
+public unsafe partial struct IHlinkFrame : IHlinkFrame.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHlinkFrame));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/HLink/IHlinkSite.cs b/sources/Interop/Windows/Windows/um/HLink/IHlinkSite.cs
index e1562ca6fb..d792589818 100644
--- a/sources/Interop/Windows/Windows/um/HLink/IHlinkSite.cs
+++ b/sources/Interop/Windows/Windows/um/HLink/IHlinkSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("79EAC9C2-BAF9-11CE-8C82-00AA004BA90B")]
[NativeTypeName("struct IHlinkSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHlinkSite : IHlinkSite.Interface
+public unsafe partial struct IHlinkSite : IHlinkSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHlinkSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/HLink/IHlinkTarget.cs b/sources/Interop/Windows/Windows/um/HLink/IHlinkTarget.cs
index 5014852bcd..0cb8e9c903 100644
--- a/sources/Interop/Windows/Windows/um/HLink/IHlinkTarget.cs
+++ b/sources/Interop/Windows/Windows/um/HLink/IHlinkTarget.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("79EAC9C4-BAF9-11CE-8C82-00AA004BA90B")]
[NativeTypeName("struct IHlinkTarget : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHlinkTarget : IHlinkTarget.Interface
+public unsafe partial struct IHlinkTarget : IHlinkTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHlinkTarget));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/IContact/Contact.cs b/sources/Interop/Windows/Windows/um/IContact/Contact.cs
index bd64825cb9..2ba4cd5df1 100644
--- a/sources/Interop/Windows/Windows/um/IContact/Contact.cs
+++ b/sources/Interop/Windows/Windows/um/IContact/Contact.cs
@@ -3,12 +3,16 @@
// Ported from um/IContact.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("61B68808-8EEE-4FD1-ACB8-3D804C8DB056")]
-public partial struct Contact
+public unsafe partial struct Contact : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_Contact));
}
diff --git a/sources/Interop/Windows/Windows/um/IContact/ContactManager.cs b/sources/Interop/Windows/Windows/um/IContact/ContactManager.cs
index c4eaba7323..6c13874e29 100644
--- a/sources/Interop/Windows/Windows/um/IContact/ContactManager.cs
+++ b/sources/Interop/Windows/Windows/um/IContact/ContactManager.cs
@@ -3,12 +3,16 @@
// Ported from um/IContact.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("7165C8AB-AF88-42BD-86FD-5310B4285A02")]
-public partial struct ContactManager
+public unsafe partial struct ContactManager : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_ContactManager));
}
diff --git a/sources/Interop/Windows/Windows/um/IContact/IContact.cs b/sources/Interop/Windows/Windows/um/IContact/IContact.cs
index 7c2e115ee2..6572b0653b 100644
--- a/sources/Interop/Windows/Windows/um/IContact/IContact.cs
+++ b/sources/Interop/Windows/Windows/um/IContact/IContact.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F941B671-BDA7-4F77-884A-F46462F226A7")]
[NativeTypeName("struct IContact : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IContact : IContact.Interface
+public unsafe partial struct IContact : IContact.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContact));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/IContact/IContactCollection.cs b/sources/Interop/Windows/Windows/um/IContact/IContactCollection.cs
index f6d356ed5a..860b758e6d 100644
--- a/sources/Interop/Windows/Windows/um/IContact/IContactCollection.cs
+++ b/sources/Interop/Windows/Windows/um/IContact/IContactCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B6AFA338-D779-11D9-8BDE-F66BAD1E3F3A")]
[NativeTypeName("struct IContactCollection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IContactCollection : IContactCollection.Interface
+public unsafe partial struct IContactCollection : IContactCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContactCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/IContact/IContactManager.cs b/sources/Interop/Windows/Windows/um/IContact/IContactManager.cs
index 45127dfb61..7bb287d2ae 100644
--- a/sources/Interop/Windows/Windows/um/IContact/IContactManager.cs
+++ b/sources/Interop/Windows/Windows/um/IContact/IContactManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("AD553D98-DEB1-474A-8E17-FC0C2075B738")]
[NativeTypeName("struct IContactManager : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IContactManager : IContactManager.Interface
+public unsafe partial struct IContactManager : IContactManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContactManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/IContact/IContactProperties.cs b/sources/Interop/Windows/Windows/um/IContact/IContactProperties.cs
index 0a5a2256b5..fb99ffbeca 100644
--- a/sources/Interop/Windows/Windows/um/IContact/IContactProperties.cs
+++ b/sources/Interop/Windows/Windows/um/IContact/IContactProperties.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("70DD27DD-5CBD-46E8-BEF0-23B6B346288F")]
[NativeTypeName("struct IContactProperties : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IContactProperties : IContactProperties.Interface
+public unsafe partial struct IContactProperties : IContactProperties.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContactProperties));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/IContact/IContactPropertyCollection.cs b/sources/Interop/Windows/Windows/um/IContact/IContactPropertyCollection.cs
index 3779f3901d..1a2ce6c250 100644
--- a/sources/Interop/Windows/Windows/um/IContact/IContactPropertyCollection.cs
+++ b/sources/Interop/Windows/Windows/um/IContact/IContactPropertyCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FFD3ADF8-FA64-4328-B1B6-2E0DB509CB3C")]
[NativeTypeName("struct IContactPropertyCollection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IContactPropertyCollection : IContactPropertyCollection.Interface
+public unsafe partial struct IContactPropertyCollection : IContactPropertyCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContactPropertyCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/IPExport/IP_INTERFACE_INFO.cs b/sources/Interop/Windows/Windows/um/IPExport/IP_INTERFACE_INFO.cs
index 57d65f88ba..273a6af7a2 100644
--- a/sources/Interop/Windows/Windows/um/IPExport/IP_INTERFACE_INFO.cs
+++ b/sources/Interop/Windows/Windows/um/IPExport/IP_INTERFACE_INFO.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _Adapter_e__FixedBuffer
{
public IP_ADAPTER_INDEX_MAP e0;
+ [UnscopedRef]
public ref IP_ADAPTER_INDEX_MAP this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref IP_ADAPTER_INDEX_MAP this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_LH.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_LH.cs
index 344ba6b120..41ff5edae5 100644
--- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_LH.cs
+++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_LH.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -152,42 +153,46 @@ public unsafe partial struct IP_ADAPTER_ADDRESSES_LH
public IP_ADAPTER_DNS_SUFFIX* FirstDnsSuffix;
///
+ [UnscopedRef]
public ref ulong Alignment
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.Alignment, 1));
+ return ref Anonymous1.Alignment;
}
}
///
+ [UnscopedRef]
public ref uint Length
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.Anonymous.Length, 1));
+ return ref Anonymous1.Anonymous.Length;
}
}
///
+ [UnscopedRef]
public ref uint IfIndex
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous1.Anonymous.IfIndex, 1));
+ return ref Anonymous1.Anonymous.IfIndex;
}
}
///
+ [UnscopedRef]
public ref uint Flags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous2.Flags, 1));
+ return ref Anonymous2.Flags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_XP.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_XP.cs
index c747206e1e..5c1131c591 100644
--- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_XP.cs
+++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ADDRESSES_XP.cs
@@ -3,6 +3,7 @@
// Ported from um/IPTypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -87,32 +88,35 @@ public unsafe partial struct IP_ADAPTER_ADDRESSES_XP
public IP_ADAPTER_PREFIX_XP* FirstPrefix;
///
+ [UnscopedRef]
public ref ulong Alignment
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Alignment, 1));
+ return ref Anonymous.Alignment;
}
}
///
+ [UnscopedRef]
public ref uint Length
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Length, 1));
+ return ref Anonymous.Anonymous.Length;
}
}
///
+ [UnscopedRef]
public ref uint IfIndex
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.IfIndex, 1));
+ return ref Anonymous.Anonymous.IfIndex;
}
}
diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ANYCAST_ADDRESS_XP.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ANYCAST_ADDRESS_XP.cs
index c7d0390e3b..3c51c93ba1 100644
--- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ANYCAST_ADDRESS_XP.cs
+++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_ANYCAST_ADDRESS_XP.cs
@@ -3,6 +3,7 @@
// Ported from um/IPTypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -23,32 +24,35 @@ public unsafe partial struct IP_ADAPTER_ANYCAST_ADDRESS_XP
public SOCKET_ADDRESS Address;
///
+ [UnscopedRef]
public ref ulong Alignment
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Alignment, 1));
+ return ref Anonymous.Alignment;
}
}
///
+ [UnscopedRef]
public ref uint Length
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Length, 1));
+ return ref Anonymous.Anonymous.Length;
}
}
///
+ [UnscopedRef]
public ref uint Flags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Flags, 1));
+ return ref Anonymous.Anonymous.Flags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_DNS_SERVER_ADDRESS_XP.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_DNS_SERVER_ADDRESS_XP.cs
index 7bf2304851..438597d0e3 100644
--- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_DNS_SERVER_ADDRESS_XP.cs
+++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_DNS_SERVER_ADDRESS_XP.cs
@@ -3,6 +3,7 @@
// Ported from um/IPTypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -23,32 +24,35 @@ public unsafe partial struct IP_ADAPTER_DNS_SERVER_ADDRESS_XP
public SOCKET_ADDRESS Address;
///
+ [UnscopedRef]
public ref ulong Alignment
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Alignment, 1));
+ return ref Anonymous.Alignment;
}
}
///
+ [UnscopedRef]
public ref uint Length
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Length, 1));
+ return ref Anonymous.Anonymous.Length;
}
}
///
+ [UnscopedRef]
public ref uint Reserved
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Reserved, 1));
+ return ref Anonymous.Anonymous.Reserved;
}
}
diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_GATEWAY_ADDRESS_LH.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_GATEWAY_ADDRESS_LH.cs
index 60e3a42938..a0b1c6d804 100644
--- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_GATEWAY_ADDRESS_LH.cs
+++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_GATEWAY_ADDRESS_LH.cs
@@ -3,6 +3,7 @@
// Ported from um/IPTypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -23,32 +24,35 @@ public unsafe partial struct IP_ADAPTER_GATEWAY_ADDRESS_LH
public SOCKET_ADDRESS Address;
///
+ [UnscopedRef]
public ref ulong Alignment
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Alignment, 1));
+ return ref Anonymous.Alignment;
}
}
///
+ [UnscopedRef]
public ref uint Length
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Length, 1));
+ return ref Anonymous.Anonymous.Length;
}
}
///
+ [UnscopedRef]
public ref uint Reserved
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Reserved, 1));
+ return ref Anonymous.Anonymous.Reserved;
}
}
diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_MULTICAST_ADDRESS_XP.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_MULTICAST_ADDRESS_XP.cs
index a236a28f9a..d0b47ca8da 100644
--- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_MULTICAST_ADDRESS_XP.cs
+++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_MULTICAST_ADDRESS_XP.cs
@@ -3,6 +3,7 @@
// Ported from um/IPTypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -23,32 +24,35 @@ public unsafe partial struct IP_ADAPTER_MULTICAST_ADDRESS_XP
public SOCKET_ADDRESS Address;
///
+ [UnscopedRef]
public ref ulong Alignment
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Alignment, 1));
+ return ref Anonymous.Alignment;
}
}
///
+ [UnscopedRef]
public ref uint Length
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Length, 1));
+ return ref Anonymous.Anonymous.Length;
}
}
///
+ [UnscopedRef]
public ref uint Flags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Flags, 1));
+ return ref Anonymous.Anonymous.Flags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_PREFIX_XP.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_PREFIX_XP.cs
index a0ead9617c..493b382f07 100644
--- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_PREFIX_XP.cs
+++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_PREFIX_XP.cs
@@ -3,6 +3,7 @@
// Ported from um/IPTypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -27,32 +28,35 @@ public unsafe partial struct IP_ADAPTER_PREFIX_XP
public uint PrefixLength;
///
+ [UnscopedRef]
public ref ulong Alignment
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Alignment, 1));
+ return ref Anonymous.Alignment;
}
}
///
+ [UnscopedRef]
public ref uint Length
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Length, 1));
+ return ref Anonymous.Anonymous.Length;
}
}
///
+ [UnscopedRef]
public ref uint Flags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Flags, 1));
+ return ref Anonymous.Anonymous.Flags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_UNICAST_ADDRESS_LH.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_UNICAST_ADDRESS_LH.cs
index 4e48eb9642..0c00566ee2 100644
--- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_UNICAST_ADDRESS_LH.cs
+++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_UNICAST_ADDRESS_LH.cs
@@ -3,6 +3,7 @@
// Ported from um/IPTypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -48,32 +49,35 @@ public unsafe partial struct IP_ADAPTER_UNICAST_ADDRESS_LH
public byte OnLinkPrefixLength;
///
+ [UnscopedRef]
public ref ulong Alignment
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Alignment, 1));
+ return ref Anonymous.Alignment;
}
}
///
+ [UnscopedRef]
public ref uint Length
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Length, 1));
+ return ref Anonymous.Anonymous.Length;
}
}
///
+ [UnscopedRef]
public ref uint Flags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Flags, 1));
+ return ref Anonymous.Anonymous.Flags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_UNICAST_ADDRESS_XP.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_UNICAST_ADDRESS_XP.cs
index 4d46f41a24..226caecab4 100644
--- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_UNICAST_ADDRESS_XP.cs
+++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_UNICAST_ADDRESS_XP.cs
@@ -3,6 +3,7 @@
// Ported from um/IPTypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -44,32 +45,35 @@ public unsafe partial struct IP_ADAPTER_UNICAST_ADDRESS_XP
public uint LeaseLifetime;
///
+ [UnscopedRef]
public ref ulong Alignment
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Alignment, 1));
+ return ref Anonymous.Alignment;
}
}
///
+ [UnscopedRef]
public ref uint Length
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Length, 1));
+ return ref Anonymous.Anonymous.Length;
}
}
///
+ [UnscopedRef]
public ref uint Flags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Flags, 1));
+ return ref Anonymous.Anonymous.Flags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_WINS_SERVER_ADDRESS_LH.cs b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_WINS_SERVER_ADDRESS_LH.cs
index ac490611f9..d4fe7d679f 100644
--- a/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_WINS_SERVER_ADDRESS_LH.cs
+++ b/sources/Interop/Windows/Windows/um/IPTypes/IP_ADAPTER_WINS_SERVER_ADDRESS_LH.cs
@@ -3,6 +3,7 @@
// Ported from um/IPTypes.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -23,32 +24,35 @@ public unsafe partial struct IP_ADAPTER_WINS_SERVER_ADDRESS_LH
public SOCKET_ADDRESS Address;
///
+ [UnscopedRef]
public ref ulong Alignment
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Alignment, 1));
+ return ref Anonymous.Alignment;
}
}
///
+ [UnscopedRef]
public ref uint Length
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Length, 1));
+ return ref Anonymous.Anonymous.Length;
}
}
///
+ [UnscopedRef]
public ref uint Reserved
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Reserved, 1));
+ return ref Anonymous.Anonymous.Reserved;
}
}
diff --git a/sources/Interop/Windows/Windows/um/ImageTranscode/ITranscodeImage.cs b/sources/Interop/Windows/Windows/um/ImageTranscode/ITranscodeImage.cs
index 2c43d4c0c7..c3bd53d30a 100644
--- a/sources/Interop/Windows/Windows/um/ImageTranscode/ITranscodeImage.cs
+++ b/sources/Interop/Windows/Windows/um/ImageTranscode/ITranscodeImage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BAE86DDD-DC11-421C-B7AB-CC55D1D65C44")]
[NativeTypeName("struct ITranscodeImage : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITranscodeImage : ITranscodeImage.Interface
+public unsafe partial struct ITranscodeImage : ITranscodeImage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITranscodeImage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ImageTranscode/ImageTranscode.cs b/sources/Interop/Windows/Windows/um/ImageTranscode/ImageTranscode.cs
index 20bb31689e..6c485959e2 100644
--- a/sources/Interop/Windows/Windows/um/ImageTranscode/ImageTranscode.cs
+++ b/sources/Interop/Windows/Windows/um/ImageTranscode/ImageTranscode.cs
@@ -3,12 +3,16 @@
// Ported from um/ImageTranscode.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("17B75166-928F-417D-9685-64AA135565C1")]
-public partial struct ImageTranscode
+public unsafe partial struct ImageTranscode : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ImageTranscode));
}
diff --git a/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkCommitRequestHandler.cs b/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkCommitRequestHandler.cs
index 74aa3b2d57..305108a4e9 100644
--- a/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkCommitRequestHandler.cs
+++ b/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkCommitRequestHandler.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IInkCommitRequestHandler : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IInkCommitRequestHandler : IInkCommitRequestHandler.Interface
+public unsafe partial struct IInkCommitRequestHandler : IInkCommitRequestHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInkCommitRequestHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkDesktopHost.cs b/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkDesktopHost.cs
index 2c2e37f5d7..2f5ffc931f 100644
--- a/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkDesktopHost.cs
+++ b/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkDesktopHost.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IInkDesktopHost : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IInkDesktopHost : IInkDesktopHost.Interface
+public unsafe partial struct IInkDesktopHost : IInkDesktopHost.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInkDesktopHost));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkHostWorkItem.cs b/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkHostWorkItem.cs
index 3c54c808e9..90a4691856 100644
--- a/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkHostWorkItem.cs
+++ b/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkHostWorkItem.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IInkHostWorkItem : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IInkHostWorkItem : IInkHostWorkItem.Interface
+public unsafe partial struct IInkHostWorkItem : IInkHostWorkItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInkHostWorkItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkPresenterDesktop.cs b/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkPresenterDesktop.cs
index e216ce5bd7..7483025537 100644
--- a/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkPresenterDesktop.cs
+++ b/sources/Interop/Windows/Windows/um/InkPresenterDesktop/IInkPresenterDesktop.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IInkPresenterDesktop : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct IInkPresenterDesktop : IInkPresenterDesktop.Interface
+public unsafe partial struct IInkPresenterDesktop : IInkPresenterDesktop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInkPresenterDesktop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/InkPresenterDesktop/InkDesktopHost.cs b/sources/Interop/Windows/Windows/um/InkPresenterDesktop/InkDesktopHost.cs
index c3fb2121ed..a94e9948f0 100644
--- a/sources/Interop/Windows/Windows/um/InkPresenterDesktop/InkDesktopHost.cs
+++ b/sources/Interop/Windows/Windows/um/InkPresenterDesktop/InkDesktopHost.cs
@@ -3,12 +3,16 @@
// Ported from um/InkPresenterDesktop.h and um/InkPresenterDesktop_i.c in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("062584A6-F830-4BDC-A4D2-0A10AB062B1D")]
-public partial struct InkDesktopHost
+public unsafe partial struct InkDesktopHost : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_InkDesktopHost));
}
diff --git a/sources/Interop/Windows/Windows/um/InputScope/ITfInputScope.cs b/sources/Interop/Windows/Windows/um/InputScope/ITfInputScope.cs
index 073c06b72f..391062f2a5 100644
--- a/sources/Interop/Windows/Windows/um/InputScope/ITfInputScope.cs
+++ b/sources/Interop/Windows/Windows/um/InputScope/ITfInputScope.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FDE1EAEE-6924-4CDF-91E7-DA38CFF5559D")]
[NativeTypeName("struct ITfInputScope : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITfInputScope : ITfInputScope.Interface
+public unsafe partial struct ITfInputScope : ITfInputScope.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITfInputScope));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/InputScope/ITfInputScope2.cs b/sources/Interop/Windows/Windows/um/InputScope/ITfInputScope2.cs
index 5ac0b0658f..ae81dccc84 100644
--- a/sources/Interop/Windows/Windows/um/InputScope/ITfInputScope2.cs
+++ b/sources/Interop/Windows/Windows/um/InputScope/ITfInputScope2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("5731EAA0-6BC2-4681-A532-92FBB74D7C41")]
[NativeTypeName("struct ITfInputScope2 : ITfInputScope")]
[NativeInheritance("ITfInputScope")]
-public unsafe partial struct ITfInputScope2 : ITfInputScope2.Interface
+public unsafe partial struct ITfInputScope2 : ITfInputScope2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITfInputScope2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/IntShCut/IUniformResourceLocatorA.cs b/sources/Interop/Windows/Windows/um/IntShCut/IUniformResourceLocatorA.cs
index a88348bffe..83e5244648 100644
--- a/sources/Interop/Windows/Windows/um/IntShCut/IUniformResourceLocatorA.cs
+++ b/sources/Interop/Windows/Windows/um/IntShCut/IUniformResourceLocatorA.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FBF23B80-E3F0-101B-8488-00AA003E56F8")]
[NativeTypeName("struct IUniformResourceLocatorA : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUniformResourceLocatorA : IUniformResourceLocatorA.Interface
+public unsafe partial struct IUniformResourceLocatorA : IUniformResourceLocatorA.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUniformResourceLocatorA));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/IntShCut/IUniformResourceLocatorW.cs b/sources/Interop/Windows/Windows/um/IntShCut/IUniformResourceLocatorW.cs
index 46ed29bbe9..8a6ae05f6e 100644
--- a/sources/Interop/Windows/Windows/um/IntShCut/IUniformResourceLocatorW.cs
+++ b/sources/Interop/Windows/Windows/um/IntShCut/IUniformResourceLocatorW.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CABB0DA0-DA57-11CF-9974-0020AFD79762")]
[NativeTypeName("struct IUniformResourceLocatorW : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUniformResourceLocatorW : IUniformResourceLocatorW.Interface
+public unsafe partial struct IUniformResourceLocatorW : IUniformResourceLocatorW.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUniformResourceLocatorW));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/IsolatedAppLauncher/IIsolatedAppLauncher.cs b/sources/Interop/Windows/Windows/um/IsolatedAppLauncher/IIsolatedAppLauncher.cs
index e05b4c57b0..9c53861911 100644
--- a/sources/Interop/Windows/Windows/um/IsolatedAppLauncher/IIsolatedAppLauncher.cs
+++ b/sources/Interop/Windows/Windows/um/IsolatedAppLauncher/IIsolatedAppLauncher.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F686878F-7B42-4CC4-96FB-F4F3B6E3D24D")]
[NativeTypeName("struct IIsolatedAppLauncher : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IIsolatedAppLauncher : IIsolatedAppLauncher.Interface
+public unsafe partial struct IIsolatedAppLauncher : IIsolatedAppLauncher.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IIsolatedAppLauncher));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/IsolatedAppLauncher/IsolatedAppLauncher.cs b/sources/Interop/Windows/Windows/um/IsolatedAppLauncher/IsolatedAppLauncher.cs
index 0a56332ef4..a715d8b502 100644
--- a/sources/Interop/Windows/Windows/um/IsolatedAppLauncher/IsolatedAppLauncher.cs
+++ b/sources/Interop/Windows/Windows/um/IsolatedAppLauncher/IsolatedAppLauncher.cs
@@ -3,12 +3,16 @@
// Ported from um/IsolatedAppLauncher.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("BC812430-E75E-4FD1-9641-1F9F1E2D9A1F")]
-public partial struct IsolatedAppLauncher
+public unsafe partial struct IsolatedAppLauncher : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_IsolatedAppLauncher));
}
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/AccClientDocMgr.cs b/sources/Interop/Windows/Windows/um/MSAAText/AccClientDocMgr.cs
index bc3ebd40df..7a2ff22161 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/AccClientDocMgr.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/AccClientDocMgr.cs
@@ -3,12 +3,16 @@
// Ported from um/MSAAText.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("FC48CC30-4F3E-4FA1-803B-AD0E196A83B1")]
-public partial struct AccClientDocMgr
+public unsafe partial struct AccClientDocMgr : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AccClientDocMgr));
}
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/AccDictionary.cs b/sources/Interop/Windows/Windows/um/MSAAText/AccDictionary.cs
index e254bd0a87..8728008db3 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/AccDictionary.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/AccDictionary.cs
@@ -3,12 +3,16 @@
// Ported from um/MSAAText.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("6572EE16-5FE5-4331-BB6D-76A49C56E423")]
-public partial struct AccDictionary
+public unsafe partial struct AccDictionary : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AccDictionary));
}
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/AccServerDocMgr.cs b/sources/Interop/Windows/Windows/um/MSAAText/AccServerDocMgr.cs
index b12ee767ed..4878ce35d3 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/AccServerDocMgr.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/AccServerDocMgr.cs
@@ -3,12 +3,16 @@
// Ported from um/MSAAText.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("6089A37E-EB8A-482D-BD6F-F9F46904D16D")]
-public partial struct AccServerDocMgr
+public unsafe partial struct AccServerDocMgr : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AccServerDocMgr));
}
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/AccStore.cs b/sources/Interop/Windows/Windows/um/MSAAText/AccStore.cs
index 71ee51649f..37cc7dab2a 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/AccStore.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/AccStore.cs
@@ -3,12 +3,16 @@
// Ported from um/MSAAText.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("5440837F-4BFF-4AE5-A1B1-7722ECC6332A")]
-public partial struct AccStore
+public unsafe partial struct AccStore : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AccStore));
}
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/DocWrap.cs b/sources/Interop/Windows/Windows/um/MSAAText/DocWrap.cs
index 6f2eba675a..d5419d3046 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/DocWrap.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/DocWrap.cs
@@ -3,12 +3,16 @@
// Ported from um/MSAAText.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("BF426F7E-7A5E-44D6-830C-A390EA9462A3")]
-public partial struct DocWrap
+public unsafe partial struct DocWrap : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DocWrap));
}
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/IAccClientDocMgr.cs b/sources/Interop/Windows/Windows/um/MSAAText/IAccClientDocMgr.cs
index 66d0d5380d..d3db7d34c5 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/IAccClientDocMgr.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/IAccClientDocMgr.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4C896039-7B6D-49E6-A8C1-45116A98292B")]
[NativeTypeName("struct IAccClientDocMgr : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAccClientDocMgr : IAccClientDocMgr.Interface
+public unsafe partial struct IAccClientDocMgr : IAccClientDocMgr.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAccClientDocMgr));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/IAccDictionary.cs b/sources/Interop/Windows/Windows/um/MSAAText/IAccDictionary.cs
index 9ff56c74c4..58432a78a8 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/IAccDictionary.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/IAccDictionary.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1DC4CB5F-D737-474D-ADE9-5CCFC9BC1CC9")]
[NativeTypeName("struct IAccDictionary : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAccDictionary : IAccDictionary.Interface
+public unsafe partial struct IAccDictionary : IAccDictionary.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAccDictionary));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/IAccServerDocMgr.cs b/sources/Interop/Windows/Windows/um/MSAAText/IAccServerDocMgr.cs
index 5d41895b91..660a466b6a 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/IAccServerDocMgr.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/IAccServerDocMgr.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("AD7C73CF-6DD5-4855-ABC2-B04BAD5B9153")]
[NativeTypeName("struct IAccServerDocMgr : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAccServerDocMgr : IAccServerDocMgr.Interface
+public unsafe partial struct IAccServerDocMgr : IAccServerDocMgr.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAccServerDocMgr));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/IAccStore.cs b/sources/Interop/Windows/Windows/um/MSAAText/IAccStore.cs
index 4dc6707d82..056b397df4 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/IAccStore.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/IAccStore.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E2CD4A63-2B72-4D48-B739-95E4765195BA")]
[NativeTypeName("struct IAccStore : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAccStore : IAccStore.Interface
+public unsafe partial struct IAccStore : IAccStore.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAccStore));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/IClonableWrapper.cs b/sources/Interop/Windows/Windows/um/MSAAText/IClonableWrapper.cs
index dc76cfbefd..f18e6dea31 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/IClonableWrapper.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/IClonableWrapper.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B33E75FF-E84C-4DCA-A25C-33B8DC003374")]
[NativeTypeName("struct IClonableWrapper : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IClonableWrapper : IClonableWrapper.Interface
+public unsafe partial struct IClonableWrapper : IClonableWrapper.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IClonableWrapper));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/ICoCreateLocally.cs b/sources/Interop/Windows/Windows/um/MSAAText/ICoCreateLocally.cs
index 8f907a82af..3c73381907 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/ICoCreateLocally.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/ICoCreateLocally.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("03DE00AA-F272-41E3-99CB-03C5E8114EA0")]
[NativeTypeName("struct ICoCreateLocally : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICoCreateLocally : ICoCreateLocally.Interface
+public unsafe partial struct ICoCreateLocally : ICoCreateLocally.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICoCreateLocally));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/ICoCreatedLocally.cs b/sources/Interop/Windows/Windows/um/MSAAText/ICoCreatedLocally.cs
index 4196b71f46..4bdc42e660 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/ICoCreatedLocally.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/ICoCreatedLocally.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0A53EB6C-1908-4742-8CFF-2CEE2E93F94C")]
[NativeTypeName("struct ICoCreatedLocally : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICoCreatedLocally : ICoCreatedLocally.Interface
+public unsafe partial struct ICoCreatedLocally : ICoCreatedLocally.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICoCreatedLocally));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/IDocWrap.cs b/sources/Interop/Windows/Windows/um/MSAAText/IDocWrap.cs
index efac807805..45161d29a8 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/IDocWrap.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/IDocWrap.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DCD285FE-0BE0-43BD-99C9-AAAEC513C555")]
[NativeTypeName("struct IDocWrap : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDocWrap : IDocWrap.Interface
+public unsafe partial struct IDocWrap : IDocWrap.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDocWrap));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/IInternalDocWrap.cs b/sources/Interop/Windows/Windows/um/MSAAText/IInternalDocWrap.cs
index 81e29d1821..a20ef750fd 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/IInternalDocWrap.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/IInternalDocWrap.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E1AA6466-9DB4-40BA-BE03-77C38E8E60B2")]
[NativeTypeName("struct IInternalDocWrap : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInternalDocWrap : IInternalDocWrap.Interface
+public unsafe partial struct IInternalDocWrap : IInternalDocWrap.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInternalDocWrap));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreACPEx.cs b/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreACPEx.cs
index b98a0932a3..07b4760a1a 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreACPEx.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreACPEx.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A2DE3BC2-3D8E-11D3-81A9-F753FBE61A00")]
[NativeTypeName("struct ITextStoreACPEx : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITextStoreACPEx : ITextStoreACPEx.Interface
+public unsafe partial struct ITextStoreACPEx : ITextStoreACPEx.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITextStoreACPEx));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreACPSinkEx.cs b/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreACPSinkEx.cs
index 8f4f81894d..73fe30bd45 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreACPSinkEx.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreACPSinkEx.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2BDF9464-41E2-43E3-950C-A6865BA25CD4")]
[NativeTypeName("struct ITextStoreACPSinkEx : ITextStoreACPSink")]
[NativeInheritance("ITextStoreACPSink")]
-public unsafe partial struct ITextStoreACPSinkEx : ITextStoreACPSinkEx.Interface
+public unsafe partial struct ITextStoreACPSinkEx : ITextStoreACPSinkEx.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITextStoreACPSinkEx));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreAnchorEx.cs b/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreAnchorEx.cs
index 521124152d..f5c5a0dcf7 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreAnchorEx.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreAnchorEx.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A2DE3BC1-3D8E-11D3-81A9-F753FBE61A00")]
[NativeTypeName("struct ITextStoreAnchorEx : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITextStoreAnchorEx : ITextStoreAnchorEx.Interface
+public unsafe partial struct ITextStoreAnchorEx : ITextStoreAnchorEx.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITextStoreAnchorEx));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreSinkAnchorEx.cs b/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreSinkAnchorEx.cs
index 87176f07e9..b29e47bbdc 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreSinkAnchorEx.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/ITextStoreSinkAnchorEx.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("25642426-028D-4474-977B-111BB114FE3E")]
[NativeTypeName("struct ITextStoreSinkAnchorEx : ITextStoreAnchorSink")]
[NativeInheritance("ITextStoreAnchorSink")]
-public unsafe partial struct ITextStoreSinkAnchorEx : ITextStoreSinkAnchorEx.Interface
+public unsafe partial struct ITextStoreSinkAnchorEx : ITextStoreSinkAnchorEx.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITextStoreSinkAnchorEx));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/ITfMSAAControl.cs b/sources/Interop/Windows/Windows/um/MSAAText/ITfMSAAControl.cs
index 1b765bfd62..35988409ce 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/ITfMSAAControl.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/ITfMSAAControl.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B5F8FB3B-393F-4F7C-84CB-504924C2705A")]
[NativeTypeName("struct ITfMSAAControl : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITfMSAAControl : ITfMSAAControl.Interface
+public unsafe partial struct ITfMSAAControl : ITfMSAAControl.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITfMSAAControl));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/IVersionInfo.cs b/sources/Interop/Windows/Windows/um/MSAAText/IVersionInfo.cs
index f901e22958..c1c6317b13 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/IVersionInfo.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/IVersionInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("401518EC-DB00-4611-9B29-2A0E4B9AFA85")]
[NativeTypeName("struct IVersionInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IVersionInfo : IVersionInfo.Interface
+public unsafe partial struct IVersionInfo : IVersionInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVersionInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MSAAText/MSAAControl.cs b/sources/Interop/Windows/Windows/um/MSAAText/MSAAControl.cs
index 486307fb0c..8a30cf134b 100644
--- a/sources/Interop/Windows/Windows/um/MSAAText/MSAAControl.cs
+++ b/sources/Interop/Windows/Windows/um/MSAAText/MSAAControl.cs
@@ -3,12 +3,16 @@
// Ported from um/MSAAText.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("08CD963F-7A3E-4F5C-9BD8-D692BB043C5B")]
-public partial struct MSAAControl
+public unsafe partial struct MSAAControl : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_MSAAControl));
}
diff --git a/sources/Interop/Windows/Windows/um/MSChapp/ENCRYPTED_LM_OWF_PASSWORD.cs b/sources/Interop/Windows/Windows/um/MSChapp/ENCRYPTED_LM_OWF_PASSWORD.cs
index 720e8ea421..e58f3aa455 100644
--- a/sources/Interop/Windows/Windows/um/MSChapp/ENCRYPTED_LM_OWF_PASSWORD.cs
+++ b/sources/Interop/Windows/Windows/um/MSChapp/ENCRYPTED_LM_OWF_PASSWORD.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,6 +23,7 @@ public partial struct _data_e__FixedBuffer
public CYPHER_BLOCK e0;
public CYPHER_BLOCK e1;
+ [UnscopedRef]
public ref CYPHER_BLOCK this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -32,6 +34,7 @@ public ref CYPHER_BLOCK this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 2);
}
}
diff --git a/sources/Interop/Windows/Windows/um/MSChapp/LM_OWF_PASSWORD.cs b/sources/Interop/Windows/Windows/um/MSChapp/LM_OWF_PASSWORD.cs
index 4113e50e0f..39622af520 100644
--- a/sources/Interop/Windows/Windows/um/MSChapp/LM_OWF_PASSWORD.cs
+++ b/sources/Interop/Windows/Windows/um/MSChapp/LM_OWF_PASSWORD.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -22,6 +23,7 @@ public partial struct _data_e__FixedBuffer
public CYPHER_BLOCK e0;
public CYPHER_BLOCK e1;
+ [UnscopedRef]
public ref CYPHER_BLOCK this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -32,6 +34,7 @@ public ref CYPHER_BLOCK this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 2);
}
}
diff --git a/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrEnumItems.cs b/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrEnumItems.cs
index 7935d870b1..b89ed80db9 100644
--- a/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrEnumItems.cs
+++ b/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrEnumItems.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6295DF2A-35EE-11D1-8707-00C04FD93327")]
[NativeTypeName("struct ISyncMgrEnumItems : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrEnumItems : ISyncMgrEnumItems.Interface
+public unsafe partial struct ISyncMgrEnumItems : ISyncMgrEnumItems.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrEnumItems));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrRegister.cs b/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrRegister.cs
index 7d5471ec94..8e69f81ee5 100644
--- a/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrRegister.cs
+++ b/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrRegister.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6295DF42-35EE-11D1-8707-00C04FD93327")]
[NativeTypeName("struct ISyncMgrRegister : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrRegister : ISyncMgrRegister.Interface
+public unsafe partial struct ISyncMgrRegister : ISyncMgrRegister.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrRegister));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronize.cs b/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronize.cs
index 141f7736d2..dae6d7bbdd 100644
--- a/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronize.cs
+++ b/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronize.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6295DF40-35EE-11D1-8707-00C04FD93327")]
[NativeTypeName("struct ISyncMgrSynchronize : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrSynchronize : ISyncMgrSynchronize.Interface
+public unsafe partial struct ISyncMgrSynchronize : ISyncMgrSynchronize.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrSynchronize));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronizeCallback.cs b/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronizeCallback.cs
index e09b7c8dde..44cd792a3d 100644
--- a/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronizeCallback.cs
+++ b/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronizeCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6295DF41-35EE-11D1-8707-00C04FD93327")]
[NativeTypeName("struct ISyncMgrSynchronizeCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrSynchronizeCallback : ISyncMgrSynchronizeCallback.Interface
+public unsafe partial struct ISyncMgrSynchronizeCallback : ISyncMgrSynchronizeCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrSynchronizeCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronizeInvoke.cs b/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronizeInvoke.cs
index 090b2935a0..65af4e25f8 100644
--- a/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronizeInvoke.cs
+++ b/sources/Interop/Windows/Windows/um/Mobsync/ISyncMgrSynchronizeInvoke.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6295DF2C-35EE-11D1-8707-00C04FD93327")]
[NativeTypeName("struct ISyncMgrSynchronizeInvoke : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrSynchronizeInvoke : ISyncMgrSynchronizeInvoke.Interface
+public unsafe partial struct ISyncMgrSynchronizeInvoke : ISyncMgrSynchronizeInvoke.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrSynchronizeInvoke));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Mobsync/SyncMgr.cs b/sources/Interop/Windows/Windows/um/Mobsync/SyncMgr.cs
index 37a7300357..199babb9ae 100644
--- a/sources/Interop/Windows/Windows/um/Mobsync/SyncMgr.cs
+++ b/sources/Interop/Windows/Windows/um/Mobsync/SyncMgr.cs
@@ -3,12 +3,16 @@
// Ported from um/Mobsync.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("6295DF27-35EE-11D1-8707-00C04FD93327")]
-public partial struct SyncMgr
+public unsafe partial struct SyncMgr : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SyncMgr));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ApplicationCache.cs b/sources/Interop/Windows/Windows/um/MsHTML/ApplicationCache.cs
index 03dc02bbe3..e16e833725 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ApplicationCache.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ApplicationCache.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510829-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct ApplicationCache
+public unsafe partial struct ApplicationCache : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ApplicationCache));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/BlockFormats.cs b/sources/Interop/Windows/Windows/um/MsHTML/BlockFormats.cs
index 211ab3c8ce..b4c5be6738 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/BlockFormats.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/BlockFormats.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F831-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct BlockFormats
+public unsafe partial struct BlockFormats : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_BlockFormats));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/CClientCaps.cs b/sources/Interop/Windows/Windows/um/MsHTML/CClientCaps.cs
index c8e7818b46..e6400fc08d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/CClientCaps.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/CClientCaps.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("7E8BC44E-AEFF-11D1-89C2-00C04FB6BFC4")]
-public partial struct CClientCaps
+public unsafe partial struct CClientCaps : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CClientCaps));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/CEventObj.cs b/sources/Interop/Windows/Windows/um/MsHTML/CEventObj.cs
index 279515a985..6b12ae2543 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/CEventObj.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/CEventObj.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F48A-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct CEventObj
+public unsafe partial struct CEventObj : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CEventObj));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/CMimeTypes.cs b/sources/Interop/Windows/Windows/um/MsHTML/CMimeTypes.cs
index 3404684e67..8cfe7e8672 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/CMimeTypes.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/CMimeTypes.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F3FE-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct CMimeTypes
+public unsafe partial struct CMimeTypes : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CMimeTypes));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/COpsProfile.cs b/sources/Interop/Windows/Windows/um/MsHTML/COpsProfile.cs
index 28fec2b6d1..22615fa3e6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/COpsProfile.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/COpsProfile.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F402-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct COpsProfile
+public unsafe partial struct COpsProfile : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_COpsProfile));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/CPlugins.cs b/sources/Interop/Windows/Windows/um/MsHTML/CPlugins.cs
index 975ef458b3..e3ae922b2a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/CPlugins.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/CPlugins.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F3FF-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct CPlugins
+public unsafe partial struct CPlugins : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CPlugins));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/CPrintManagerTemplatePrinter.cs b/sources/Interop/Windows/Windows/um/MsHTML/CPrintManagerTemplatePrinter.cs
index 5cb9dda086..3fbb95c68f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/CPrintManagerTemplatePrinter.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/CPrintManagerTemplatePrinter.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("63619F54-9D71-4C23-A08D-50D7F18DB2E9")]
-public partial struct CPrintManagerTemplatePrinter
+public unsafe partial struct CPrintManagerTemplatePrinter : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CPrintManagerTemplatePrinter));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/CTemplatePrinter.cs b/sources/Interop/Windows/Windows/um/MsHTML/CTemplatePrinter.cs
index 1bf0953de3..5e45f035c0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/CTemplatePrinter.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/CTemplatePrinter.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F6B3-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct CTemplatePrinter
+public unsafe partial struct CTemplatePrinter : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CTemplatePrinter));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/CanvasGradient.cs b/sources/Interop/Windows/Windows/um/MsHTML/CanvasGradient.cs
index 0abe98aa41..945b3751ac 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/CanvasGradient.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/CanvasGradient.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510715-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct CanvasGradient
+public unsafe partial struct CanvasGradient : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CanvasGradient));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/CanvasImageData.cs b/sources/Interop/Windows/Windows/um/MsHTML/CanvasImageData.cs
index 17036e6c7f..4a9c34040b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/CanvasImageData.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/CanvasImageData.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051071B-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct CanvasImageData
+public unsafe partial struct CanvasImageData : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CanvasImageData));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/CanvasPattern.cs b/sources/Interop/Windows/Windows/um/MsHTML/CanvasPattern.cs
index 8b175a89d1..4e860d78bd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/CanvasPattern.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/CanvasPattern.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510717-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct CanvasPattern
+public unsafe partial struct CanvasPattern : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CanvasPattern));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/CanvasRenderingContext2D.cs b/sources/Interop/Windows/Windows/um/MsHTML/CanvasRenderingContext2D.cs
index 27e2bd1659..07cdc27929 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/CanvasRenderingContext2D.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/CanvasRenderingContext2D.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510700-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct CanvasRenderingContext2D
+public unsafe partial struct CanvasRenderingContext2D : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CanvasRenderingContext2D));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/CanvasTextMetrics.cs b/sources/Interop/Windows/Windows/um/MsHTML/CanvasTextMetrics.cs
index dacb4b9170..25769323b3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/CanvasTextMetrics.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/CanvasTextMetrics.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510719-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct CanvasTextMetrics
+public unsafe partial struct CanvasTextMetrics : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CanvasTextMetrics));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMBeforeUnloadEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMBeforeUnloadEvent.cs
index 17f031fadb..2b9e4464d8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMBeforeUnloadEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMBeforeUnloadEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510764-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMBeforeUnloadEvent
+public unsafe partial struct DOMBeforeUnloadEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMBeforeUnloadEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMChildrenCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMChildrenCollection.cs
index e0299b6a49..3152bfe9f1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMChildrenCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMChildrenCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F5AA-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMChildrenCollection
+public unsafe partial struct DOMChildrenCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMChildrenCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMCloseEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMCloseEvent.cs
index 489ed120ee..ff8237a963 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMCloseEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMCloseEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510800-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMCloseEvent
+public unsafe partial struct DOMCloseEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMCloseEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMCompositionEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMCompositionEvent.cs
index 15fbd07ab8..591623d449 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMCompositionEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMCompositionEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106D9-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMCompositionEvent
+public unsafe partial struct DOMCompositionEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMCompositionEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMCustomEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMCustomEvent.cs
index e34a0215c7..7ab855df97 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMCustomEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMCustomEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106DF-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMCustomEvent
+public unsafe partial struct DOMCustomEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMCustomEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMDocumentType.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMDocumentType.cs
index bb36374368..3d3d4ee758 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMDocumentType.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMDocumentType.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510739-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMDocumentType
+public unsafe partial struct DOMDocumentType : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMDocumentType));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMDragEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMDragEvent.cs
index e7702593ff..fbcc34f2a2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMDragEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMDragEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510762-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMDragEvent
+public unsafe partial struct DOMDragEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMDragEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMEvent.cs
index 5edfd0c282..765d66e23c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305104BB-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMEvent
+public unsafe partial struct DOMEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMException.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMException.cs
index 1a2df8f201..4aeb63af4e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMException.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051072C-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMException
+public unsafe partial struct DOMException : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMException));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMFocusEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMFocusEvent.cs
index fd78895246..d5cb07891e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMFocusEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMFocusEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106CD-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMFocusEvent
+public unsafe partial struct DOMFocusEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMFocusEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMKeyboardEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMKeyboardEvent.cs
index d08bcc4dde..e66bb4a468 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMKeyboardEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMKeyboardEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106D7-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMKeyboardEvent
+public unsafe partial struct DOMKeyboardEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMKeyboardEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMMSAnimationEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMMSAnimationEvent.cs
index a51b99fca9..cf50c8b8e7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMMSAnimationEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMMSAnimationEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305107B8-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMMSAnimationEvent
+public unsafe partial struct DOMMSAnimationEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMMSAnimationEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMMSManipulationEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMMSManipulationEvent.cs
index 7b18425df9..109f97db2f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMMSManipulationEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMMSManipulationEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510817-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMMSManipulationEvent
+public unsafe partial struct DOMMSManipulationEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMMSManipulationEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMMSTransitionEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMMSTransitionEvent.cs
index 3fd4b5ac0e..bcd36327f7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMMSTransitionEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMMSTransitionEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305107B6-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMMSTransitionEvent
+public unsafe partial struct DOMMSTransitionEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMMSTransitionEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMMessageEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMMessageEvent.cs
index 07882a06ad..53ff3a6b06 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMMessageEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMMessageEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510721-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMMessageEvent
+public unsafe partial struct DOMMessageEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMMessageEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMMouseEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMMouseEvent.cs
index 46af49b1ad..0f78cc9b50 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMMouseEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMMouseEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106CF-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMMouseEvent
+public unsafe partial struct DOMMouseEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMMouseEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMMouseWheelEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMMouseWheelEvent.cs
index 31adb579b4..ae62f3a3b3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMMouseWheelEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMMouseWheelEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106D1-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMMouseWheelEvent
+public unsafe partial struct DOMMouseWheelEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMMouseWheelEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMMutationEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMMutationEvent.cs
index 07aa981e99..f34c9fa646 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMMutationEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMMutationEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106DB-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMMutationEvent
+public unsafe partial struct DOMMutationEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMMutationEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMParser.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMParser.cs
index 73e549d519..e064a0c812 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMParser.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMParser.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510782-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMParser
+public unsafe partial struct DOMParser : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMParser));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMParserFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMParserFactory.cs
index fe7ae1d94b..b3e0576a10 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMParserFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMParserFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510784-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMParserFactory
+public unsafe partial struct DOMParserFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMParserFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMProcessingInstruction.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMProcessingInstruction.cs
index daa237e72a..97039d0fb8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMProcessingInstruction.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMProcessingInstruction.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510743-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMProcessingInstruction
+public unsafe partial struct DOMProcessingInstruction : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMProcessingInstruction));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMProgressEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMProgressEvent.cs
index 3fe6558e11..03c7c671d5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMProgressEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMProgressEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051071F-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMProgressEvent
+public unsafe partial struct DOMProgressEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMProgressEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMSiteModeEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMSiteModeEvent.cs
index a18620ae34..67ddd68dfb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMSiteModeEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMSiteModeEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510766-98B6-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMSiteModeEvent
+public unsafe partial struct DOMSiteModeEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMSiteModeEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMStorageEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMStorageEvent.cs
index 6affb77c9f..d759f7ea77 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMStorageEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMStorageEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510723-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMStorageEvent
+public unsafe partial struct DOMStorageEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMStorageEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMTextEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMTextEvent.cs
index 51e42e8596..088e378fc9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMTextEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMTextEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106D5-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMTextEvent
+public unsafe partial struct DOMTextEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMTextEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMUIEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMUIEvent.cs
index 2be0770c6d..499942da24 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMUIEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMUIEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106CB-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMUIEvent
+public unsafe partial struct DOMUIEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMUIEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DOMWheelEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DOMWheelEvent.cs
index 188e723737..c4bcf956f2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DOMWheelEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DOMWheelEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106D3-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct DOMWheelEvent
+public unsafe partial struct DOMWheelEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DOMWheelEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DWebBridgeEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/DWebBridgeEvents.cs
index ae347ed3f7..dc345199c3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DWebBridgeEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DWebBridgeEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A6D897FF-0A95-11D1-B0BA-006008166E11")]
[NativeTypeName("struct DWebBridgeEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DWebBridgeEvents : DWebBridgeEvents.Interface
+public unsafe partial struct DWebBridgeEvents : DWebBridgeEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DWebBridgeEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispApplicationCache.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispApplicationCache.cs
index 6f83a52262..3bd1147301 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispApplicationCache.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispApplicationCache.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900E4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispApplicationCache : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispApplicationCache : DispApplicationCache.Interface
+public unsafe partial struct DispApplicationCache : DispApplicationCache.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispApplicationCache));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispCEventObj.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispCEventObj.cs
index 456816443e..06743bd347 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispCEventObj.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispCEventObj.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F558-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispCEventObj : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispCEventObj : DispCEventObj.Interface
+public unsafe partial struct DispCEventObj : DispCEventObj.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispCEventObj));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispCPlugins.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispCPlugins.cs
index e35e53ed18..6f7b0321bc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispCPlugins.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispCPlugins.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F54A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispCPlugins : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispCPlugins : DispCPlugins.Interface
+public unsafe partial struct DispCPlugins : DispCPlugins.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispCPlugins));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispCPrintManagerTemplatePrinter.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispCPrintManagerTemplatePrinter.cs
index fc72cb3b63..dee4e14c33 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispCPrintManagerTemplatePrinter.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispCPrintManagerTemplatePrinter.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900E9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispCPrintManagerTemplatePrinter : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispCPrintManagerTemplatePrinter : DispCPrintManagerTemplatePrinter.Interface
+public unsafe partial struct DispCPrintManagerTemplatePrinter : DispCPrintManagerTemplatePrinter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispCPrintManagerTemplatePrinter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasGradient.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasGradient.cs
index ab166771d4..bb62d26757 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasGradient.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasGradient.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059008C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispCanvasGradient : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispCanvasGradient : DispCanvasGradient.Interface
+public unsafe partial struct DispCanvasGradient : DispCanvasGradient.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispCanvasGradient));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasImageData.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasImageData.cs
index b3335a0b7e..3269d312ad 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasImageData.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasImageData.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059008F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispCanvasImageData : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispCanvasImageData : DispCanvasImageData.Interface
+public unsafe partial struct DispCanvasImageData : DispCanvasImageData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispCanvasImageData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasPattern.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasPattern.cs
index b22233c097..c16e39a52c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasPattern.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasPattern.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059008D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispCanvasPattern : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispCanvasPattern : DispCanvasPattern.Interface
+public unsafe partial struct DispCanvasPattern : DispCanvasPattern.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispCanvasPattern));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasRenderingContext2D.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasRenderingContext2D.cs
index b45fa97fa2..9df35a1b4b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasRenderingContext2D.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasRenderingContext2D.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590082-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispCanvasRenderingContext2D : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispCanvasRenderingContext2D : DispCanvasRenderingContext2D.Interface
+public unsafe partial struct DispCanvasRenderingContext2D : DispCanvasRenderingContext2D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispCanvasRenderingContext2D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasTextMetrics.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasTextMetrics.cs
index 532acb36a8..cb10b7fea9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasTextMetrics.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispCanvasTextMetrics.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059008E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispCanvasTextMetrics : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispCanvasTextMetrics : DispCanvasTextMetrics.Interface
+public unsafe partial struct DispCanvasTextMetrics : DispCanvasTextMetrics.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispCanvasTextMetrics));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMBeforeUnloadEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMBeforeUnloadEvent.cs
index 5d4a8af884..0330238baa 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMBeforeUnloadEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMBeforeUnloadEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900A8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMBeforeUnloadEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMBeforeUnloadEvent : DispDOMBeforeUnloadEvent.Interface
+public unsafe partial struct DispDOMBeforeUnloadEvent : DispDOMBeforeUnloadEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMBeforeUnloadEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMChildrenCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMChildrenCollection.cs
index 988434326c..35e438e1c6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMChildrenCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMChildrenCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F577-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMChildrenCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMChildrenCollection : DispDOMChildrenCollection.Interface
+public unsafe partial struct DispDOMChildrenCollection : DispDOMChildrenCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMChildrenCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCloseEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCloseEvent.cs
index eaf957ec1b..c16b506d3f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCloseEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCloseEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900DC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMCloseEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMCloseEvent : DispDOMCloseEvent.Interface
+public unsafe partial struct DispDOMCloseEvent : DispDOMCloseEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMCloseEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCompositionEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCompositionEvent.cs
index e58e66f172..8202726d6b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCompositionEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCompositionEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590078-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMCompositionEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMCompositionEvent : DispDOMCompositionEvent.Interface
+public unsafe partial struct DispDOMCompositionEvent : DispDOMCompositionEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMCompositionEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCustomEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCustomEvent.cs
index afe43f6739..70313dca6b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCustomEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMCustomEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059007C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMCustomEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMCustomEvent : DispDOMCustomEvent.Interface
+public unsafe partial struct DispDOMCustomEvent : DispDOMCustomEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMCustomEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMDocumentType.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMDocumentType.cs
index 5b06ff0372..b05d429ade 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMDocumentType.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMDocumentType.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590098-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMDocumentType : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMDocumentType : DispDOMDocumentType.Interface
+public unsafe partial struct DispDOMDocumentType : DispDOMDocumentType.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMDocumentType));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMDragEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMDragEvent.cs
index b1013d199c..fd9f0f1d4a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMDragEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMDragEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900A7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMDragEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMDragEvent : DispDOMDragEvent.Interface
+public unsafe partial struct DispDOMDragEvent : DispDOMDragEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMDragEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMEvent.cs
index 3096c90fdb..4a86e04619 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5A2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMEvent : DispDOMEvent.Interface
+public unsafe partial struct DispDOMEvent : DispDOMEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMException.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMException.cs
index 1491d80995..9af2fcb757 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMException.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590094-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMException : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMException : DispDOMException.Interface
+public unsafe partial struct DispDOMException : DispDOMException.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMException));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMFocusEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMFocusEvent.cs
index 677e2e146c..a129d58052 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMFocusEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMFocusEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590071-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMFocusEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMFocusEvent : DispDOMFocusEvent.Interface
+public unsafe partial struct DispDOMFocusEvent : DispDOMFocusEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMFocusEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMKeyboardEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMKeyboardEvent.cs
index a3e86e8924..d83fb4afd6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMKeyboardEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMKeyboardEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590077-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMKeyboardEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMKeyboardEvent : DispDOMKeyboardEvent.Interface
+public unsafe partial struct DispDOMKeyboardEvent : DispDOMKeyboardEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMKeyboardEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSAnimationEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSAnimationEvent.cs
index c00237746e..ff9099bc11 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSAnimationEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSAnimationEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900BC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMMSAnimationEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMMSAnimationEvent : DispDOMMSAnimationEvent.Interface
+public unsafe partial struct DispDOMMSAnimationEvent : DispDOMMSAnimationEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMMSAnimationEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSManipulationEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSManipulationEvent.cs
index 4fe7a51dfe..131e60f994 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSManipulationEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSManipulationEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900E1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMMSManipulationEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMMSManipulationEvent : DispDOMMSManipulationEvent.Interface
+public unsafe partial struct DispDOMMSManipulationEvent : DispDOMMSManipulationEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMMSManipulationEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSTransitionEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSTransitionEvent.cs
index d0f51f082d..4a7eb5f463 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSTransitionEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMSTransitionEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900BB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMMSTransitionEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMMSTransitionEvent : DispDOMMSTransitionEvent.Interface
+public unsafe partial struct DispDOMMSTransitionEvent : DispDOMMSTransitionEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMMSTransitionEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMessageEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMessageEvent.cs
index 2af96b74b8..41895ae258 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMessageEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMessageEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590092-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMMessageEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMMessageEvent : DispDOMMessageEvent.Interface
+public unsafe partial struct DispDOMMessageEvent : DispDOMMessageEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMMessageEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMouseEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMouseEvent.cs
index 14f72c036a..0278368f2a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMouseEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMouseEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590073-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMMouseEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMMouseEvent : DispDOMMouseEvent.Interface
+public unsafe partial struct DispDOMMouseEvent : DispDOMMouseEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMMouseEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMouseWheelEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMouseWheelEvent.cs
index 73605f3a84..d9a5520e82 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMouseWheelEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMouseWheelEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590074-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMMouseWheelEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMMouseWheelEvent : DispDOMMouseWheelEvent.Interface
+public unsafe partial struct DispDOMMouseWheelEvent : DispDOMMouseWheelEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMMouseWheelEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMutationEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMutationEvent.cs
index eec274e417..f2038328e8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMutationEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMMutationEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590079-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMMutationEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMMutationEvent : DispDOMMutationEvent.Interface
+public unsafe partial struct DispDOMMutationEvent : DispDOMMutationEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMMutationEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMParser.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMParser.cs
index 456e1532a5..85ad2ee213 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMParser.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMParser.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900AE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMParser : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMParser : DispDOMParser.Interface
+public unsafe partial struct DispDOMParser : DispDOMParser.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMParser));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMProcessingInstruction.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMProcessingInstruction.cs
index 53cd48383d..b11db9f7c0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMProcessingInstruction.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMProcessingInstruction.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059009B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMProcessingInstruction : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMProcessingInstruction : DispDOMProcessingInstruction.Interface
+public unsafe partial struct DispDOMProcessingInstruction : DispDOMProcessingInstruction.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMProcessingInstruction));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMProgressEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMProgressEvent.cs
index 09ee8102fd..9df0ae3c5d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMProgressEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMProgressEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590091-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMProgressEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMProgressEvent : DispDOMProgressEvent.Interface
+public unsafe partial struct DispDOMProgressEvent : DispDOMProgressEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMProgressEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMSiteModeEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMSiteModeEvent.cs
index d22a215aaf..c0d1a1ed9e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMSiteModeEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMSiteModeEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900A9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMSiteModeEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMSiteModeEvent : DispDOMSiteModeEvent.Interface
+public unsafe partial struct DispDOMSiteModeEvent : DispDOMSiteModeEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMSiteModeEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMStorageEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMStorageEvent.cs
index efa888d8c8..8d5276f20e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMStorageEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMStorageEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590093-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMStorageEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMStorageEvent : DispDOMStorageEvent.Interface
+public unsafe partial struct DispDOMStorageEvent : DispDOMStorageEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMStorageEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMTextEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMTextEvent.cs
index 00a9463c36..7b8553bcbd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMTextEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMTextEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590076-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMTextEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMTextEvent : DispDOMTextEvent.Interface
+public unsafe partial struct DispDOMTextEvent : DispDOMTextEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMTextEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMUIEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMUIEvent.cs
index de6af003be..f354db663e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMUIEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMUIEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590072-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMUIEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMUIEvent : DispDOMUIEvent.Interface
+public unsafe partial struct DispDOMUIEvent : DispDOMUIEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMUIEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMWheelEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMWheelEvent.cs
index c51711a13e..feb1ddff28 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispDOMWheelEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispDOMWheelEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590075-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispDOMWheelEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispDOMWheelEvent : DispDOMWheelEvent.Interface
+public unsafe partial struct DispDOMWheelEvent : DispDOMWheelEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispDOMWheelEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispEventException.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispEventException.cs
index ec11f357f1..e165463f3d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispEventException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispEventException.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590099-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispEventException : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispEventException : DispEventException.Interface
+public unsafe partial struct DispEventException : DispEventException.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispEventException));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCAttachBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCAttachBehavior.cs
index abc5174aaf..7f09ee696b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCAttachBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCAttachBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F583-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTCAttachBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTCAttachBehavior : DispHTCAttachBehavior.Interface
+public unsafe partial struct DispHTCAttachBehavior : DispHTCAttachBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTCAttachBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCDefaultDispatch.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCDefaultDispatch.cs
index d2499a19cf..9ffba53c28 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCDefaultDispatch.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCDefaultDispatch.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F573-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTCDefaultDispatch : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTCDefaultDispatch : DispHTCDefaultDispatch.Interface
+public unsafe partial struct DispHTCDefaultDispatch : DispHTCDefaultDispatch.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTCDefaultDispatch));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCDescBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCDescBehavior.cs
index 5d00f8be80..92537021f2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCDescBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCDescBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F57E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTCDescBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTCDescBehavior : DispHTCDescBehavior.Interface
+public unsafe partial struct DispHTCDescBehavior : DispHTCDescBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTCDescBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCEventBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCEventBehavior.cs
index 5adcd3954c..780632d542 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCEventBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCEventBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F574-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTCEventBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTCEventBehavior : DispHTCEventBehavior.Interface
+public unsafe partial struct DispHTCEventBehavior : DispHTCEventBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTCEventBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCMethodBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCMethodBehavior.cs
index 5128c34d83..56b187708e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCMethodBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCMethodBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F587-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTCMethodBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTCMethodBehavior : DispHTCMethodBehavior.Interface
+public unsafe partial struct DispHTCMethodBehavior : DispHTCMethodBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTCMethodBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCPropertyBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCPropertyBehavior.cs
index 5a1c26c8f3..7cbb6624d2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTCPropertyBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTCPropertyBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F57F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTCPropertyBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTCPropertyBehavior : DispHTCPropertyBehavior.Interface
+public unsafe partial struct DispHTCPropertyBehavior : DispHTCPropertyBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTCPropertyBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAnchorElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAnchorElement.cs
index 8cc5cf0374..3f8b498942 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAnchorElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAnchorElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F502-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLAnchorElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLAnchorElement : DispHTMLAnchorElement.Interface
+public unsafe partial struct DispHTMLAnchorElement : DispHTMLAnchorElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLAnchorElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAppBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAppBehavior.cs
index 08547ef353..257c115524 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAppBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAppBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F57C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLAppBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLAppBehavior : DispHTMLAppBehavior.Interface
+public unsafe partial struct DispHTMLAppBehavior : DispHTMLAppBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLAppBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAreaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAreaElement.cs
index 7c51247f6d..44acfedf54 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAreaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAreaElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F503-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLAreaElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLAreaElement : DispHTMLAreaElement.Interface
+public unsafe partial struct DispHTMLAreaElement : DispHTMLAreaElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLAreaElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAreasCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAreasCollection.cs
index 64a9aef0bd..566f9db35d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAreasCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAreasCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F56A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLAreasCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLAreasCollection : DispHTMLAreasCollection.Interface
+public unsafe partial struct DispHTMLAreasCollection : DispHTMLAreasCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLAreasCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAttributeCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAttributeCollection.cs
index ec0d46784f..2bde4fa24a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAttributeCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAttributeCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F56C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLAttributeCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLAttributeCollection : DispHTMLAttributeCollection.Interface
+public unsafe partial struct DispHTMLAttributeCollection : DispHTMLAttributeCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLAttributeCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAudioElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAudioElement.cs
index bf0c20c858..a9952165aa 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAudioElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLAudioElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059008A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLAudioElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLAudioElement : DispHTMLAudioElement.Interface
+public unsafe partial struct DispHTMLAudioElement : DispHTMLAudioElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLAudioElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBGsound.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBGsound.cs
index f227fbe62a..ba1d34f08b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBGsound.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBGsound.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F53C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLBGsound : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLBGsound : DispHTMLBGsound.Interface
+public unsafe partial struct DispHTMLBGsound : DispHTMLBGsound.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLBGsound));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBRElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBRElement.cs
index ecfc68c568..bb1beeaaaa 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBRElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBRElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F53A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLBRElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLBRElement : DispHTMLBRElement.Interface
+public unsafe partial struct DispHTMLBRElement : DispHTMLBRElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLBRElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBaseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBaseElement.cs
index 000d24a204..1964270abb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBaseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBaseElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F518-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLBaseElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLBaseElement : DispHTMLBaseElement.Interface
+public unsafe partial struct DispHTMLBaseElement : DispHTMLBaseElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLBaseElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBaseFontElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBaseFontElement.cs
index f595963e19..fae208c4b9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBaseFontElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBaseFontElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F504-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLBaseFontElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLBaseFontElement : DispHTMLBaseFontElement.Interface
+public unsafe partial struct DispHTMLBaseFontElement : DispHTMLBaseFontElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLBaseFontElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBlockElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBlockElement.cs
index df4582fbc0..fdc779584a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBlockElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBlockElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F506-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLBlockElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLBlockElement : DispHTMLBlockElement.Interface
+public unsafe partial struct DispHTMLBlockElement : DispHTMLBlockElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLBlockElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBody.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBody.cs
index 591463c0ae..19c55e941e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBody.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLBody.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F507-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLBody : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLBody : DispHTMLBody.Interface
+public unsafe partial struct DispHTMLBody : DispHTMLBody.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLBody));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLButtonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLButtonElement.cs
index 8863a3ae06..e5ff8d2d0b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLButtonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLButtonElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F51F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLButtonElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLButtonElement : DispHTMLButtonElement.Interface
+public unsafe partial struct DispHTMLButtonElement : DispHTMLButtonElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLButtonElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSImportRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSImportRule.cs
index 02b96e7a62..52eaae373c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSImportRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSImportRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059007E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLCSSImportRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLCSSImportRule : DispHTMLCSSImportRule.Interface
+public unsafe partial struct DispHTMLCSSImportRule : DispHTMLCSSImportRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLCSSImportRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSMediaList.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSMediaList.cs
index be6efbf6b1..a6b2a12eb4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSMediaList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSMediaList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590097-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLCSSMediaList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLCSSMediaList : DispHTMLCSSMediaList.Interface
+public unsafe partial struct DispHTMLCSSMediaList : DispHTMLCSSMediaList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLCSSMediaList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSMediaRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSMediaRule.cs
index 87bf5b32b8..b0fffc35f1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSMediaRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSMediaRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059007F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLCSSMediaRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLCSSMediaRule : DispHTMLCSSMediaRule.Interface
+public unsafe partial struct DispHTMLCSSMediaRule : DispHTMLCSSMediaRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLCSSMediaRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSNamespaceRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSNamespaceRule.cs
index 269abea16f..a593fc5bf6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSNamespaceRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSNamespaceRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590080-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLCSSNamespaceRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLCSSNamespaceRule : DispHTMLCSSNamespaceRule.Interface
+public unsafe partial struct DispHTMLCSSNamespaceRule : DispHTMLCSSNamespaceRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLCSSNamespaceRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSRule.cs
index 453c50ec39..53c130fa2b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059007D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLCSSRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLCSSRule : DispHTMLCSSRule.Interface
+public unsafe partial struct DispHTMLCSSRule : DispHTMLCSSRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLCSSRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSStyleDeclaration.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSStyleDeclaration.cs
index ecd6ddc4c6..fedfc0fcf5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSStyleDeclaration.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCSSStyleDeclaration.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059009A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLCSSStyleDeclaration : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLCSSStyleDeclaration : DispHTMLCSSStyleDeclaration.Interface
+public unsafe partial struct DispHTMLCSSStyleDeclaration : DispHTMLCSSStyleDeclaration.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLCSSStyleDeclaration));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCanvasElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCanvasElement.cs
index 0bd7b34c25..653709780f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCanvasElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCanvasElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059007B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLCanvasElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLCanvasElement : DispHTMLCanvasElement.Interface
+public unsafe partial struct DispHTMLCanvasElement : DispHTMLCanvasElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLCanvasElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCommentElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCommentElement.cs
index 1a05ab0f48..ecc67ee270 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCommentElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCommentElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F50A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLCommentElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLCommentElement : DispHTMLCommentElement.Interface
+public unsafe partial struct DispHTMLCommentElement : DispHTMLCommentElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLCommentElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCurrentStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCurrentStyle.cs
index 7ec2948bc8..2e3decbc45 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCurrentStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLCurrentStyle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F557-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLCurrentStyle : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLCurrentStyle : DispHTMLCurrentStyle.Interface
+public unsafe partial struct DispHTMLCurrentStyle : DispHTMLCurrentStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLCurrentStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDDElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDDElement.cs
index 0d7d0538ac..36920e61bb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDDElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDDElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F50B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDDElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDDElement : DispHTMLDDElement.Interface
+public unsafe partial struct DispHTMLDDElement : DispHTMLDDElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDDElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDListElement.cs
index 0840d6d9dd..1f5a47a077 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDListElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F53B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDListElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDListElement : DispHTMLDListElement.Interface
+public unsafe partial struct DispHTMLDListElement : DispHTMLDListElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDListElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMAttribute.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMAttribute.cs
index aa6c80b4c9..69741212bc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMAttribute.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMAttribute.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F564-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDOMAttribute : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDOMAttribute : DispHTMLDOMAttribute.Interface
+public unsafe partial struct DispHTMLDOMAttribute : DispHTMLDOMAttribute.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDOMAttribute));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMImplementation.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMImplementation.cs
index 6c5cd6791d..0404ffb914 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMImplementation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMImplementation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F58F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDOMImplementation : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDOMImplementation : DispHTMLDOMImplementation.Interface
+public unsafe partial struct DispHTMLDOMImplementation : DispHTMLDOMImplementation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDOMImplementation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMRange.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMRange.cs
index fd0ded3339..1f02421c5f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMRange.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMRange.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5A3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDOMRange : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDOMRange : DispHTMLDOMRange.Interface
+public unsafe partial struct DispHTMLDOMRange : DispHTMLDOMRange.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDOMRange));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMTextNode.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMTextNode.cs
index e369fc6c42..41a79a29ac 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMTextNode.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDOMTextNode.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F565-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDOMTextNode : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDOMTextNode : DispHTMLDOMTextNode.Interface
+public unsafe partial struct DispHTMLDOMTextNode : DispHTMLDOMTextNode.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDOMTextNode));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDTElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDTElement.cs
index 1cd88a898d..a91a87641d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDTElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDTElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F50D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDTElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDTElement : DispHTMLDTElement.Interface
+public unsafe partial struct DispHTMLDTElement : DispHTMLDTElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDTElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDefaults.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDefaults.cs
index 52d75eed9b..443e75da96 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDefaults.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDefaults.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F58C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDefaults : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDefaults : DispHTMLDefaults.Interface
+public unsafe partial struct DispHTMLDefaults : DispHTMLDefaults.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDefaults));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDivElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDivElement.cs
index 573622f12a..75fbaa6649 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDivElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDivElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F50C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDivElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDivElement : DispHTMLDivElement.Interface
+public unsafe partial struct DispHTMLDivElement : DispHTMLDivElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDivElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDivPosition.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDivPosition.cs
index e854ecdc0c..7d634e6988 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDivPosition.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDivPosition.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F50F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDivPosition : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDivPosition : DispHTMLDivPosition.Interface
+public unsafe partial struct DispHTMLDivPosition : DispHTMLDivPosition.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDivPosition));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocument.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocument.cs
index c0c1cd53b2..a4812446bf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocument.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocument.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F55F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDocument : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDocument : DispHTMLDocument.Interface
+public unsafe partial struct DispHTMLDocument : DispHTMLDocument.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDocument));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocumentCompatibleInfo.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocumentCompatibleInfo.cs
index df04c29126..be9befbafb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocumentCompatibleInfo.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocumentCompatibleInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F53E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDocumentCompatibleInfo : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDocumentCompatibleInfo : DispHTMLDocumentCompatibleInfo.Interface
+public unsafe partial struct DispHTMLDocumentCompatibleInfo : DispHTMLDocumentCompatibleInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDocumentCompatibleInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocumentCompatibleInfoCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocumentCompatibleInfoCollection.cs
index 0315f00f0e..6a1c229dc1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocumentCompatibleInfoCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLDocumentCompatibleInfoCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F53F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLDocumentCompatibleInfoCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLDocumentCompatibleInfoCollection : DispHTMLDocumentCompatibleInfoCollection.Interface
+public unsafe partial struct DispHTMLDocumentCompatibleInfoCollection : DispHTMLDocumentCompatibleInfoCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLDocumentCompatibleInfoCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLElementCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLElementCollection.cs
index 8e6317dc82..ad82d70e0d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLElementCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLElementCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F56B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLElementCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLElementCollection : DispHTMLElementCollection.Interface
+public unsafe partial struct DispHTMLElementCollection : DispHTMLElementCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLElementCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLEmbed.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLEmbed.cs
index f72db28c57..d17348f8aa 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLEmbed.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLEmbed.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F52E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLEmbed : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLEmbed : DispHTMLEmbed.Interface
+public unsafe partial struct DispHTMLEmbed : DispHTMLEmbed.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLEmbed));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFieldSetElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFieldSetElement.cs
index 8f58feea6c..b2ba6e9a3d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFieldSetElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFieldSetElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F545-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLFieldSetElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLFieldSetElement : DispHTMLFieldSetElement.Interface
+public unsafe partial struct DispHTMLFieldSetElement : DispHTMLFieldSetElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLFieldSetElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFontElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFontElement.cs
index 91e6ef62b3..c7b284d459 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFontElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFontElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F512-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLFontElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLFontElement : DispHTMLFontElement.Interface
+public unsafe partial struct DispHTMLFontElement : DispHTMLFontElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLFontElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFormElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFormElement.cs
index f71a3c1196..e6eeceef68 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFormElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFormElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F510-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLFormElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLFormElement : DispHTMLFormElement.Interface
+public unsafe partial struct DispHTMLFormElement : DispHTMLFormElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLFormElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameBase.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameBase.cs
index a2868bd43c..f4a75d307b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameBase.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameBase.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F541-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLFrameBase : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLFrameBase : DispHTMLFrameBase.Interface
+public unsafe partial struct DispHTMLFrameBase : DispHTMLFrameBase.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLFrameBase));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameElement.cs
index 2fb1164a85..0ef7da44e0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F513-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLFrameElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLFrameElement : DispHTMLFrameElement.Interface
+public unsafe partial struct DispHTMLFrameElement : DispHTMLFrameElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLFrameElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameSetSite.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameSetSite.cs
index 318115132d..9d811aeca1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameSetSite.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLFrameSetSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F514-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLFrameSetSite : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLFrameSetSite : DispHTMLFrameSetSite.Interface
+public unsafe partial struct DispHTMLFrameSetSite : DispHTMLFrameSetSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLFrameSetSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLGenericElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLGenericElement.cs
index 5584cf1f5c..6b2ac9676b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLGenericElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLGenericElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F563-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLGenericElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLGenericElement : DispHTMLGenericElement.Interface
+public unsafe partial struct DispHTMLGenericElement : DispHTMLGenericElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLGenericElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHRElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHRElement.cs
index b530d40ecf..dd79b6ce7c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHRElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHRElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F53D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLHRElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLHRElement : DispHTMLHRElement.Interface
+public unsafe partial struct DispHTMLHRElement : DispHTMLHRElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLHRElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHeadElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHeadElement.cs
index 26e0b2b7e3..cfe34ea6ef 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHeadElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHeadElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F561-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLHeadElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLHeadElement : DispHTMLHeadElement.Interface
+public unsafe partial struct DispHTMLHeadElement : DispHTMLHeadElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLHeadElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHeaderElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHeaderElement.cs
index b1625e0aed..5a6010c2de 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHeaderElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHeaderElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F515-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLHeaderElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLHeaderElement : DispHTMLHeaderElement.Interface
+public unsafe partial struct DispHTMLHeaderElement : DispHTMLHeaderElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLHeaderElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHistory.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHistory.cs
index 8de1dfb6a7..b1a997d1a7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHistory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHistory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F549-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLHistory : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLHistory : DispHTMLHistory.Interface
+public unsafe partial struct DispHTMLHistory : DispHTMLHistory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLHistory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHtmlElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHtmlElement.cs
index e8c68d6bea..a4e0042f17 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHtmlElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLHtmlElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F560-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLHtmlElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLHtmlElement : DispHTMLHtmlElement.Interface
+public unsafe partial struct DispHTMLHtmlElement : DispHTMLHtmlElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLHtmlElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLIFrame.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLIFrame.cs
index 646315a014..4edd695556 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLIFrame.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLIFrame.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F51B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLIFrame : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLIFrame : DispHTMLIFrame.Interface
+public unsafe partial struct DispHTMLIFrame : DispHTMLIFrame.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLIFrame));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLImg.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLImg.cs
index 5214c8d4e2..221a964cd1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLImg.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLImg.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F51C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLImg : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLImg : DispHTMLImg.Interface
+public unsafe partial struct DispHTMLImg : DispHTMLImg.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLImg));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLInputElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLInputElement.cs
index 0ca5c4c8ca..f53604857c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLInputElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLInputElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F57D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLInputElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLInputElement : DispHTMLInputElement.Interface
+public unsafe partial struct DispHTMLInputElement : DispHTMLInputElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLInputElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLIsIndexElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLIsIndexElement.cs
index 9a7b0c67cb..619f2953cb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLIsIndexElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLIsIndexElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F519-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLIsIndexElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLIsIndexElement : DispHTMLIsIndexElement.Interface
+public unsafe partial struct DispHTMLIsIndexElement : DispHTMLIsIndexElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLIsIndexElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLIElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLIElement.cs
index 85551bda49..9da016450d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLIElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLIElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F523-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLLIElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLLIElement : DispHTMLLIElement.Interface
+public unsafe partial struct DispHTMLLIElement : DispHTMLLIElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLLIElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLabelElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLabelElement.cs
index d2b71534db..f58e65c0ca 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLabelElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLabelElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F522-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLLabelElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLLabelElement : DispHTMLLabelElement.Interface
+public unsafe partial struct DispHTMLLabelElement : DispHTMLLabelElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLLabelElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLegendElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLegendElement.cs
index 0577e07846..e318ce5622 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLegendElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLegendElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F546-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLLegendElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLLegendElement : DispHTMLLegendElement.Interface
+public unsafe partial struct DispHTMLLegendElement : DispHTMLLegendElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLLegendElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLinkElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLinkElement.cs
index d056b5c2c7..ca0a90b212 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLinkElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLinkElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F524-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLLinkElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLLinkElement : DispHTMLLinkElement.Interface
+public unsafe partial struct DispHTMLLinkElement : DispHTMLLinkElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLLinkElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLListElement.cs
index b550313c01..2d55e802b0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLListElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F525-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLListElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLListElement : DispHTMLListElement.Interface
+public unsafe partial struct DispHTMLListElement : DispHTMLListElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLListElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLocation.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLocation.cs
index c0b49b4701..2d16d931a7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLocation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLLocation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F54E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLLocation : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLLocation : DispHTMLLocation.Interface
+public unsafe partial struct DispHTMLLocation : DispHTMLLocation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLLocation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMSCSSKeyframeRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMSCSSKeyframeRule.cs
index 1ef6cd8fde..194d0b9f1f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMSCSSKeyframeRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMSCSSKeyframeRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900DE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLMSCSSKeyframeRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLMSCSSKeyframeRule : DispHTMLMSCSSKeyframeRule.Interface
+public unsafe partial struct DispHTMLMSCSSKeyframeRule : DispHTMLMSCSSKeyframeRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLMSCSSKeyframeRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMSCSSKeyframesRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMSCSSKeyframesRule.cs
index 97ad138023..38b7f57dbb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMSCSSKeyframesRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMSCSSKeyframesRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900DF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLMSCSSKeyframesRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLMSCSSKeyframesRule : DispHTMLMSCSSKeyframesRule.Interface
+public unsafe partial struct DispHTMLMSCSSKeyframesRule : DispHTMLMSCSSKeyframesRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLMSCSSKeyframesRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMapElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMapElement.cs
index ac887ae35c..5f77009dd8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMapElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMapElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F526-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLMapElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLMapElement : DispHTMLMapElement.Interface
+public unsafe partial struct DispHTMLMapElement : DispHTMLMapElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLMapElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMarqueeElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMarqueeElement.cs
index aec4d18ae6..414aae7412 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMarqueeElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMarqueeElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F527-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLMarqueeElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLMarqueeElement : DispHTMLMarqueeElement.Interface
+public unsafe partial struct DispHTMLMarqueeElement : DispHTMLMarqueeElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLMarqueeElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMediaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMediaElement.cs
index 17572f9119..7e5be5291b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMediaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMediaElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590088-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLMediaElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLMediaElement : DispHTMLMediaElement.Interface
+public unsafe partial struct DispHTMLMediaElement : DispHTMLMediaElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLMediaElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMediaError.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMediaError.cs
index f97fce55e0..27df6bfa01 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMediaError.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMediaError.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590086-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLMediaError : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLMediaError : DispHTMLMediaError.Interface
+public unsafe partial struct DispHTMLMediaError : DispHTMLMediaError.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLMediaError));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMetaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMetaElement.cs
index 171ea090e9..d358790a4e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMetaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLMetaElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F517-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLMetaElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLMetaElement : DispHTMLMetaElement.Interface
+public unsafe partial struct DispHTMLMetaElement : DispHTMLMetaElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLMetaElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNamespace.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNamespace.cs
index cdc5864aa2..1e3ff9f2bd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNamespace.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNamespace.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F54F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLNamespace : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLNamespace : DispHTMLNamespace.Interface
+public unsafe partial struct DispHTMLNamespace : DispHTMLNamespace.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLNamespace));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNamespaceCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNamespaceCollection.cs
index 908b097d87..0dd7c55c48 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNamespaceCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNamespaceCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F550-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLNamespaceCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLNamespaceCollection : DispHTMLNamespaceCollection.Interface
+public unsafe partial struct DispHTMLNamespaceCollection : DispHTMLNamespaceCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLNamespaceCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNavigator.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNavigator.cs
index dbb1ad6506..a11b3f3121 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNavigator.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNavigator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F54C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLNavigator : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLNavigator : DispHTMLNavigator.Interface
+public unsafe partial struct DispHTMLNavigator : DispHTMLNavigator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLNavigator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNextIdElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNextIdElement.cs
index 9f0fd51e08..cea6ed33f4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNextIdElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNextIdElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F51A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLNextIdElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLNextIdElement : DispHTMLNextIdElement.Interface
+public unsafe partial struct DispHTMLNextIdElement : DispHTMLNextIdElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLNextIdElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNoShowElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNoShowElement.cs
index 55967b5b20..03d56c9457 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNoShowElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLNoShowElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F528-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLNoShowElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLNoShowElement : DispHTMLNoShowElement.Interface
+public unsafe partial struct DispHTMLNoShowElement : DispHTMLNoShowElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLNoShowElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLOListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLOListElement.cs
index 3e0a5a86e3..645e312416 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLOListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLOListElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F52A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLOListElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLOListElement : DispHTMLOListElement.Interface
+public unsafe partial struct DispHTMLOListElement : DispHTMLOListElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLOListElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLObjectElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLObjectElement.cs
index 56e6cac173..725b3edd1d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLObjectElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLObjectElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F529-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLObjectElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLObjectElement : DispHTMLObjectElement.Interface
+public unsafe partial struct DispHTMLObjectElement : DispHTMLObjectElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLObjectElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLOptionElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLOptionElement.cs
index 00a66c9d6b..fdee27497b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLOptionElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLOptionElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F52B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLOptionElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLOptionElement : DispHTMLOptionElement.Interface
+public unsafe partial struct DispHTMLOptionElement : DispHTMLOptionElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLOptionElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLParaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLParaElement.cs
index 1b76758d49..92cf78e819 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLParaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLParaElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F52C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLParaElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLParaElement : DispHTMLParaElement.Interface
+public unsafe partial struct DispHTMLParaElement : DispHTMLParaElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLParaElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLParamElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLParamElement.cs
index 3512510bd4..40b09ad6c4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLParamElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLParamElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F590-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLParamElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLParamElement : DispHTMLParamElement.Interface
+public unsafe partial struct DispHTMLParamElement : DispHTMLParamElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLParamElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformance.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformance.cs
index 13fc3abb1e..4491e76ea5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformance.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformance.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059009F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLPerformance : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLPerformance : DispHTMLPerformance.Interface
+public unsafe partial struct DispHTMLPerformance : DispHTMLPerformance.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLPerformance));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformanceNavigation.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformanceNavigation.cs
index f1b5b907f0..bb81dbb670 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformanceNavigation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformanceNavigation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900A0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLPerformanceNavigation : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLPerformanceNavigation : DispHTMLPerformanceNavigation.Interface
+public unsafe partial struct DispHTMLPerformanceNavigation : DispHTMLPerformanceNavigation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLPerformanceNavigation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformanceTiming.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformanceTiming.cs
index 7e71da9753..032770a754 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformanceTiming.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPerformanceTiming.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900A1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLPerformanceTiming : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLPerformanceTiming : DispHTMLPerformanceTiming.Interface
+public unsafe partial struct DispHTMLPerformanceTiming : DispHTMLPerformanceTiming.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLPerformanceTiming));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPhraseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPhraseElement.cs
index 5313547ed2..7034d3e42b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPhraseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPhraseElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F52D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLPhraseElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLPhraseElement : DispHTMLPhraseElement.Interface
+public unsafe partial struct DispHTMLPhraseElement : DispHTMLPhraseElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLPhraseElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPopup.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPopup.cs
index 3d8ee6b26c..9068bc0d7f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPopup.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLPopup.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F589-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLPopup : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLPopup : DispHTMLPopup.Interface
+public unsafe partial struct DispHTMLPopup : DispHTMLPopup.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLPopup));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLProgressElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLProgressElement.cs
index 9444f5dfa0..8369557773 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLProgressElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLProgressElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900AF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLProgressElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLProgressElement : DispHTMLProgressElement.Interface
+public unsafe partial struct DispHTMLProgressElement : DispHTMLProgressElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLProgressElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRenderStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRenderStyle.cs
index 7f7bacb83e..3e464d425c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRenderStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRenderStyle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F58B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLRenderStyle : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLRenderStyle : DispHTMLRenderStyle.Interface
+public unsafe partial struct DispHTMLRenderStyle : DispHTMLRenderStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLRenderStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRichtextElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRichtextElement.cs
index 2a52fbf15e..6934ea71ac 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRichtextElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRichtextElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F54D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLRichtextElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLRichtextElement : DispHTMLRichtextElement.Interface
+public unsafe partial struct DispHTMLRichtextElement : DispHTMLRichtextElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLRichtextElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRuleStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRuleStyle.cs
index a5098ef57d..179acacd5b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRuleStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLRuleStyle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F55C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLRuleStyle : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLRuleStyle : DispHTMLRuleStyle.Interface
+public unsafe partial struct DispHTMLRuleStyle : DispHTMLRuleStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLRuleStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLScreen.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLScreen.cs
index 1a1126efdd..23ecbc0a3e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLScreen.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLScreen.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F591-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLScreen : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLScreen : DispHTMLScreen.Interface
+public unsafe partial struct DispHTMLScreen : DispHTMLScreen.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLScreen));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLScriptElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLScriptElement.cs
index 75f274a761..dd3bbcec28 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLScriptElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLScriptElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F530-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLScriptElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLScriptElement : DispHTMLScriptElement.Interface
+public unsafe partial struct DispHTMLScriptElement : DispHTMLScriptElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLScriptElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSelectElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSelectElement.cs
index b3340c5f9e..44232df619 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSelectElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSelectElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F531-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLSelectElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLSelectElement : DispHTMLSelectElement.Interface
+public unsafe partial struct DispHTMLSelectElement : DispHTMLSelectElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLSelectElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSemanticElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSemanticElement.cs
index 5372ede623..4318c08120 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSemanticElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSemanticElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900BA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLSemanticElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLSemanticElement : DispHTMLSemanticElement.Interface
+public unsafe partial struct DispHTMLSemanticElement : DispHTMLSemanticElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLSemanticElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSourceElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSourceElement.cs
index 0459ea3f52..1e704a2077 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSourceElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSourceElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590089-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLSourceElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLSourceElement : DispHTMLSourceElement.Interface
+public unsafe partial struct DispHTMLSourceElement : DispHTMLSourceElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLSourceElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSpanElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSpanElement.cs
index d214f8e400..c8bd0cc5a2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSpanElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSpanElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F548-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLSpanElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLSpanElement : DispHTMLSpanElement.Interface
+public unsafe partial struct DispHTMLSpanElement : DispHTMLSpanElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLSpanElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSpanFlow.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSpanFlow.cs
index 4d8e7ed24e..9c43d22a08 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSpanFlow.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLSpanFlow.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F544-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLSpanFlow : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLSpanFlow : DispHTMLSpanFlow.Interface
+public unsafe partial struct DispHTMLSpanFlow : DispHTMLSpanFlow.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLSpanFlow));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStorage.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStorage.cs
index a7db4c88e0..801ad4f4fe 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStorage.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStorage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F59D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStorage : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStorage : DispHTMLStorage.Interface
+public unsafe partial struct DispHTMLStorage : DispHTMLStorage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStorage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyle.cs
index d6bd310fae..6c800c5cda 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F55A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStyle : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStyle : DispHTMLStyle.Interface
+public unsafe partial struct DispHTMLStyle : DispHTMLStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleElement.cs
index 3479ea081f..9d6823ddbf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F511-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStyleElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStyleElement : DispHTMLStyleElement.Interface
+public unsafe partial struct DispHTMLStyleElement : DispHTMLStyleElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStyleElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleFontFace.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleFontFace.cs
index 72e403f24a..1c312cec9a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleFontFace.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleFontFace.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590081-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStyleFontFace : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStyleFontFace : DispHTMLStyleFontFace.Interface
+public unsafe partial struct DispHTMLStyleFontFace : DispHTMLStyleFontFace.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStyleFontFace));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleMedia.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleMedia.cs
index 879cd4aa93..1727f3d375 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleMedia.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleMedia.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059009E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStyleMedia : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStyleMedia : DispHTMLStyleMedia.Interface
+public unsafe partial struct DispHTMLStyleMedia : DispHTMLStyleMedia.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStyleMedia));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheet.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheet.cs
index b64f905920..bd5cf4bc85 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheet.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheet.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F58D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStyleSheet : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStyleSheet : DispHTMLStyleSheet.Interface
+public unsafe partial struct DispHTMLStyleSheet : DispHTMLStyleSheet.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStyleSheet));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetPage.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetPage.cs
index 6af3071444..3ea852268e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetPage.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetPage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F540-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStyleSheetPage : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStyleSheetPage : DispHTMLStyleSheetPage.Interface
+public unsafe partial struct DispHTMLStyleSheetPage : DispHTMLStyleSheetPage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStyleSheetPage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetPagesCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetPagesCollection.cs
index 0dc294e11b..443ac1d539 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetPagesCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetPagesCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F543-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStyleSheetPagesCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStyleSheetPagesCollection : DispHTMLStyleSheetPagesCollection.Interface
+public unsafe partial struct DispHTMLStyleSheetPagesCollection : DispHTMLStyleSheetPagesCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStyleSheetPagesCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRule.cs
index d5a230be77..b58e5eb14c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F50E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStyleSheetRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStyleSheetRule : DispHTMLStyleSheetRule.Interface
+public unsafe partial struct DispHTMLStyleSheetRule : DispHTMLStyleSheetRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStyleSheetRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRulesAppliedCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRulesAppliedCollection.cs
index 90f9d7a283..fb1483f24b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRulesAppliedCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRulesAppliedCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5A6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStyleSheetRulesAppliedCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStyleSheetRulesAppliedCollection : DispHTMLStyleSheetRulesAppliedCollection.Interface
+public unsafe partial struct DispHTMLStyleSheetRulesAppliedCollection : DispHTMLStyleSheetRulesAppliedCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStyleSheetRulesAppliedCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRulesCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRulesCollection.cs
index 5a50170e91..bf15df7f10 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRulesCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetRulesCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F52F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStyleSheetRulesCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStyleSheetRulesCollection : DispHTMLStyleSheetRulesCollection.Interface
+public unsafe partial struct DispHTMLStyleSheetRulesCollection : DispHTMLStyleSheetRulesCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStyleSheetRulesCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetsCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetsCollection.cs
index 12b72f5d7c..adaf825611 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetsCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLStyleSheetsCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F547-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLStyleSheetsCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLStyleSheetsCollection : DispHTMLStyleSheetsCollection.Interface
+public unsafe partial struct DispHTMLStyleSheetsCollection : DispHTMLStyleSheetsCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLStyleSheetsCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTable.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTable.cs
index 9063cebce6..fa48af1e5b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTable.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTable.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F532-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLTable : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLTable : DispHTMLTable.Interface
+public unsafe partial struct DispHTMLTable : DispHTMLTable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLTable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCaption.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCaption.cs
index e3a110c65a..e88f41e0e9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCaption.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCaption.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F508-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLTableCaption : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLTableCaption : DispHTMLTableCaption.Interface
+public unsafe partial struct DispHTMLTableCaption : DispHTMLTableCaption.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLTableCaption));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCell.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCell.cs
index e0bd5a2b5f..f51f7c575d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCell.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCell.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F536-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLTableCell : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLTableCell : DispHTMLTableCell.Interface
+public unsafe partial struct DispHTMLTableCell : DispHTMLTableCell.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLTableCell));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCol.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCol.cs
index 56549dbeac..a741dfc77f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCol.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableCol.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F533-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLTableCol : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLTableCol : DispHTMLTableCol.Interface
+public unsafe partial struct DispHTMLTableCol : DispHTMLTableCol.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLTableCol));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableRow.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableRow.cs
index 2b80b04890..5341d5a039 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableRow.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableRow.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F535-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLTableRow : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLTableRow : DispHTMLTableRow.Interface
+public unsafe partial struct DispHTMLTableRow : DispHTMLTableRow.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLTableRow));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableSection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableSection.cs
index bd7e158214..b77ef2411f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableSection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTableSection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F534-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLTableSection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLTableSection : DispHTMLTableSection.Interface
+public unsafe partial struct DispHTMLTableSection : DispHTMLTableSection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLTableSection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTextAreaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTextAreaElement.cs
index c7b6af0593..01a36767c7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTextAreaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTextAreaElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F521-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLTextAreaElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLTextAreaElement : DispHTMLTextAreaElement.Interface
+public unsafe partial struct DispHTMLTextAreaElement : DispHTMLTextAreaElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLTextAreaElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTextElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTextElement.cs
index 83e803b8b5..69d1815263 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTextElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTextElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F537-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLTextElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLTextElement : DispHTMLTextElement.Interface
+public unsafe partial struct DispHTMLTextElement : DispHTMLTextElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLTextElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTimeRanges.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTimeRanges.cs
index 5d2e368e43..ff43306c0b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTimeRanges.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTimeRanges.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590087-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLTimeRanges : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLTimeRanges : DispHTMLTimeRanges.Interface
+public unsafe partial struct DispHTMLTimeRanges : DispHTMLTimeRanges.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLTimeRanges));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTitleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTitleElement.cs
index 3e5497d3a9..a08818a0b2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTitleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLTitleElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F516-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLTitleElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLTitleElement : DispHTMLTitleElement.Interface
+public unsafe partial struct DispHTMLTitleElement : DispHTMLTitleElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLTitleElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUListElement.cs
index 66fa28dd33..66a9268ad2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUListElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F538-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLUListElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLUListElement : DispHTMLUListElement.Interface
+public unsafe partial struct DispHTMLUListElement : DispHTMLUListElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLUListElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUnknownElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUnknownElement.cs
index 54cba0b5e7..efde068868 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUnknownElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUnknownElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F539-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLUnknownElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLUnknownElement : DispHTMLUnknownElement.Interface
+public unsafe partial struct DispHTMLUnknownElement : DispHTMLUnknownElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLUnknownElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUrnCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUrnCollection.cs
index ebc2d8864f..c843f92c93 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUrnCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLUrnCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F551-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLUrnCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLUrnCollection : DispHTMLUrnCollection.Interface
+public unsafe partial struct DispHTMLUrnCollection : DispHTMLUrnCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLUrnCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLVideoElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLVideoElement.cs
index 25b6fee25e..b00de5832a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLVideoElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLVideoElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059008B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLVideoElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLVideoElement : DispHTMLVideoElement.Interface
+public unsafe partial struct DispHTMLVideoElement : DispHTMLVideoElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLVideoElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLW3CComputedStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLW3CComputedStyle.cs
index 76770f77d1..31c09b9886 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLW3CComputedStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLW3CComputedStyle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590070-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLW3CComputedStyle : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLW3CComputedStyle : DispHTMLW3CComputedStyle.Interface
+public unsafe partial struct DispHTMLW3CComputedStyle : DispHTMLW3CComputedStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLW3CComputedStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWindow2.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWindow2.cs
index 0d8c143af5..251b619ed0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWindow2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWindow2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F55D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLWindow2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLWindow2 : DispHTMLWindow2.Interface
+public unsafe partial struct DispHTMLWindow2 : DispHTMLWindow2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLWindow2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWindowProxy.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWindowProxy.cs
index c3df1f1c32..bbb24b0d9d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWindowProxy.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWindowProxy.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F55E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLWindowProxy : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLWindowProxy : DispHTMLWindowProxy.Interface
+public unsafe partial struct DispHTMLWindowProxy : DispHTMLWindowProxy.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLWindowProxy));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWndOptionElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWndOptionElement.cs
index 436a8512f3..7d807412cc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWndOptionElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWndOptionElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F598-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLWndOptionElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLWndOptionElement : DispHTMLWndOptionElement.Interface
+public unsafe partial struct DispHTMLWndOptionElement : DispHTMLWndOptionElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLWndOptionElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWndSelectElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWndSelectElement.cs
index 95e3600c9e..4e64c5bdcb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWndSelectElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLWndSelectElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F597-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLWndSelectElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLWndSelectElement : DispHTMLWndSelectElement.Interface
+public unsafe partial struct DispHTMLWndSelectElement : DispHTMLWndSelectElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLWndSelectElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLXMLHttpRequest.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLXMLHttpRequest.cs
index 0a821f3d50..8602aa245c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLXMLHttpRequest.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispHTMLXMLHttpRequest.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F596-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispHTMLXMLHttpRequest : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispHTMLXMLHttpRequest : DispHTMLXMLHttpRequest.Interface
+public unsafe partial struct DispHTMLXMLHttpRequest : DispHTMLXMLHttpRequest.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispHTMLXMLHttpRequest));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputButtonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputButtonElement.cs
index 589cf3271f..b15074a1b5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputButtonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputButtonElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F51E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispIHTMLInputButtonElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispIHTMLInputButtonElement : DispIHTMLInputButtonElement.Interface
+public unsafe partial struct DispIHTMLInputButtonElement : DispIHTMLInputButtonElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispIHTMLInputButtonElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputFileElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputFileElement.cs
index 87e5972b81..19dbd67f66 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputFileElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputFileElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F542-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispIHTMLInputFileElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispIHTMLInputFileElement : DispIHTMLInputFileElement.Interface
+public unsafe partial struct DispIHTMLInputFileElement : DispIHTMLInputFileElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispIHTMLInputFileElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputImage.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputImage.cs
index f86dcc09b4..cc45ed1170 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputImage.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputImage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F51D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispIHTMLInputImage : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispIHTMLInputImage : DispIHTMLInputImage.Interface
+public unsafe partial struct DispIHTMLInputImage : DispIHTMLInputImage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispIHTMLInputImage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputTextElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputTextElement.cs
index 8addfef8f5..bf85351473 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputTextElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLInputTextElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F520-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispIHTMLInputTextElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispIHTMLInputTextElement : DispIHTMLInputTextElement.Interface
+public unsafe partial struct DispIHTMLInputTextElement : DispIHTMLInputTextElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispIHTMLInputTextElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLOptionButtonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLOptionButtonElement.cs
index feb5d587e1..f48b2f3fcf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLOptionButtonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispIHTMLOptionButtonElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F509-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispIHTMLOptionButtonElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispIHTMLOptionButtonElement : DispIHTMLOptionButtonElement.Interface
+public unsafe partial struct DispIHTMLOptionButtonElement : DispIHTMLOptionButtonElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispIHTMLOptionButtonElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispNodeIterator.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispNodeIterator.cs
index d9bed7f691..5612ffd8d2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispNodeIterator.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispNodeIterator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059009C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispNodeIterator : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispNodeIterator : DispNodeIterator.Interface
+public unsafe partial struct DispNodeIterator : DispNodeIterator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispNodeIterator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispRangeException.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispRangeException.cs
index c348ac93f0..f1b5678098 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispRangeException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispRangeException.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590095-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispRangeException : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispRangeException : DispRangeException.Interface
+public unsafe partial struct DispRangeException : DispRangeException.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispRangeException));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispRulesApplied.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispRulesApplied.cs
index 74484e756b..f8a593019d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispRulesApplied.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispRulesApplied.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5A5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispRulesApplied : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispRulesApplied : DispRulesApplied.Interface
+public unsafe partial struct DispRulesApplied : DispRulesApplied.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispRulesApplied));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispRulesAppliedCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispRulesAppliedCollection.cs
index a161b7aceb..9d550a5ef0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispRulesAppliedCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispRulesAppliedCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5A4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispRulesAppliedCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispRulesAppliedCollection : DispRulesAppliedCollection.Interface
+public unsafe partial struct DispRulesAppliedCollection : DispRulesAppliedCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispRulesAppliedCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGAElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGAElement.cs
index e780963be0..aa1c2206a5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGAElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGAElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590033-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGAElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGAElement : DispSVGAElement.Interface
+public unsafe partial struct DispSVGAElement : DispSVGAElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGAElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGCircleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGCircleElement.cs
index 9902629baa..2dd40cf48e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGCircleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGCircleElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059000A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGCircleElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGCircleElement : DispSVGCircleElement.Interface
+public unsafe partial struct DispSVGCircleElement : DispSVGCircleElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGCircleElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGClipPathElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGClipPathElement.cs
index 12b9e7a145..d3bff1c114 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGClipPathElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGClipPathElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059003B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGClipPathElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGClipPathElement : DispSVGClipPathElement.Interface
+public unsafe partial struct DispSVGClipPathElement : DispSVGClipPathElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGClipPathElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGDefsElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGDefsElement.cs
index 9207174e69..2a428f139d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGDefsElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGDefsElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590003-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGDefsElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGDefsElement : DispSVGDefsElement.Interface
+public unsafe partial struct DispSVGDefsElement : DispSVGDefsElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGDefsElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGDescElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGDescElement.cs
index 3d25087295..7212f6c9c6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGDescElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGDescElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590005-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGDescElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGDescElement : DispSVGDescElement.Interface
+public unsafe partial struct DispSVGDescElement : DispSVGDescElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGDescElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElement.cs
index df1af03389..d95c223adc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590000-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGElement : DispSVGElement.Interface
+public unsafe partial struct DispSVGElement : DispSVGElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElementInstance.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElementInstance.cs
index 870755a67c..924be74934 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElementInstance.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElementInstance.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590007-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGElementInstance : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGElementInstance : DispSVGElementInstance.Interface
+public unsafe partial struct DispSVGElementInstance : DispSVGElementInstance.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGElementInstance));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElementInstanceList.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElementInstanceList.cs
index b448ca8fc4..4bd34978b5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElementInstanceList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGElementInstanceList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590008-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGElementInstanceList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGElementInstanceList : DispSVGElementInstanceList.Interface
+public unsafe partial struct DispSVGElementInstanceList : DispSVGElementInstanceList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGElementInstanceList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGEllipseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGEllipseElement.cs
index 05631354b0..5b03f0d490 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGEllipseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGEllipseElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059000B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGEllipseElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGEllipseElement : DispSVGEllipseElement.Interface
+public unsafe partial struct DispSVGEllipseElement : DispSVGEllipseElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGEllipseElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGException.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGException.cs
index 98cb02072f..a80e32c311 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGException.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590096-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGException : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGException : DispSVGException.Interface
+public unsafe partial struct DispSVGException : DispSVGException.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGException));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGGElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGGElement.cs
index b3d5b47785..58578dcc17 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGGElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGGElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590002-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGGElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGGElement : DispSVGGElement.Interface
+public unsafe partial struct DispSVGGElement : DispSVGGElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGGElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGGradientElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGGradientElement.cs
index e1094cf476..89425fae5a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGGradientElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGGradientElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059002E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGGradientElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGGradientElement : DispSVGGradientElement.Interface
+public unsafe partial struct DispSVGGradientElement : DispSVGGradientElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGGradientElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGImageElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGImageElement.cs
index 7624878a2d..9e718a2424 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGImageElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGImageElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590027-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGImageElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGImageElement : DispSVGImageElement.Interface
+public unsafe partial struct DispSVGImageElement : DispSVGImageElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGImageElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGLineElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGLineElement.cs
index 405c390eeb..6973558f0d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGLineElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGLineElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059000C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGLineElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGLineElement : DispSVGLineElement.Interface
+public unsafe partial struct DispSVGLineElement : DispSVGLineElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGLineElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGLinearGradientElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGLinearGradientElement.cs
index 70688f8357..a93af91e54 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGLinearGradientElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGLinearGradientElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059002A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGLinearGradientElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGLinearGradientElement : DispSVGLinearGradientElement.Interface
+public unsafe partial struct DispSVGLinearGradientElement : DispSVGLinearGradientElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGLinearGradientElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMarkerElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMarkerElement.cs
index 5c1cb48104..a6931d9dd8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMarkerElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMarkerElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590036-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGMarkerElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGMarkerElement : DispSVGMarkerElement.Interface
+public unsafe partial struct DispSVGMarkerElement : DispSVGMarkerElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGMarkerElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMaskElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMaskElement.cs
index d70bca8c7b..a2a8674f2c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMaskElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMaskElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059003C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGMaskElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGMaskElement : DispSVGMaskElement.Interface
+public unsafe partial struct DispSVGMaskElement : DispSVGMaskElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGMaskElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMetadataElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMetadataElement.cs
index c182eadf1d..669d4c3f2e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMetadataElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGMetadataElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059002F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGMetadataElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGMetadataElement : DispSVGMetadataElement.Interface
+public unsafe partial struct DispSVGMetadataElement : DispSVGMetadataElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGMetadataElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathElement.cs
index c0f93516d9..62ae27ad0b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590011-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathElement : DispSVGPathElement.Interface
+public unsafe partial struct DispSVGPathElement : DispSVGPathElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegArcAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegArcAbs.cs
index de9c31ca36..0273cf54b6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegArcAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegArcAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590013-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegArcAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegArcAbs : DispSVGPathSegArcAbs.Interface
+public unsafe partial struct DispSVGPathSegArcAbs : DispSVGPathSegArcAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegArcAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegArcRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegArcRel.cs
index 20a09d7656..945870491d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegArcRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegArcRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590014-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegArcRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegArcRel : DispSVGPathSegArcRel.Interface
+public unsafe partial struct DispSVGPathSegArcRel : DispSVGPathSegArcRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegArcRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegClosePath.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegClosePath.cs
index 6adafe1a02..6b43163645 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegClosePath.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegClosePath.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590015-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegClosePath : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegClosePath : DispSVGPathSegClosePath.Interface
+public unsafe partial struct DispSVGPathSegClosePath : DispSVGPathSegClosePath.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegClosePath));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicAbs.cs
index b13cf545ad..ef420dee73 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590016-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegCurvetoCubicAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegCurvetoCubicAbs : DispSVGPathSegCurvetoCubicAbs.Interface
+public unsafe partial struct DispSVGPathSegCurvetoCubicAbs : DispSVGPathSegCurvetoCubicAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegCurvetoCubicAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicRel.cs
index 873920dd27..a94ecab62b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590017-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegCurvetoCubicRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegCurvetoCubicRel : DispSVGPathSegCurvetoCubicRel.Interface
+public unsafe partial struct DispSVGPathSegCurvetoCubicRel : DispSVGPathSegCurvetoCubicRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegCurvetoCubicRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicSmoothAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicSmoothAbs.cs
index 209eee2960..120e03ef39 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicSmoothAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicSmoothAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590018-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegCurvetoCubicSmoothAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegCurvetoCubicSmoothAbs : DispSVGPathSegCurvetoCubicSmoothAbs.Interface
+public unsafe partial struct DispSVGPathSegCurvetoCubicSmoothAbs : DispSVGPathSegCurvetoCubicSmoothAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegCurvetoCubicSmoothAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicSmoothRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicSmoothRel.cs
index b0f55bc708..9f9270818c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicSmoothRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoCubicSmoothRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590019-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegCurvetoCubicSmoothRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegCurvetoCubicSmoothRel : DispSVGPathSegCurvetoCubicSmoothRel.Interface
+public unsafe partial struct DispSVGPathSegCurvetoCubicSmoothRel : DispSVGPathSegCurvetoCubicSmoothRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegCurvetoCubicSmoothRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticAbs.cs
index b93384d3d5..c649266674 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059001A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegCurvetoQuadraticAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegCurvetoQuadraticAbs : DispSVGPathSegCurvetoQuadraticAbs.Interface
+public unsafe partial struct DispSVGPathSegCurvetoQuadraticAbs : DispSVGPathSegCurvetoQuadraticAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegCurvetoQuadraticAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticRel.cs
index d200e47031..a00b5c7514 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059001B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegCurvetoQuadraticRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegCurvetoQuadraticRel : DispSVGPathSegCurvetoQuadraticRel.Interface
+public unsafe partial struct DispSVGPathSegCurvetoQuadraticRel : DispSVGPathSegCurvetoQuadraticRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegCurvetoQuadraticRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticSmoothAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticSmoothAbs.cs
index 89f51ae8f4..30e84074af 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticSmoothAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticSmoothAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059001C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegCurvetoQuadraticSmoothAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegCurvetoQuadraticSmoothAbs : DispSVGPathSegCurvetoQuadraticSmoothAbs.Interface
+public unsafe partial struct DispSVGPathSegCurvetoQuadraticSmoothAbs : DispSVGPathSegCurvetoQuadraticSmoothAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegCurvetoQuadraticSmoothAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticSmoothRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticSmoothRel.cs
index 07f72577bb..022788da4d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticSmoothRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegCurvetoQuadraticSmoothRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059001D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegCurvetoQuadraticSmoothRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegCurvetoQuadraticSmoothRel : DispSVGPathSegCurvetoQuadraticSmoothRel.Interface
+public unsafe partial struct DispSVGPathSegCurvetoQuadraticSmoothRel : DispSVGPathSegCurvetoQuadraticSmoothRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegCurvetoQuadraticSmoothRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoAbs.cs
index 8e61ac306e..de201ce07d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059001E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegLinetoAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegLinetoAbs : DispSVGPathSegLinetoAbs.Interface
+public unsafe partial struct DispSVGPathSegLinetoAbs : DispSVGPathSegLinetoAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegLinetoAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoHorizontalAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoHorizontalAbs.cs
index 024914d24d..e39ca59ee8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoHorizontalAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoHorizontalAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059001F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegLinetoHorizontalAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegLinetoHorizontalAbs : DispSVGPathSegLinetoHorizontalAbs.Interface
+public unsafe partial struct DispSVGPathSegLinetoHorizontalAbs : DispSVGPathSegLinetoHorizontalAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegLinetoHorizontalAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoHorizontalRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoHorizontalRel.cs
index 8f8c847591..03a8983144 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoHorizontalRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoHorizontalRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590020-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegLinetoHorizontalRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegLinetoHorizontalRel : DispSVGPathSegLinetoHorizontalRel.Interface
+public unsafe partial struct DispSVGPathSegLinetoHorizontalRel : DispSVGPathSegLinetoHorizontalRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegLinetoHorizontalRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoRel.cs
index 25453e264a..87e78a71ae 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590021-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegLinetoRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegLinetoRel : DispSVGPathSegLinetoRel.Interface
+public unsafe partial struct DispSVGPathSegLinetoRel : DispSVGPathSegLinetoRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegLinetoRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoVerticalAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoVerticalAbs.cs
index 5dcbb840cf..86971a3c98 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoVerticalAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoVerticalAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590022-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegLinetoVerticalAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegLinetoVerticalAbs : DispSVGPathSegLinetoVerticalAbs.Interface
+public unsafe partial struct DispSVGPathSegLinetoVerticalAbs : DispSVGPathSegLinetoVerticalAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegLinetoVerticalAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoVerticalRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoVerticalRel.cs
index 0f258f2631..2bbd7a1343 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoVerticalRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegLinetoVerticalRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590023-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegLinetoVerticalRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegLinetoVerticalRel : DispSVGPathSegLinetoVerticalRel.Interface
+public unsafe partial struct DispSVGPathSegLinetoVerticalRel : DispSVGPathSegLinetoVerticalRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegLinetoVerticalRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegMovetoAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegMovetoAbs.cs
index 5f6b7cf358..9b37a16b18 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegMovetoAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegMovetoAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590024-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegMovetoAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegMovetoAbs : DispSVGPathSegMovetoAbs.Interface
+public unsafe partial struct DispSVGPathSegMovetoAbs : DispSVGPathSegMovetoAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegMovetoAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegMovetoRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegMovetoRel.cs
index e86ae1d406..16957e896f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegMovetoRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPathSegMovetoRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590025-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPathSegMovetoRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPathSegMovetoRel : DispSVGPathSegMovetoRel.Interface
+public unsafe partial struct DispSVGPathSegMovetoRel : DispSVGPathSegMovetoRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPathSegMovetoRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPatternElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPatternElement.cs
index 5198fac60e..6c768252f9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPatternElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPatternElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059002C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPatternElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPatternElement : DispSVGPatternElement.Interface
+public unsafe partial struct DispSVGPatternElement : DispSVGPatternElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPatternElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPolygonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPolygonElement.cs
index f283686212..c8e91c39f8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPolygonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPolygonElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059000D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPolygonElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPolygonElement : DispSVGPolygonElement.Interface
+public unsafe partial struct DispSVGPolygonElement : DispSVGPolygonElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPolygonElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPolylineElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPolylineElement.cs
index 12089c0aa7..7221985c87 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPolylineElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGPolylineElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059000E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGPolylineElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGPolylineElement : DispSVGPolylineElement.Interface
+public unsafe partial struct DispSVGPolylineElement : DispSVGPolylineElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGPolylineElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGRadialGradientElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGRadialGradientElement.cs
index ebb90982dc..5f715c8c94 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGRadialGradientElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGRadialGradientElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059002B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGRadialGradientElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGRadialGradientElement : DispSVGRadialGradientElement.Interface
+public unsafe partial struct DispSVGRadialGradientElement : DispSVGRadialGradientElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGRadialGradientElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGRectElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGRectElement.cs
index 48a118cb07..86fe2faff9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGRectElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGRectElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590009-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGRectElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGRectElement : DispSVGRectElement.Interface
+public unsafe partial struct DispSVGRectElement : DispSVGRectElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGRectElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSVGElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSVGElement.cs
index f910c09880..c4cc7d4c3b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSVGElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSVGElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590001-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGSVGElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGSVGElement : DispSVGSVGElement.Interface
+public unsafe partial struct DispSVGSVGElement : DispSVGSVGElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGSVGElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGScriptElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGScriptElement.cs
index 080a9e771e..505d4c2a0c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGScriptElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGScriptElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590039-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGScriptElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGScriptElement : DispSVGScriptElement.Interface
+public unsafe partial struct DispSVGScriptElement : DispSVGScriptElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGScriptElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGStopElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGStopElement.cs
index ea21423bb6..14d94933af 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGStopElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGStopElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059002D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGStopElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGStopElement : DispSVGStopElement.Interface
+public unsafe partial struct DispSVGStopElement : DispSVGStopElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGStopElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGStyleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGStyleElement.cs
index 0713aff768..d4ae670b43 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGStyleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGStyleElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590029-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGStyleElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGStyleElement : DispSVGStyleElement.Interface
+public unsafe partial struct DispSVGStyleElement : DispSVGStyleElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGStyleElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSwitchElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSwitchElement.cs
index af3a69804c..f4ebbc9a0f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSwitchElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSwitchElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590030-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGSwitchElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGSwitchElement : DispSVGSwitchElement.Interface
+public unsafe partial struct DispSVGSwitchElement : DispSVGSwitchElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGSwitchElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSymbolElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSymbolElement.cs
index 8617cada19..80f2c62240 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSymbolElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGSymbolElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590004-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGSymbolElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGSymbolElement : DispSVGSymbolElement.Interface
+public unsafe partial struct DispSVGSymbolElement : DispSVGSymbolElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGSymbolElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTSpanElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTSpanElement.cs
index 42395c22fa..fe4ecfb31d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTSpanElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTSpanElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059003A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGTSpanElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGTSpanElement : DispSVGTSpanElement.Interface
+public unsafe partial struct DispSVGTSpanElement : DispSVGTSpanElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGTSpanElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextContentElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextContentElement.cs
index d565e535f0..7504aeef10 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextContentElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextContentElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590035-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGTextContentElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGTextContentElement : DispSVGTextContentElement.Interface
+public unsafe partial struct DispSVGTextContentElement : DispSVGTextContentElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGTextContentElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextElement.cs
index 06144f9f4a..9f7a75b2ac 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590037-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGTextElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGTextElement : DispSVGTextElement.Interface
+public unsafe partial struct DispSVGTextElement : DispSVGTextElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGTextElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextPathElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextPathElement.cs
index 01642450a4..8637c28eeb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextPathElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextPathElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059003D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGTextPathElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGTextPathElement : DispSVGTextPathElement.Interface
+public unsafe partial struct DispSVGTextPathElement : DispSVGTextPathElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGTextPathElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextPositioningElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextPositioningElement.cs
index 6bc9b15774..8eff2e43f9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextPositioningElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTextPositioningElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590038-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGTextPositioningElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGTextPositioningElement : DispSVGTextPositioningElement.Interface
+public unsafe partial struct DispSVGTextPositioningElement : DispSVGTextPositioningElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGTextPositioningElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTitleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTitleElement.cs
index b5418d424f..3ef8ed4b9e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTitleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGTitleElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590006-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGTitleElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGTitleElement : DispSVGTitleElement.Interface
+public unsafe partial struct DispSVGTitleElement : DispSVGTitleElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGTitleElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGUseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGUseElement.cs
index e5a35f20c6..617273bff3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGUseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGUseElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590010-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGUseElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGUseElement : DispSVGUseElement.Interface
+public unsafe partial struct DispSVGUseElement : DispSVGUseElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGUseElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGViewElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGViewElement.cs
index 04958ee05c..a3d469ecc0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGViewElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGViewElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590034-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGViewElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGViewElement : DispSVGViewElement.Interface
+public unsafe partial struct DispSVGViewElement : DispSVGViewElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGViewElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGZoomEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGZoomEvent.cs
index 63bcdf90ff..04e2b26249 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispSVGZoomEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispSVGZoomEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30590031-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispSVGZoomEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispSVGZoomEvent : DispSVGZoomEvent.Interface
+public unsafe partial struct DispSVGZoomEvent : DispSVGZoomEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispSVGZoomEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispStaticNodeList.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispStaticNodeList.cs
index 5362f71c03..4396b3fa88 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispStaticNodeList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispStaticNodeList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F59B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispStaticNodeList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispStaticNodeList : DispStaticNodeList.Interface
+public unsafe partial struct DispStaticNodeList : DispStaticNodeList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispStaticNodeList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispTreeWalker.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispTreeWalker.cs
index 1642b24b6b..014fac3fb9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispTreeWalker.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispTreeWalker.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3059009D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispTreeWalker : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispTreeWalker : DispTreeWalker.Interface
+public unsafe partial struct DispTreeWalker : DispTreeWalker.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispTreeWalker));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeocoordinates.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeocoordinates.cs
index 7b791ebfec..aff9c0ddfd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeocoordinates.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeocoordinates.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900BE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispWebGeocoordinates : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispWebGeocoordinates : DispWebGeocoordinates.Interface
+public unsafe partial struct DispWebGeocoordinates : DispWebGeocoordinates.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispWebGeocoordinates));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeolocation.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeolocation.cs
index d2b1ef9401..414d4ff753 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeolocation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeolocation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900BD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispWebGeolocation : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispWebGeolocation : DispWebGeolocation.Interface
+public unsafe partial struct DispWebGeolocation : DispWebGeolocation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispWebGeolocation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeoposition.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeoposition.cs
index b17543086f..d1bcbdc484 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeoposition.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeoposition.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900C1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispWebGeoposition : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispWebGeoposition : DispWebGeoposition.Interface
+public unsafe partial struct DispWebGeoposition : DispWebGeoposition.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispWebGeoposition));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeopositionError.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeopositionError.cs
index 18ce4b0028..1839794339 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeopositionError.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispWebGeopositionError.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900BF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispWebGeopositionError : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispWebGeopositionError : DispWebGeopositionError.Interface
+public unsafe partial struct DispWebGeopositionError : DispWebGeopositionError.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispWebGeopositionError));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispXDomainRequest.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispXDomainRequest.cs
index 0c122d1e69..2f3aff79ff 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispXDomainRequest.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispXDomainRequest.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F599-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispXDomainRequest : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispXDomainRequest : DispXDomainRequest.Interface
+public unsafe partial struct DispXDomainRequest : DispXDomainRequest.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispXDomainRequest));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispXMLHttpRequestEventTarget.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispXMLHttpRequestEventTarget.cs
index 944e993312..2392990e9f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispXMLHttpRequestEventTarget.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispXMLHttpRequestEventTarget.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900E7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispXMLHttpRequestEventTarget : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispXMLHttpRequestEventTarget : DispXMLHttpRequestEventTarget.Interface
+public unsafe partial struct DispXMLHttpRequestEventTarget : DispXMLHttpRequestEventTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispXMLHttpRequestEventTarget));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/DispXMLSerializer.cs b/sources/Interop/Windows/Windows/um/MsHTML/DispXMLSerializer.cs
index 3602d387db..f8a70827f5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/DispXMLSerializer.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/DispXMLSerializer.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305900AD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct DispXMLSerializer : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DispXMLSerializer : DispXMLSerializer.Interface
+public unsafe partial struct DispXMLSerializer : DispXMLSerializer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DispXMLSerializer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/EventException.cs b/sources/Interop/Windows/Windows/um/MsHTML/EventException.cs
index b381c8a597..f3ed922256 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/EventException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/EventException.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051073B-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct EventException
+public unsafe partial struct EventException : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_EventException));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/FontNames.cs b/sources/Interop/Windows/Windows/um/MsHTML/FontNames.cs
index 21fecc4a32..63f53682dc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/FontNames.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/FontNames.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F83A-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct FontNames
+public unsafe partial struct FontNames : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FontNames));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/FramesCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/FramesCollection.cs
index 5c0b46c943..4a20888ebb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/FramesCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/FramesCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F7F6-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct FramesCollection
+public unsafe partial struct FramesCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FramesCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTCAttachBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTCAttachBehavior.cs
index e9dcaadb54..901a50a0a8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTCAttachBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTCAttachBehavior.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F5F5-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTCAttachBehavior
+public unsafe partial struct HTCAttachBehavior : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTCAttachBehavior));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTCDefaultDispatch.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTCDefaultDispatch.cs
index 87fa652933..a8d8a38fb6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTCDefaultDispatch.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTCDefaultDispatch.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F4FC-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTCDefaultDispatch
+public unsafe partial struct HTCDefaultDispatch : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTCDefaultDispatch));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTCDescBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTCDescBehavior.cs
index 58ec2d3398..1936a2717e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTCDescBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTCDescBehavior.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F5DD-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTCDescBehavior
+public unsafe partial struct HTCDescBehavior : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTCDescBehavior));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTCEventBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTCEventBehavior.cs
index 3e303c4e52..dbef6ef443 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTCEventBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTCEventBehavior.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F4FE-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTCEventBehavior
+public unsafe partial struct HTCEventBehavior : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTCEventBehavior));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTCMethodBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTCMethodBehavior.cs
index 30bdfb41e9..fb5d9192cb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTCMethodBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTCMethodBehavior.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F630-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTCMethodBehavior
+public unsafe partial struct HTCMethodBehavior : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTCMethodBehavior));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTCPropertyBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTCPropertyBehavior.cs
index 8611114c2d..30f7c1a8e0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTCPropertyBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTCPropertyBehavior.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F5DE-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTCPropertyBehavior
+public unsafe partial struct HTCPropertyBehavior : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTCPropertyBehavior));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorElement.cs
index 5be3098b60..0d4331d6c6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F248-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLAnchorElement
+public unsafe partial struct HTMLAnchorElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLAnchorElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorEvents.cs
index f3a49507b8..3dc2e3a60a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F29D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLAnchorEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLAnchorEvents : HTMLAnchorEvents.Interface
+public unsafe partial struct HTMLAnchorEvents : HTMLAnchorEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLAnchorEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorEvents2.cs
index d7078a34bd..9a2ed05545 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAnchorEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F610-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLAnchorEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLAnchorEvents2 : HTMLAnchorEvents2.Interface
+public unsafe partial struct HTMLAnchorEvents2 : HTMLAnchorEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLAnchorEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAppBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAppBehavior.cs
index d19a1812b3..cf1e152288 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAppBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAppBehavior.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F5CB-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLAppBehavior
+public unsafe partial struct HTMLAppBehavior : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLAppBehavior));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaElement.cs
index d8011c547d..9836aaeab4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F283-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLAreaElement
+public unsafe partial struct HTMLAreaElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLAreaElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaEvents.cs
index c660f617d7..bb81d8e8a6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F366-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLAreaEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLAreaEvents : HTMLAreaEvents.Interface
+public unsafe partial struct HTMLAreaEvents : HTMLAreaEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLAreaEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaEvents2.cs
index 64cce6d17b..d2ef9bb6c0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreaEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F611-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLAreaEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLAreaEvents2 : HTMLAreaEvents2.Interface
+public unsafe partial struct HTMLAreaEvents2 : HTMLAreaEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLAreaEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreasCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreasCollection.cs
index b931d3b38e..57ae07ef1c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreasCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAreasCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F4CA-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLAreasCollection
+public unsafe partial struct HTMLAreasCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLAreasCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAttributeCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAttributeCollection.cs
index d05fa029c8..e1710cbf4d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAttributeCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAttributeCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F4CC-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLAttributeCollection
+public unsafe partial struct HTMLAttributeCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLAttributeCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAudioElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAudioElement.cs
index 98e35f15a6..4d7f505fac 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAudioElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAudioElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051070E-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLAudioElement
+public unsafe partial struct HTMLAudioElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLAudioElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAudioElementFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAudioElementFactory.cs
index 3a00c777e1..adb31bccd0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLAudioElementFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLAudioElementFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305107EC-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLAudioElementFactory
+public unsafe partial struct HTMLAudioElementFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLAudioElementFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBGsound.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBGsound.cs
index 9d01d5ec0e..d89c20936c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBGsound.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBGsound.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F370-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLBGsound
+public unsafe partial struct HTMLBGsound : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLBGsound));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBRElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBRElement.cs
index bbd9e83a56..72a924427e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBRElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBRElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F280-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLBRElement
+public unsafe partial struct HTMLBRElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLBRElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBaseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBaseElement.cs
index 054347566c..1e34188b2d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBaseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBaseElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F276-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLBaseElement
+public unsafe partial struct HTMLBaseElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLBaseElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBaseFontElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBaseFontElement.cs
index a74b0622dc..dbbb4c58fe 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBaseFontElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBaseFontElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F282-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLBaseFontElement
+public unsafe partial struct HTMLBaseFontElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLBaseFontElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBlockElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBlockElement.cs
index 2e4719956b..d88d4539ec 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBlockElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBlockElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F281-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLBlockElement
+public unsafe partial struct HTMLBlockElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLBlockElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBody.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBody.cs
index 342e5b511e..49c64e0710 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLBody.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLBody.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F24A-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLBody
+public unsafe partial struct HTMLBody : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLBody));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElement.cs
index 53698d21f7..ff0203483c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2C6-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLButtonElement
+public unsafe partial struct HTMLButtonElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLButtonElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElementEvents.cs
index bbf31914cc..d40c19aa0e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2B3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLButtonElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLButtonElementEvents : HTMLButtonElementEvents.Interface
+public unsafe partial struct HTMLButtonElementEvents : HTMLButtonElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLButtonElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElementEvents2.cs
index 290d32c30f..e90b0de0a3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLButtonElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F617-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLButtonElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLButtonElementEvents2 : HTMLButtonElementEvents2.Interface
+public unsafe partial struct HTMLButtonElementEvents2 : HTMLButtonElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLButtonElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSImportRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSImportRule.cs
index 9667da6e92..bf86aca2b1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSImportRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSImportRule.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106F0-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLCSSImportRule
+public unsafe partial struct HTMLCSSImportRule : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLCSSImportRule));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSMediaList.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSMediaList.cs
index fbedb90c7b..65b76f9455 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSMediaList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSMediaList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510732-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLCSSMediaList
+public unsafe partial struct HTMLCSSMediaList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLCSSMediaList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSMediaRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSMediaRule.cs
index c8873ad313..1dad23e794 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSMediaRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSMediaRule.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106F1-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLCSSMediaRule
+public unsafe partial struct HTMLCSSMediaRule : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLCSSMediaRule));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSNamespaceRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSNamespaceRule.cs
index 368e876929..27c58831e2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSNamespaceRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSNamespaceRule.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106F2-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLCSSNamespaceRule
+public unsafe partial struct HTMLCSSNamespaceRule : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLCSSNamespaceRule));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSRule.cs
index d70e8de17b..d75ddf792c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSRule.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106EF-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLCSSRule
+public unsafe partial struct HTMLCSSRule : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLCSSRule));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSStyleDeclaration.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSStyleDeclaration.cs
index 529030b03d..2ce680ed34 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSStyleDeclaration.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCSSStyleDeclaration.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510741-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLCSSStyleDeclaration
+public unsafe partial struct HTMLCSSStyleDeclaration : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLCSSStyleDeclaration));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCanvasElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCanvasElement.cs
index 7ffb65e80d..a91ba8fe9b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCanvasElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCanvasElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106E5-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLCanvasElement
+public unsafe partial struct HTMLCanvasElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLCanvasElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCommentElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCommentElement.cs
index 452fce57ca..ee6f4b48e8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCommentElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCommentElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F317-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLCommentElement
+public unsafe partial struct HTMLCommentElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLCommentElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLControlElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLControlElementEvents.cs
index 1f29bffabb..473e9c9e4e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLControlElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLControlElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4EA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLControlElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLControlElementEvents : HTMLControlElementEvents.Interface
+public unsafe partial struct HTMLControlElementEvents : HTMLControlElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLControlElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLControlElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLControlElementEvents2.cs
index 164d20df33..9bf035599d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLControlElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLControlElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F612-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLControlElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLControlElementEvents2 : HTMLControlElementEvents2.Interface
+public unsafe partial struct HTMLControlElementEvents2 : HTMLControlElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLControlElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCurrentStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCurrentStyle.cs
index 7ceef7d37a..855c79dab3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLCurrentStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLCurrentStyle.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F3DC-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLCurrentStyle
+public unsafe partial struct HTMLCurrentStyle : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLCurrentStyle));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDDElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDDElement.cs
index 741f1c5842..ed841c3710 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDDElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDDElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F27F-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDDElement
+public unsafe partial struct HTMLDDElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDDElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDListElement.cs
index 768ae2ad07..369ae0de56 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDListElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F27D-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDListElement
+public unsafe partial struct HTMLDListElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDListElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMAttribute.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMAttribute.cs
index 7534fa70b4..36a81c782e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMAttribute.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMAttribute.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F4B2-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDOMAttribute
+public unsafe partial struct HTMLDOMAttribute : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDOMAttribute));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMImplementation.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMImplementation.cs
index 2937ef7d5e..8cb52292bf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMImplementation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMImplementation.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F80E-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDOMImplementation
+public unsafe partial struct HTMLDOMImplementation : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDOMImplementation));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMRange.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMRange.cs
index 734ec3bd13..f436feb25b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMRange.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMRange.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106C3-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDOMRange
+public unsafe partial struct HTMLDOMRange : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDOMRange));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMTextNode.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMTextNode.cs
index 2c801fe764..5c0ce07a4f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMTextNode.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMTextNode.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F4BA-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDOMTextNode
+public unsafe partial struct HTMLDOMTextNode : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDOMTextNode));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMXmlSerializerFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMXmlSerializerFactory.cs
index c4a4fedd98..bf5390f05a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMXmlSerializerFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDOMXmlSerializerFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510780-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDOMXmlSerializerFactory
+public unsafe partial struct HTMLDOMXmlSerializerFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDOMXmlSerializerFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDTElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDTElement.cs
index 8c6fc43677..54c94be129 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDTElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDTElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F27C-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDTElement
+public unsafe partial struct HTMLDTElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDTElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDefaults.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDefaults.cs
index a024575319..14b97082bd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDefaults.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDefaults.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F6C8-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDefaults
+public unsafe partial struct HTMLDefaults : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDefaults));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDialog.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDialog.cs
index 21220068fb..81e750940b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDialog.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDialog.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F28A-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDialog
+public unsafe partial struct HTMLDialog : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDialog));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDivElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDivElement.cs
index a2578b5d1a..cd2e0b3025 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDivElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDivElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F27E-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDivElement
+public unsafe partial struct HTMLDivElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDivElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDivPosition.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDivPosition.cs
index 79efdd7c7c..9a91b2d522 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDivPosition.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDivPosition.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F249-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDivPosition
+public unsafe partial struct HTMLDivPosition : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDivPosition));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocument.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocument.cs
index 051a6ba17f..febe38568a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocument.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocument.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("25336920-03F9-11CF-8FD0-00AA00686F13")]
-public partial struct HTMLDocument
+public unsafe partial struct HTMLDocument : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDocument));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentCompatibleInfo.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentCompatibleInfo.cs
index 1d8f8654c6..96eccccc8f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentCompatibleInfo.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentCompatibleInfo.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051041B-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDocumentCompatibleInfo
+public unsafe partial struct HTMLDocumentCompatibleInfo : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDocumentCompatibleInfo));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentCompatibleInfoCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentCompatibleInfoCollection.cs
index 3f576eb07e..7786d189e4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentCompatibleInfoCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentCompatibleInfoCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510419-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLDocumentCompatibleInfoCollection
+public unsafe partial struct HTMLDocumentCompatibleInfoCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDocumentCompatibleInfoCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents.cs
index b153f310f8..9ffe6e4049 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F260-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLDocumentEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLDocumentEvents : HTMLDocumentEvents.Interface
+public unsafe partial struct HTMLDocumentEvents : HTMLDocumentEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDocumentEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents2.cs
index 1be08895e6..3042a044dd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F613-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLDocumentEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLDocumentEvents2 : HTMLDocumentEvents2.Interface
+public unsafe partial struct HTMLDocumentEvents2 : HTMLDocumentEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDocumentEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents3.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents3.cs
index 312b542640..be811275c4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5A0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLDocumentEvents3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLDocumentEvents3 : HTMLDocumentEvents3.Interface
+public unsafe partial struct HTMLDocumentEvents3 : HTMLDocumentEvents3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDocumentEvents3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents4.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents4.cs
index 83a4cffad0..b26b3c86a2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLDocumentEvents4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510737-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLDocumentEvents4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLDocumentEvents4 : HTMLDocumentEvents4.Interface
+public unsafe partial struct HTMLDocumentEvents4 : HTMLDocumentEvents4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLDocumentEvents4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementCollection.cs
index a134edce2e..b51b289a77 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F4CB-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLElementCollection
+public unsafe partial struct HTMLElementCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLElementCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents.cs
index a6417d7af7..eb4df55fa3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F33C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLElementEvents : HTMLElementEvents.Interface
+public unsafe partial struct HTMLElementEvents : HTMLElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents2.cs
index c92fa160ac..81579fff8c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F60F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLElementEvents2 : HTMLElementEvents2.Interface
+public unsafe partial struct HTMLElementEvents2 : HTMLElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents3.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents3.cs
index a4ff79ec2f..7bf18c0688 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F59F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLElementEvents3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLElementEvents3 : HTMLElementEvents3.Interface
+public unsafe partial struct HTMLElementEvents3 : HTMLElementEvents3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLElementEvents3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents4.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents4.cs
index 58022c9a40..7f3b60b0d2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLElementEvents4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051075E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLElementEvents4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLElementEvents4 : HTMLElementEvents4.Interface
+public unsafe partial struct HTMLElementEvents4 : HTMLElementEvents4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLElementEvents4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLEmbed.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLEmbed.cs
index 6d2f4da1e0..12b95c3820 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLEmbed.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLEmbed.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F25D-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLEmbed
+public unsafe partial struct HTMLEmbed : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLEmbed));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFieldSetElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFieldSetElement.cs
index 56bced997d..2b5ab70306 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFieldSetElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFieldSetElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F3E8-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLFieldSetElement
+public unsafe partial struct HTMLFieldSetElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLFieldSetElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFontElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFontElement.cs
index 67ebb61383..9255ac14f8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFontElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFontElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F27B-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLFontElement
+public unsafe partial struct HTMLFontElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLFontElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElement.cs
index 95a56e1651..f3e0902da0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F251-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLFormElement
+public unsafe partial struct HTMLFormElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLFormElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElementEvents.cs
index 5a085d75fc..657eb64ed8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F364-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLFormElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLFormElementEvents : HTMLFormElementEvents.Interface
+public unsafe partial struct HTMLFormElementEvents : HTMLFormElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLFormElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElementEvents2.cs
index 1520737a72..bc7e4ece8e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFormElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F614-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLFormElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLFormElementEvents2 : HTMLFormElementEvents2.Interface
+public unsafe partial struct HTMLFormElementEvents2 : HTMLFormElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLFormElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameBase.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameBase.cs
index 4b780154be..ad221836bd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameBase.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameBase.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F312-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLFrameBase
+public unsafe partial struct HTMLFrameBase : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLFrameBase));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameElement.cs
index 023084b7a7..f84ae217d1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F314-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLFrameElement
+public unsafe partial struct HTMLFrameElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLFrameElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSetSite.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSetSite.cs
index b4bd284718..2dc0089899 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSetSite.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSetSite.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F31A-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLFrameSetSite
+public unsafe partial struct HTMLFrameSetSite : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLFrameSetSite));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSiteEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSiteEvents.cs
index abe364d62e..2e26930631 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSiteEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSiteEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F800-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLFrameSiteEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLFrameSiteEvents : HTMLFrameSiteEvents.Interface
+public unsafe partial struct HTMLFrameSiteEvents : HTMLFrameSiteEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLFrameSiteEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSiteEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSiteEvents2.cs
index 55ae65d6cf..e038937d1f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSiteEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLFrameSiteEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F7FF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLFrameSiteEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLFrameSiteEvents2 : HTMLFrameSiteEvents2.Interface
+public unsafe partial struct HTMLFrameSiteEvents2 : HTMLFrameSiteEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLFrameSiteEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLGenericElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLGenericElement.cs
index f271fefac9..377a9bc579 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLGenericElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLGenericElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F4B8-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLGenericElement
+public unsafe partial struct HTMLGenericElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLGenericElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLHRElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLHRElement.cs
index fb5d7f63aa..12ab9ad8e5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLHRElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLHRElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F252-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLHRElement
+public unsafe partial struct HTMLHRElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLHRElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLHeadElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLHeadElement.cs
index 4ca920326a..0ddf176880 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLHeadElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLHeadElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F493-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLHeadElement
+public unsafe partial struct HTMLHeadElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLHeadElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLHeaderElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLHeaderElement.cs
index 93465f43c6..cc482b2928 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLHeaderElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLHeaderElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F27A-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLHeaderElement
+public unsafe partial struct HTMLHeaderElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLHeaderElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLHistory.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLHistory.cs
index 87752921f5..ee971d38fd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLHistory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLHistory.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("FECEAAA3-8405-11CF-8BA1-00AA00476DA6")]
-public partial struct HTMLHistory
+public unsafe partial struct HTMLHistory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLHistory));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLHtmlElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLHtmlElement.cs
index a97e39a7ad..4e91ae26b7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLHtmlElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLHtmlElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F491-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLHtmlElement
+public unsafe partial struct HTMLHtmlElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLHtmlElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLIFrame.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLIFrame.cs
index 63bbaafbb4..9c30398c6e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLIFrame.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLIFrame.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F316-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLIFrame
+public unsafe partial struct HTMLIFrame : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLIFrame));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLImageElementFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLImageElementFactory.cs
index 496d5c5810..70e7783a8f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLImageElementFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLImageElementFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F38F-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLImageElementFactory
+public unsafe partial struct HTMLImageElementFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLImageElementFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLImg.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLImg.cs
index 6f23d0452a..7a4b190d5e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLImg.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLImg.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F241-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLImg
+public unsafe partial struct HTMLImg : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLImg));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLImgEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLImgEvents.cs
index d52325cc84..131b4eccb4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLImgEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLImgEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F25B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLImgEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLImgEvents : HTMLImgEvents.Interface
+public unsafe partial struct HTMLImgEvents : HTMLImgEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLImgEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLImgEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLImgEvents2.cs
index db75da4a91..682f393ede 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLImgEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLImgEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F616-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLImgEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLImgEvents2 : HTMLImgEvents2.Interface
+public unsafe partial struct HTMLImgEvents2 : HTMLImgEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLImgEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputButtonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputButtonElement.cs
index 712f63cce6..5f5b73e7c3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputButtonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputButtonElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2B4-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLInputButtonElement
+public unsafe partial struct HTMLInputButtonElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLInputButtonElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputElement.cs
index 9693d862e2..f2bbdee88f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F5D8-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLInputElement
+public unsafe partial struct HTMLInputElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLInputElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElement.cs
index 6d16d0b86b..41868cb9e5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2AE-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLInputFileElement
+public unsafe partial struct HTMLInputFileElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLInputFileElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElementEvents.cs
index 40ec7936e6..e1ac175be1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2AF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLInputFileElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLInputFileElementEvents : HTMLInputFileElementEvents.Interface
+public unsafe partial struct HTMLInputFileElementEvents : HTMLInputFileElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLInputFileElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElementEvents2.cs
index 87d7012efd..bfc6177d28 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputFileElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F61A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLInputFileElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLInputFileElementEvents2 : HTMLInputFileElementEvents2.Interface
+public unsafe partial struct HTMLInputFileElementEvents2 : HTMLInputFileElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLInputFileElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImage.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImage.cs
index 6af7c7c1de..484f5867f5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImage.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImage.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2C4-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLInputImage
+public unsafe partial struct HTMLInputImage : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLInputImage));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImageEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImageEvents.cs
index 307e5992ba..d4261a5020 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImageEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImageEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2C3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLInputImageEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLInputImageEvents : HTMLInputImageEvents.Interface
+public unsafe partial struct HTMLInputImageEvents : HTMLInputImageEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLInputImageEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImageEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImageEvents2.cs
index 983803449f..9ea6441e8e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImageEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputImageEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F61B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLInputImageEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLInputImageEvents2 : HTMLInputImageEvents2.Interface
+public unsafe partial struct HTMLInputImageEvents2 : HTMLInputImageEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLInputImageEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElement.cs
index ca6a3b4c50..a51520599c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2AB-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLInputTextElement
+public unsafe partial struct HTMLInputTextElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLInputTextElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElementEvents.cs
index 33b6780c7f..f897ac42b4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2A7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLInputTextElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLInputTextElementEvents : HTMLInputTextElementEvents.Interface
+public unsafe partial struct HTMLInputTextElementEvents : HTMLInputTextElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLInputTextElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElementEvents2.cs
index a4990aca5f..5f9ce88327 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLInputTextElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F618-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLInputTextElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLInputTextElementEvents2 : HTMLInputTextElementEvents2.Interface
+public unsafe partial struct HTMLInputTextElementEvents2 : HTMLInputTextElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLInputTextElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLIsIndexElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLIsIndexElement.cs
index 30c3cc402e..37c38673b8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLIsIndexElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLIsIndexElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F278-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLIsIndexElement
+public unsafe partial struct HTMLIsIndexElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLIsIndexElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLIElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLIElement.cs
index c187edf94e..49a613ef50 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLIElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLIElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F273-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLLIElement
+public unsafe partial struct HTMLLIElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLLIElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelElement.cs
index 74402d119e..9c4658d2d6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F32B-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLLabelElement
+public unsafe partial struct HTMLLabelElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLLabelElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelEvents.cs
index ba4745149c..45391970e5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F329-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLLabelEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLLabelEvents : HTMLLabelEvents.Interface
+public unsafe partial struct HTMLLabelEvents : HTMLLabelEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLLabelEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelEvents2.cs
index 017fdb3225..b9271a1751 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLabelEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F61C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLLabelEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLLabelEvents2 : HTMLLabelEvents2.Interface
+public unsafe partial struct HTMLLabelEvents2 : HTMLLabelEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLLabelEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLegendElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLegendElement.cs
index 4ea944dd42..e730b1b01b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLegendElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLegendElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F3E9-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLLegendElement
+public unsafe partial struct HTMLLegendElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLLegendElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElement.cs
index 78c1f4f01f..26042637a7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F277-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLLinkElement
+public unsafe partial struct HTMLLinkElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLLinkElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElementEvents.cs
index 0553ff269d..aa46fe461b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3CC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLLinkElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLLinkElementEvents : HTMLLinkElementEvents.Interface
+public unsafe partial struct HTMLLinkElementEvents : HTMLLinkElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLLinkElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElementEvents2.cs
index 02bb6d78cd..336bca05d0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLinkElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F61D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLLinkElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLLinkElementEvents2 : HTMLLinkElementEvents2.Interface
+public unsafe partial struct HTMLLinkElementEvents2 : HTMLLinkElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLLinkElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLListElement.cs
index 6bdb8f8e7f..913cfcdfcf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLListElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F272-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLListElement
+public unsafe partial struct HTMLListElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLListElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLocation.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLocation.cs
index 6f56f41a17..728bc7413b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLLocation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLLocation.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("163BB1E1-6E00-11CF-837A-48DC04C10000")]
-public partial struct HTMLLocation
+public unsafe partial struct HTMLLocation : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLLocation));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMSCSSKeyframeRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMSCSSKeyframeRule.cs
index ec3e7eb40a..ae83c6537d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMSCSSKeyframeRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMSCSSKeyframeRule.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051080E-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLMSCSSKeyframeRule
+public unsafe partial struct HTMLMSCSSKeyframeRule : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLMSCSSKeyframeRule));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMSCSSKeyframesRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMSCSSKeyframesRule.cs
index 471518a1fa..246b618cb7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMSCSSKeyframesRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMSCSSKeyframesRule.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051080F-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLMSCSSKeyframesRule
+public unsafe partial struct HTMLMSCSSKeyframesRule : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLMSCSSKeyframesRule));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapElement.cs
index 423aa49f74..e130fffa45 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F271-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLMapElement
+public unsafe partial struct HTMLMapElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLMapElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapEvents.cs
index 6642785402..53f544fa3a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3BA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLMapEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLMapEvents : HTMLMapEvents.Interface
+public unsafe partial struct HTMLMapEvents : HTMLMapEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLMapEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapEvents2.cs
index bc2181129b..e7b4ca0fbb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMapEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F61E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLMapEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLMapEvents2 : HTMLMapEvents2.Interface
+public unsafe partial struct HTMLMapEvents2 : HTMLMapEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLMapEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElement.cs
index 29ec53f610..69028e1f6b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2B9-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLMarqueeElement
+public unsafe partial struct HTMLMarqueeElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLMarqueeElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElementEvents.cs
index a7783d1921..34e3c0b560 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2B8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLMarqueeElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLMarqueeElementEvents : HTMLMarqueeElementEvents.Interface
+public unsafe partial struct HTMLMarqueeElementEvents : HTMLMarqueeElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLMarqueeElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElementEvents2.cs
index d3a0da6002..f6dbc2a12a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMarqueeElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F61F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLMarqueeElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLMarqueeElementEvents2 : HTMLMarqueeElementEvents2.Interface
+public unsafe partial struct HTMLMarqueeElementEvents2 : HTMLMarqueeElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLMarqueeElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMediaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMediaElement.cs
index 809981f7ef..9000f2f2d6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMediaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMediaElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051070C-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLMediaElement
+public unsafe partial struct HTMLMediaElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLMediaElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMediaError.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMediaError.cs
index 85dc09ae9a..bed776aacf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMediaError.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMediaError.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051070A-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLMediaError
+public unsafe partial struct HTMLMediaError : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLMediaError));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMetaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMetaElement.cs
index 3729c2815b..e35bd2bfc5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLMetaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLMetaElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F275-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLMetaElement
+public unsafe partial struct HTMLMetaElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLMetaElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespace.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespace.cs
index 1a2dbf8eaa..49431a85dc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespace.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespace.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F6BC-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLNamespace
+public unsafe partial struct HTMLNamespace : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLNamespace));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespaceCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespaceCollection.cs
index 3e61837200..556c0086e7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespaceCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespaceCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F6B9-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLNamespaceCollection
+public unsafe partial struct HTMLNamespaceCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLNamespaceCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespaceEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespaceEvents.cs
index 740b2fefd0..17643e3a83 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespaceEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNamespaceEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6BD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLNamespaceEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLNamespaceEvents : HTMLNamespaceEvents.Interface
+public unsafe partial struct HTMLNamespaceEvents : HTMLNamespaceEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLNamespaceEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNavigator.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNavigator.cs
index f092311805..3c7ad2ca5c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNavigator.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNavigator.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("FECEAAA6-8405-11CF-8BA1-00AA00476DA6")]
-public partial struct HTMLNavigator
+public unsafe partial struct HTMLNavigator : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLNavigator));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNextIdElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNextIdElement.cs
index 2e3ee01ec0..be5fe223b8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNextIdElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNextIdElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F279-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLNextIdElement
+public unsafe partial struct HTMLNextIdElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLNextIdElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNoShowElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNoShowElement.cs
index a8ba414a37..848bc94f17 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLNoShowElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLNoShowElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F38B-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLNoShowElement
+public unsafe partial struct HTMLNoShowElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLNoShowElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOListElement.cs
index 2c5842c450..d43f36c006 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOListElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F270-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLOListElement
+public unsafe partial struct HTMLOListElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLOListElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElement.cs
index 6d9b4f98c0..543de360e2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F24E-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLObjectElement
+public unsafe partial struct HTMLObjectElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLObjectElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElementEvents.cs
index 31f897e20a..aa08ed9e4f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3C4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLObjectElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLObjectElementEvents : HTMLObjectElementEvents.Interface
+public unsafe partial struct HTMLObjectElementEvents : HTMLObjectElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLObjectElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElementEvents2.cs
index d012986aac..0b69f8ed91 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLObjectElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F620-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLObjectElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLObjectElementEvents2 : HTMLObjectElementEvents2.Interface
+public unsafe partial struct HTMLObjectElementEvents2 : HTMLObjectElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLObjectElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElement.cs
index e554fc3532..bd8dc4d8a5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2BE-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLOptionButtonElement
+public unsafe partial struct HTMLOptionButtonElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLOptionButtonElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElementEvents.cs
index 1fa994e51b..820f39ebb6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2BD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLOptionButtonElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLOptionButtonElementEvents : HTMLOptionButtonElementEvents.Interface
+public unsafe partial struct HTMLOptionButtonElementEvents : HTMLOptionButtonElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLOptionButtonElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElementEvents2.cs
index 868bc11f71..acd31b26e7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionButtonElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F619-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLOptionButtonElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLOptionButtonElementEvents2 : HTMLOptionButtonElementEvents2.Interface
+public unsafe partial struct HTMLOptionButtonElementEvents2 : HTMLOptionButtonElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLOptionButtonElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionElement.cs
index 09e28266a0..9b3c46cda4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F24D-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLOptionElement
+public unsafe partial struct HTMLOptionElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLOptionElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionElementFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionElementFactory.cs
index 07fa40f0ba..b9e66b94e8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionElementFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLOptionElementFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F38D-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLOptionElementFactory
+public unsafe partial struct HTMLOptionElementFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLOptionElementFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLParaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLParaElement.cs
index 55870c1808..aa630c82c4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLParaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLParaElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F26F-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLParaElement
+public unsafe partial struct HTMLParaElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLParaElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLParamElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLParamElement.cs
index e138b46f2b..0477db14ce 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLParamElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLParamElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F83E-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLParamElement
+public unsafe partial struct HTMLParamElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLParamElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformance.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformance.cs
index 70c47130ae..821d3728f6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformance.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformance.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051074F-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLPerformance
+public unsafe partial struct HTMLPerformance : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLPerformance));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformanceNavigation.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformanceNavigation.cs
index d60e934432..547277c687 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformanceNavigation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformanceNavigation.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510751-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLPerformanceNavigation
+public unsafe partial struct HTMLPerformanceNavigation : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLPerformanceNavigation));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformanceTiming.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformanceTiming.cs
index 31ad0b686e..afe063ad20 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformanceTiming.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLPerformanceTiming.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510753-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLPerformanceTiming
+public unsafe partial struct HTMLPerformanceTiming : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLPerformanceTiming));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLPhraseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLPhraseElement.cs
index a48f89bc46..624a97714a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLPhraseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLPhraseElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F26E-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLPhraseElement
+public unsafe partial struct HTMLPhraseElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLPhraseElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLPopup.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLPopup.cs
index 03c2d43267..f804f17212 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLPopup.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLPopup.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F667-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLPopup
+public unsafe partial struct HTMLPopup : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLPopup));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLProgressElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLProgressElement.cs
index 1c7b55e65a..91b19ac6a2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLProgressElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLProgressElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2D5-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLProgressElement
+public unsafe partial struct HTMLProgressElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLProgressElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLRenderStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLRenderStyle.cs
index 38af442ab5..1e72c2f691 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLRenderStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLRenderStyle.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F6AA-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLRenderStyle
+public unsafe partial struct HTMLRenderStyle : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLRenderStyle));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLRichtextElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLRichtextElement.cs
index f32583069e..41d91a03df 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLRichtextElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLRichtextElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2DF-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLRichtextElement
+public unsafe partial struct HTMLRichtextElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLRichtextElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLRuleStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLRuleStyle.cs
index 0e5b47334b..7ac4e5b204 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLRuleStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLRuleStyle.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F3D0-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLRuleStyle
+public unsafe partial struct HTMLRuleStyle : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLRuleStyle));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLScreen.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLScreen.cs
index 95d51b6f28..a562d77ff5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLScreen.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLScreen.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F35D-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLScreen
+public unsafe partial struct HTMLScreen : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLScreen));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptElement.cs
index 8416c43f28..a6615a78a7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F28C-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLScriptElement
+public unsafe partial struct HTMLScriptElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLScriptElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptEvents.cs
index 4f3daccf25..8abd74b4bf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3E2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLScriptEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLScriptEvents : HTMLScriptEvents.Interface
+public unsafe partial struct HTMLScriptEvents : HTMLScriptEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLScriptEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptEvents2.cs
index 199cbd2257..6c127673c1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLScriptEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F621-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLScriptEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLScriptEvents2 : HTMLScriptEvents2.Interface
+public unsafe partial struct HTMLScriptEvents2 : HTMLScriptEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLScriptEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElement.cs
index 6dd7b9d725..0c800bdb91 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F245-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLSelectElement
+public unsafe partial struct HTMLSelectElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLSelectElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElementEvents.cs
index da2bc1d840..8c0f413b03 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F302-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLSelectElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLSelectElementEvents : HTMLSelectElementEvents.Interface
+public unsafe partial struct HTMLSelectElementEvents : HTMLSelectElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLSelectElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElementEvents2.cs
index a4eb8b375d..237de0902f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSelectElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F622-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLSelectElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLSelectElementEvents2 : HTMLSelectElementEvents2.Interface
+public unsafe partial struct HTMLSelectElementEvents2 : HTMLSelectElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLSelectElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSemanticElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSemanticElement.cs
index 7cc643c3ab..cca34f74f3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSemanticElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSemanticElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305107B0-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLSemanticElement
+public unsafe partial struct HTMLSemanticElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLSemanticElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSourceElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSourceElement.cs
index fd7492edcf..570ab8dd6f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSourceElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSourceElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051070D-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLSourceElement
+public unsafe partial struct HTMLSourceElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLSourceElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSpanElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSpanElement.cs
index 12ce68433e..0aab0fdee1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSpanElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSpanElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F3F5-98B4-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLSpanElement
+public unsafe partial struct HTMLSpanElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLSpanElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSpanFlow.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSpanFlow.cs
index c4873808aa..06c58df412 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLSpanFlow.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLSpanFlow.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F3E6-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLSpanFlow
+public unsafe partial struct HTMLSpanFlow : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLSpanFlow));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStorage.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStorage.cs
index babc1cb301..4aebbcbd39 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStorage.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStorage.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510475-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLStorage
+public unsafe partial struct HTMLStorage : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStorage));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyle.cs
index 2311a482fd..98f4cf305e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyle.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F285-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLStyle
+public unsafe partial struct HTMLStyle : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyle));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElement.cs
index e07d7b185d..440a8d7caf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F37D-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLStyleElement
+public unsafe partial struct HTMLStyleElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElementEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElementEvents.cs
index 36511ecd0d..0e14c267da 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElementEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElementEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3CB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLStyleElementEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLStyleElementEvents : HTMLStyleElementEvents.Interface
+public unsafe partial struct HTMLStyleElementEvents : HTMLStyleElementEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleElementEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElementEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElementEvents2.cs
index fdefcf10ea..aabdadc010 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElementEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleElementEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F615-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLStyleElementEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLStyleElementEvents2 : HTMLStyleElementEvents2.Interface
+public unsafe partial struct HTMLStyleElementEvents2 : HTMLStyleElementEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleElementEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleFontFace.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleFontFace.cs
index 88af07ed03..826b0b77e6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleFontFace.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleFontFace.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F3D4-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLStyleFontFace
+public unsafe partial struct HTMLStyleFontFace : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleFontFace));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleMedia.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleMedia.cs
index 15871e8af9..026cfcfa6c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleMedia.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleMedia.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051074C-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLStyleMedia
+public unsafe partial struct HTMLStyleMedia : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleMedia));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheet.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheet.cs
index df29d3d690..6af78473c9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheet.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheet.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2E4-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLStyleSheet
+public unsafe partial struct HTMLStyleSheet : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleSheet));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetPage.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetPage.cs
index 8645dcb52c..375d2615c5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetPage.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetPage.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F7EF-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLStyleSheetPage
+public unsafe partial struct HTMLStyleSheetPage : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleSheetPage));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetPagesCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetPagesCollection.cs
index fd6a85f905..b71d351959 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetPagesCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetPagesCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F7F1-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLStyleSheetPagesCollection
+public unsafe partial struct HTMLStyleSheetPagesCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleSheetPagesCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRule.cs
index 4b9ad71d56..4c208cebf6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRule.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F3CE-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLStyleSheetRule
+public unsafe partial struct HTMLStyleSheetRule : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleSheetRule));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRulesAppliedCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRulesAppliedCollection.cs
index aa32279082..0e1cc180dc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRulesAppliedCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRulesAppliedCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("EB36F845-2395-4719-B85C-D0D80E184BD9")]
-public partial struct HTMLStyleSheetRulesAppliedCollection
+public unsafe partial struct HTMLStyleSheetRulesAppliedCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleSheetRulesAppliedCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRulesCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRulesCollection.cs
index 79af11635c..7fe1b11725 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRulesCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetRulesCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F3CD-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLStyleSheetRulesCollection
+public unsafe partial struct HTMLStyleSheetRulesCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleSheetRulesCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetsCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetsCollection.cs
index 4e4f04fb6c..96eb7c282b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetsCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLStyleSheetsCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F37F-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLStyleSheetsCollection
+public unsafe partial struct HTMLStyleSheetsCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLStyleSheetsCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTable.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTable.cs
index a1f10cf75b..3bc20e47a7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTable.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTable.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F26B-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLTable
+public unsafe partial struct HTMLTable : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTable));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCaption.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCaption.cs
index 8bcc771c0c..84381633e3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCaption.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCaption.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2EC-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLTableCaption
+public unsafe partial struct HTMLTableCaption : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTableCaption));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCell.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCell.cs
index b9cf915289..c9383e7f94 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCell.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCell.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F246-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLTableCell
+public unsafe partial struct HTMLTableCell : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTableCell));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCol.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCol.cs
index fa8885fc78..fde15debe3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCol.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableCol.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F26C-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLTableCol
+public unsafe partial struct HTMLTableCol : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTableCol));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableEvents.cs
index 768b5b3044..4d02ab9b4a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F407-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLTableEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLTableEvents : HTMLTableEvents.Interface
+public unsafe partial struct HTMLTableEvents : HTMLTableEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTableEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableEvents2.cs
index a0a6694af4..8ea5ee89f3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F623-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLTableEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLTableEvents2 : HTMLTableEvents2.Interface
+public unsafe partial struct HTMLTableEvents2 : HTMLTableEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTableEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableRow.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableRow.cs
index c37aebe1ef..b2d410a839 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableRow.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableRow.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F26D-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLTableRow
+public unsafe partial struct HTMLTableRow : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTableRow));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableSection.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableSection.cs
index 6ae7ce46df..40c142eb0f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableSection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTableSection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2E9-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLTableSection
+public unsafe partial struct HTMLTableSection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTableSection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextAreaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextAreaElement.cs
index 27195a8bd6..3f847ec2a9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextAreaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextAreaElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2AC-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLTextAreaElement
+public unsafe partial struct HTMLTextAreaElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTextAreaElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextContainerEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextContainerEvents.cs
index 6928ab923c..20458c66a5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextContainerEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextContainerEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1FF6AA72-5842-11CF-A707-00AA00C0098D")]
[NativeTypeName("struct HTMLTextContainerEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLTextContainerEvents : HTMLTextContainerEvents.Interface
+public unsafe partial struct HTMLTextContainerEvents : HTMLTextContainerEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTextContainerEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextContainerEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextContainerEvents2.cs
index 167bf17160..89ed6b1d76 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextContainerEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextContainerEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F624-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLTextContainerEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLTextContainerEvents2 : HTMLTextContainerEvents2.Interface
+public unsafe partial struct HTMLTextContainerEvents2 : HTMLTextContainerEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTextContainerEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextElement.cs
index bb3c15094c..4bdd38dfb0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTextElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F26A-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLTextElement
+public unsafe partial struct HTMLTextElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTextElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTimeRanges.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTimeRanges.cs
index a325b2c598..4f34af3876 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTimeRanges.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTimeRanges.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051070B-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLTimeRanges
+public unsafe partial struct HTMLTimeRanges : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTimeRanges));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTitleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTitleElement.cs
index 65891b179f..2c891d553c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLTitleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLTitleElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F284-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLTitleElement
+public unsafe partial struct HTMLTitleElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLTitleElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLUListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLUListElement.cs
index 4bf74b2a65..49ca5b8a07 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLUListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLUListElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F269-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLUListElement
+public unsafe partial struct HTMLUListElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLUListElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLUnknownElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLUnknownElement.cs
index 355437ec7a..733f92a1c5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLUnknownElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLUnknownElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F268-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLUnknownElement
+public unsafe partial struct HTMLUnknownElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLUnknownElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLUrnCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLUrnCollection.cs
index 34821b1ef8..3c76cff7f3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLUrnCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLUrnCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F580-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLUrnCollection
+public unsafe partial struct HTMLUrnCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLUrnCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLVideoElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLVideoElement.cs
index c14bc3a56e..bfd360cd2a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLVideoElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLVideoElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051070F-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLVideoElement
+public unsafe partial struct HTMLVideoElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLVideoElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLW3CComputedStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLW3CComputedStyle.cs
index a7d5f94f67..87f9e47dfb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLW3CComputedStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLW3CComputedStyle.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305106C8-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLW3CComputedStyle
+public unsafe partial struct HTMLW3CComputedStyle : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLW3CComputedStyle));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindow2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindow2.cs
index 4642a2ea07..fe378a8c83 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindow2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindow2.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("D48A6EC6-6A4A-11CF-94A7-444553540000")]
-public partial struct HTMLWindow2
+public unsafe partial struct HTMLWindow2 : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLWindow2));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents.cs
index 3a714366a1..3bd679e5bf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("96A0A4E0-D062-11CF-94B6-00AA0060275C")]
[NativeTypeName("struct HTMLWindowEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLWindowEvents : HTMLWindowEvents.Interface
+public unsafe partial struct HTMLWindowEvents : HTMLWindowEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLWindowEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents2.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents2.cs
index d539db63a0..a011a7cbc6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F625-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLWindowEvents2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLWindowEvents2 : HTMLWindowEvents2.Interface
+public unsafe partial struct HTMLWindowEvents2 : HTMLWindowEvents2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLWindowEvents2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents3.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents3.cs
index 1d45d15dfe..3669dbfeb2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowEvents3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5A1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLWindowEvents3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLWindowEvents3 : HTMLWindowEvents3.Interface
+public unsafe partial struct HTMLWindowEvents3 : HTMLWindowEvents3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLWindowEvents3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowProxy.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowProxy.cs
index 7953b76e74..b0a449b773 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowProxy.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWindowProxy.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F391-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLWindowProxy
+public unsafe partial struct HTMLWindowProxy : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLWindowProxy));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWndOptionElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWndOptionElement.cs
index eb1004696e..bf827cc58e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWndOptionElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWndOptionElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2D0-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLWndOptionElement
+public unsafe partial struct HTMLWndOptionElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLWndOptionElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWndSelectElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWndSelectElement.cs
index ca0a65f661..cfa336d805 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLWndSelectElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLWndSelectElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F2CF-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLWndSelectElement
+public unsafe partial struct HTMLWndSelectElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLWndSelectElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequest.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequest.cs
index 5ff85bd321..828ff49ab4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequest.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequest.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051040B-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLXMLHttpRequest
+public unsafe partial struct HTMLXMLHttpRequest : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLXMLHttpRequest));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequestEvents.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequestEvents.cs
index ad4882402d..0b5e7a3544 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequestEvents.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequestEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510498-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct HTMLXMLHttpRequestEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct HTMLXMLHttpRequestEvents : HTMLXMLHttpRequestEvents.Interface
+public unsafe partial struct HTMLXMLHttpRequestEvents : HTMLXMLHttpRequestEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLXMLHttpRequestEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequestFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequestFactory.cs
index 1b2727eaf8..f9b3541fe0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequestFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HTMLXMLHttpRequestFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051040D-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HTMLXMLHttpRequestFactory
+public unsafe partial struct HTMLXMLHttpRequestFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HTMLXMLHttpRequestFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/HtmlDlgSafeHelper.cs b/sources/Interop/Windows/Windows/um/MsHTML/HtmlDlgSafeHelper.cs
index 600b8e50a6..4820361802 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/HtmlDlgSafeHelper.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/HtmlDlgSafeHelper.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F819-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct HtmlDlgSafeHelper
+public unsafe partial struct HtmlDlgSafeHelper : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HtmlDlgSafeHelper));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IBFCacheable.cs b/sources/Interop/Windows/Windows/um/MsHTML/IBFCacheable.cs
index e780093b15..ff60b678ca 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IBFCacheable.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IBFCacheable.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510861-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IBFCacheable : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IBFCacheable : IBFCacheable.Interface
+public unsafe partial struct IBFCacheable : IBFCacheable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IBFCacheable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IBlockFormats.cs b/sources/Interop/Windows/Windows/um/MsHTML/IBlockFormats.cs
index 467ced52ad..67d04c426a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IBlockFormats.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IBlockFormats.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F830-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IBlockFormats : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IBlockFormats : IBlockFormats.Interface
+public unsafe partial struct IBlockFormats : IBlockFormats.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IBlockFormats));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ICSSFilter.cs b/sources/Interop/Windows/Windows/um/MsHTML/ICSSFilter.cs
index c79d4c1a45..24c6506096 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ICSSFilter.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ICSSFilter.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3EC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ICSSFilter : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICSSFilter : ICSSFilter.Interface
+public unsafe partial struct ICSSFilter : ICSSFilter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICSSFilter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ICSSFilterSite.cs b/sources/Interop/Windows/Windows/um/MsHTML/ICSSFilterSite.cs
index dbc24edb93..6da71361fc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ICSSFilterSite.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ICSSFilterSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3ED-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ICSSFilterSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICSSFilterSite : ICSSFilterSite.Interface
+public unsafe partial struct ICSSFilterSite : ICSSFilterSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICSSFilterSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasGradient.cs b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasGradient.cs
index fd9e872c32..806544369c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasGradient.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasGradient.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510714-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ICanvasGradient : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ICanvasGradient : ICanvasGradient.Interface
+public unsafe partial struct ICanvasGradient : ICanvasGradient.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICanvasGradient));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasImageData.cs b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasImageData.cs
index 1b924ffe0f..86a252cdb9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasImageData.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasImageData.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051071A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ICanvasImageData : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ICanvasImageData : ICanvasImageData.Interface
+public unsafe partial struct ICanvasImageData : ICanvasImageData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICanvasImageData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPattern.cs b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPattern.cs
index ce348bb9b7..ec6f0bad82 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPattern.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPattern.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510716-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ICanvasPattern : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ICanvasPattern : ICanvasPattern.Interface
+public unsafe partial struct ICanvasPattern : ICanvasPattern.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICanvasPattern));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPixelArray.cs b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPixelArray.cs
index dd8345bb94..5a912fac8d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPixelArray.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPixelArray.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051071C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ICanvasPixelArray : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ICanvasPixelArray : ICanvasPixelArray.Interface
+public unsafe partial struct ICanvasPixelArray : ICanvasPixelArray.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICanvasPixelArray));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPixelArrayData.cs b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPixelArrayData.cs
index 9b4b42f604..883d84ee00 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPixelArrayData.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasPixelArrayData.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107F9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ICanvasPixelArrayData : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICanvasPixelArrayData : ICanvasPixelArrayData.Interface
+public unsafe partial struct ICanvasPixelArrayData : ICanvasPixelArrayData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICanvasPixelArrayData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasRenderingContext2D.cs b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasRenderingContext2D.cs
index 508c14020b..e1609cc285 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasRenderingContext2D.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasRenderingContext2D.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106FF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ICanvasRenderingContext2D : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ICanvasRenderingContext2D : ICanvasRenderingContext2D.Interface
+public unsafe partial struct ICanvasRenderingContext2D : ICanvasRenderingContext2D.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICanvasRenderingContext2D));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasTextMetrics.cs b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasTextMetrics.cs
index a0fd063c0e..5e5d896b6c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ICanvasTextMetrics.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ICanvasTextMetrics.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510718-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ICanvasTextMetrics : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ICanvasTextMetrics : ICanvasTextMetrics.Interface
+public unsafe partial struct ICanvasTextMetrics : ICanvasTextMetrics.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICanvasTextMetrics));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IClientCaps.cs b/sources/Interop/Windows/Windows/um/MsHTML/IClientCaps.cs
index 913b3c97d6..f4c80b72d4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IClientCaps.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IClientCaps.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7E8BC44D-AEFF-11D1-89C2-00C04FB6BFC4")]
[NativeTypeName("struct IClientCaps : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IClientCaps : IClientCaps.Interface
+public unsafe partial struct IClientCaps : IClientCaps.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IClientCaps));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMBeforeUnloadEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMBeforeUnloadEvent.cs
index 6cdfd708dd..0c20969a6f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMBeforeUnloadEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMBeforeUnloadEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510763-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMBeforeUnloadEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMBeforeUnloadEvent : IDOMBeforeUnloadEvent.Interface
+public unsafe partial struct IDOMBeforeUnloadEvent : IDOMBeforeUnloadEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMBeforeUnloadEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMCloseEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMCloseEvent.cs
index 0466d202c9..252373a981 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMCloseEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMCloseEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107FF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMCloseEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMCloseEvent : IDOMCloseEvent.Interface
+public unsafe partial struct IDOMCloseEvent : IDOMCloseEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMCloseEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMCompositionEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMCompositionEvent.cs
index c7313b78fa..b94aa48d6c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMCompositionEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMCompositionEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106D8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMCompositionEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMCompositionEvent : IDOMCompositionEvent.Interface
+public unsafe partial struct IDOMCompositionEvent : IDOMCompositionEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMCompositionEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMCustomEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMCustomEvent.cs
index d32982b6c4..c56f316dae 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMCustomEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMCustomEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106DE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMCustomEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMCustomEvent : IDOMCustomEvent.Interface
+public unsafe partial struct IDOMCustomEvent : IDOMCustomEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMCustomEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMDocumentType.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMDocumentType.cs
index e973a25b5e..ab65ba1137 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMDocumentType.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMDocumentType.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510738-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMDocumentType : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMDocumentType : IDOMDocumentType.Interface
+public unsafe partial struct IDOMDocumentType : IDOMDocumentType.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMDocumentType));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMDragEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMDragEvent.cs
index 971c78eff3..202b7a0c0b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMDragEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMDragEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510761-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMDragEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMDragEvent : IDOMDragEvent.Interface
+public unsafe partial struct IDOMDragEvent : IDOMDragEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMDragEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMEvent.cs
index c7b5d37dc4..7f7fd2b97a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104BA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMEvent : IDOMEvent.Interface
+public unsafe partial struct IDOMEvent : IDOMEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMEventRegistrationCallback.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMEventRegistrationCallback.cs
index 7395b32219..ef414a6581 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMEventRegistrationCallback.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMEventRegistrationCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051083B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMEventRegistrationCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDOMEventRegistrationCallback : IDOMEventRegistrationCallback.Interface
+public unsafe partial struct IDOMEventRegistrationCallback : IDOMEventRegistrationCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMEventRegistrationCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMException.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMException.cs
index 990d2fec23..a7c178ecbf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMException.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051072B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMException : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMException : IDOMException.Interface
+public unsafe partial struct IDOMException : IDOMException.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMException));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMFocusEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMFocusEvent.cs
index f0da1ff3f9..dfecac3371 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMFocusEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMFocusEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106CC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMFocusEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMFocusEvent : IDOMFocusEvent.Interface
+public unsafe partial struct IDOMFocusEvent : IDOMFocusEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMFocusEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMKeyboardEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMKeyboardEvent.cs
index cca7c72cc1..a3aca89e40 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMKeyboardEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMKeyboardEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106D6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMKeyboardEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMKeyboardEvent : IDOMKeyboardEvent.Interface
+public unsafe partial struct IDOMKeyboardEvent : IDOMKeyboardEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMKeyboardEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSAnimationEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSAnimationEvent.cs
index 8e4099c21a..a4b95ba545 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSAnimationEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSAnimationEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107B7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMMSAnimationEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMMSAnimationEvent : IDOMMSAnimationEvent.Interface
+public unsafe partial struct IDOMMSAnimationEvent : IDOMMSAnimationEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMMSAnimationEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSManipulationEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSManipulationEvent.cs
index 771618471d..cf3ffc1786 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSManipulationEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSManipulationEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510816-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMMSManipulationEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMMSManipulationEvent : IDOMMSManipulationEvent.Interface
+public unsafe partial struct IDOMMSManipulationEvent : IDOMMSManipulationEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMMSManipulationEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSTransitionEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSTransitionEvent.cs
index cb8d2c1681..8692fe7b77 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSTransitionEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMSTransitionEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107B5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMMSTransitionEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMMSTransitionEvent : IDOMMSTransitionEvent.Interface
+public unsafe partial struct IDOMMSTransitionEvent : IDOMMSTransitionEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMMSTransitionEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMessageEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMessageEvent.cs
index c7bfc96d92..c575152c6c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMessageEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMessageEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510720-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMMessageEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMMessageEvent : IDOMMessageEvent.Interface
+public unsafe partial struct IDOMMessageEvent : IDOMMessageEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMMessageEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMouseEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMouseEvent.cs
index f103cdb1f2..ce94830917 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMouseEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMouseEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106CE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMMouseEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMMouseEvent : IDOMMouseEvent.Interface
+public unsafe partial struct IDOMMouseEvent : IDOMMouseEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMMouseEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMouseWheelEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMouseWheelEvent.cs
index f59ae2a4c6..bb7a566228 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMouseWheelEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMouseWheelEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106D0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMMouseWheelEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMMouseWheelEvent : IDOMMouseWheelEvent.Interface
+public unsafe partial struct IDOMMouseWheelEvent : IDOMMouseWheelEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMMouseWheelEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMutationEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMutationEvent.cs
index 8add966b68..a288129e9c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMMutationEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMMutationEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106DA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMMutationEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMMutationEvent : IDOMMutationEvent.Interface
+public unsafe partial struct IDOMMutationEvent : IDOMMutationEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMMutationEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMNodeIterator.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMNodeIterator.cs
index 5617163107..1d552f0208 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMNodeIterator.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMNodeIterator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510746-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMNodeIterator : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMNodeIterator : IDOMNodeIterator.Interface
+public unsafe partial struct IDOMNodeIterator : IDOMNodeIterator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMNodeIterator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMParser.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMParser.cs
index 279a3d2daa..d676710f76 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMParser.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMParser.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510781-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMParser : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMParser : IDOMParser.Interface
+public unsafe partial struct IDOMParser : IDOMParser.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMParser));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMParserFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMParserFactory.cs
index c0d8e05a28..3908776014 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMParserFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMParserFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510783-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMParserFactory : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMParserFactory : IDOMParserFactory.Interface
+public unsafe partial struct IDOMParserFactory : IDOMParserFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMParserFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMProcessingInstruction.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMProcessingInstruction.cs
index 675c6bef1d..6a31ed0c15 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMProcessingInstruction.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMProcessingInstruction.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510742-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMProcessingInstruction : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMProcessingInstruction : IDOMProcessingInstruction.Interface
+public unsafe partial struct IDOMProcessingInstruction : IDOMProcessingInstruction.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMProcessingInstruction));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMProgressEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMProgressEvent.cs
index 330643fefc..0b129a7785 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMProgressEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMProgressEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051071E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMProgressEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMProgressEvent : IDOMProgressEvent.Interface
+public unsafe partial struct IDOMProgressEvent : IDOMProgressEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMProgressEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMSiteModeEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMSiteModeEvent.cs
index 5d679b8cf7..ee1720503f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMSiteModeEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMSiteModeEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510765-98B6-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMSiteModeEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMSiteModeEvent : IDOMSiteModeEvent.Interface
+public unsafe partial struct IDOMSiteModeEvent : IDOMSiteModeEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMSiteModeEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMStorageEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMStorageEvent.cs
index a2ff78ec23..6d07c59fc1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMStorageEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMStorageEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510722-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMStorageEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMStorageEvent : IDOMStorageEvent.Interface
+public unsafe partial struct IDOMStorageEvent : IDOMStorageEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMStorageEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMTextEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMTextEvent.cs
index 347b9a0852..7f352908a7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMTextEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMTextEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106D4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMTextEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMTextEvent : IDOMTextEvent.Interface
+public unsafe partial struct IDOMTextEvent : IDOMTextEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMTextEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMTreeWalker.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMTreeWalker.cs
index db6e12256e..da12e24e39 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMTreeWalker.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMTreeWalker.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510748-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMTreeWalker : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMTreeWalker : IDOMTreeWalker.Interface
+public unsafe partial struct IDOMTreeWalker : IDOMTreeWalker.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMTreeWalker));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMUIEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMUIEvent.cs
index 89674222c5..187fe0f98a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMUIEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMUIEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106CA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMUIEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMUIEvent : IDOMUIEvent.Interface
+public unsafe partial struct IDOMUIEvent : IDOMUIEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMUIEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMWheelEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMWheelEvent.cs
index 926ac4878d..2a5772c6c3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMWheelEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMWheelEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106D2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMWheelEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMWheelEvent : IDOMWheelEvent.Interface
+public unsafe partial struct IDOMWheelEvent : IDOMWheelEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMWheelEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMXmlSerializer.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMXmlSerializer.cs
index f027b6af06..83a66772e0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMXmlSerializer.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMXmlSerializer.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051077D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMXmlSerializer : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMXmlSerializer : IDOMXmlSerializer.Interface
+public unsafe partial struct IDOMXmlSerializer : IDOMXmlSerializer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMXmlSerializer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDOMXmlSerializerFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDOMXmlSerializerFactory.cs
index 46a22ffaaa..4abe7acf65 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDOMXmlSerializerFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDOMXmlSerializerFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051077F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDOMXmlSerializerFactory : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDOMXmlSerializerFactory : IDOMXmlSerializerFactory.Interface
+public unsafe partial struct IDOMXmlSerializerFactory : IDOMXmlSerializerFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDOMXmlSerializerFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDebugCallbackNotificationHandler.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDebugCallbackNotificationHandler.cs
index 85585c668b..a518afa724 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDebugCallbackNotificationHandler.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDebugCallbackNotificationHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510842-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDebugCallbackNotificationHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDebugCallbackNotificationHandler : IDebugCallbackNotificationHandler.Interface
+public unsafe partial struct IDebugCallbackNotificationHandler : IDebugCallbackNotificationHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDebugCallbackNotificationHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDeveloperConsoleMessageReceiver.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDeveloperConsoleMessageReceiver.cs
index 30b33db2db..01fa5ef853 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDeveloperConsoleMessageReceiver.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDeveloperConsoleMessageReceiver.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510808-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDeveloperConsoleMessageReceiver : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDeveloperConsoleMessageReceiver : IDeveloperConsoleMessageReceiver.Interface
+public unsafe partial struct IDeveloperConsoleMessageReceiver : IDeveloperConsoleMessageReceiver.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDeveloperConsoleMessageReceiver));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDisplayPointer.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDisplayPointer.cs
index c237703663..20b75b5ec8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDisplayPointer.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDisplayPointer.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F69E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDisplayPointer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDisplayPointer : IDisplayPointer.Interface
+public unsafe partial struct IDisplayPointer : IDisplayPointer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDisplayPointer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDisplayServices.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDisplayServices.cs
index d5d66a7672..572211e10b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDisplayServices.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDisplayServices.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F69D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDisplayServices : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDisplayServices : IDisplayServices.Interface
+public unsafe partial struct IDisplayServices : IDisplayServices.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDisplayServices));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDocumentEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDocumentEvent.cs
index d188749f66..574eb3314d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDocumentEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDocumentEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104BC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDocumentEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDocumentEvent : IDocumentEvent.Interface
+public unsafe partial struct IDocumentEvent : IDocumentEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDocumentEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDocumentRange.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDocumentRange.cs
index 412d70010a..668c9011fd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDocumentRange.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDocumentRange.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104AF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDocumentRange : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDocumentRange : IDocumentRange.Interface
+public unsafe partial struct IDocumentRange : IDocumentRange.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDocumentRange));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDocumentSelector.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDocumentSelector.cs
index 6459250f1d..f76034d92d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDocumentSelector.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDocumentSelector.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510462-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDocumentSelector : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDocumentSelector : IDocumentSelector.Interface
+public unsafe partial struct IDocumentSelector : IDocumentSelector.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDocumentSelector));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IDocumentTraversal.cs b/sources/Interop/Windows/Windows/um/MsHTML/IDocumentTraversal.cs
index 52d1d00cbe..c3744b2a1e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IDocumentTraversal.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IDocumentTraversal.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510744-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IDocumentTraversal : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IDocumentTraversal : IDocumentTraversal.Interface
+public unsafe partial struct IDocumentTraversal : IDocumentTraversal.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDocumentTraversal));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehavior.cs
index 1235fd0b93..4f78758ceb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F425-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehavior : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehavior : IElementBehavior.Interface
+public unsafe partial struct IElementBehavior : IElementBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorCategory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorCategory.cs
index 29056a31b3..2cc89b3d8a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorCategory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorCategory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4ED-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorCategory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorCategory : IElementBehaviorCategory.Interface
+public unsafe partial struct IElementBehaviorCategory : IElementBehaviorCategory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorCategory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorFactory.cs
index ef8f690a2a..b13169df3a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F429-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorFactory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorFactory : IElementBehaviorFactory.Interface
+public unsafe partial struct IElementBehaviorFactory : IElementBehaviorFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorFocus.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorFocus.cs
index c10a3069c9..3149c99210 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorFocus.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorFocus.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6B6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorFocus : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorFocus : IElementBehaviorFocus.Interface
+public unsafe partial struct IElementBehaviorFocus : IElementBehaviorFocus.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorFocus));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorLayout.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorLayout.cs
index 20bd4ab79d..0b2a0d26c1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorLayout.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorLayout.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6BA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorLayout : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorLayout : IElementBehaviorLayout.Interface
+public unsafe partial struct IElementBehaviorLayout : IElementBehaviorLayout.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorLayout));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorLayout2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorLayout2.cs
index fc808e4f12..fa229f9be5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorLayout2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorLayout2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F846-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorLayout2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorLayout2 : IElementBehaviorLayout2.Interface
+public unsafe partial struct IElementBehaviorLayout2 : IElementBehaviorLayout2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorLayout2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorRender.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorRender.cs
index 2c64ba00f3..a2c9e1a952 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorRender.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorRender.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4AA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorRender : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorRender : IElementBehaviorRender.Interface
+public unsafe partial struct IElementBehaviorRender : IElementBehaviorRender.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorRender));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSite.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSite.cs
index a8372ccff5..d4e01f69d7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSite.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F427-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorSite : IElementBehaviorSite.Interface
+public unsafe partial struct IElementBehaviorSite : IElementBehaviorSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteCategory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteCategory.cs
index 96185d0b68..24c4f935cc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteCategory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteCategory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4EE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorSiteCategory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorSiteCategory : IElementBehaviorSiteCategory.Interface
+public unsafe partial struct IElementBehaviorSiteCategory : IElementBehaviorSiteCategory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorSiteCategory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteLayout.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteLayout.cs
index 8c7d03b363..9c8f3aec78 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteLayout.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteLayout.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6B7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorSiteLayout : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorSiteLayout : IElementBehaviorSiteLayout.Interface
+public unsafe partial struct IElementBehaviorSiteLayout : IElementBehaviorSiteLayout.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorSiteLayout));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteLayout2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteLayout2.cs
index 18f8ff3757..99ec0e4cb5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteLayout2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteLayout2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F847-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorSiteLayout2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorSiteLayout2 : IElementBehaviorSiteLayout2.Interface
+public unsafe partial struct IElementBehaviorSiteLayout2 : IElementBehaviorSiteLayout2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorSiteLayout2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteOM.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteOM.cs
index ce5b12b0a1..0c4ee340c9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteOM.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteOM.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F489-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorSiteOM : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorSiteOM : IElementBehaviorSiteOM.Interface
+public unsafe partial struct IElementBehaviorSiteOM : IElementBehaviorSiteOM.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorSiteOM));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteOM2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteOM2.cs
index 64ad78d8ab..e01357a813 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteOM2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteOM2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F659-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorSiteOM2 : IElementBehaviorSiteOM")]
[NativeInheritance("IElementBehaviorSiteOM")]
-public unsafe partial struct IElementBehaviorSiteOM2 : IElementBehaviorSiteOM2.Interface
+public unsafe partial struct IElementBehaviorSiteOM2 : IElementBehaviorSiteOM2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorSiteOM2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteRender.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteRender.cs
index 7c433981a8..2d8bd530a0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteRender.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSiteRender.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4A7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorSiteRender : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorSiteRender : IElementBehaviorSiteRender.Interface
+public unsafe partial struct IElementBehaviorSiteRender : IElementBehaviorSiteRender.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorSiteRender));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSubmit.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSubmit.cs
index 960c3c89fa..435b305a0e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSubmit.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementBehaviorSubmit.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F646-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementBehaviorSubmit : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementBehaviorSubmit : IElementBehaviorSubmit.Interface
+public unsafe partial struct IElementBehaviorSubmit : IElementBehaviorSubmit.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementBehaviorSubmit));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespace.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespace.cs
index d33dc5d457..65b403143e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespace.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespace.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F671-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementNamespace : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementNamespace : IElementNamespace.Interface
+public unsafe partial struct IElementNamespace : IElementNamespace.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementNamespace));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactory.cs
index 9967e3390e..c6110d156e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F672-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementNamespaceFactory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementNamespaceFactory : IElementNamespaceFactory.Interface
+public unsafe partial struct IElementNamespaceFactory : IElementNamespaceFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementNamespaceFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactory2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactory2.cs
index 2ab19d9349..a6b2df6a24 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactory2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactory2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F805-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementNamespaceFactory2 : IElementNamespaceFactory")]
[NativeInheritance("IElementNamespaceFactory")]
-public unsafe partial struct IElementNamespaceFactory2 : IElementNamespaceFactory2.Interface
+public unsafe partial struct IElementNamespaceFactory2 : IElementNamespaceFactory2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementNamespaceFactory2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactoryCallback.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactoryCallback.cs
index b69bc81eb1..e0447c82bd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactoryCallback.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceFactoryCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F7FD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementNamespaceFactoryCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementNamespaceFactoryCallback : IElementNamespaceFactoryCallback.Interface
+public unsafe partial struct IElementNamespaceFactoryCallback : IElementNamespaceFactoryCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementNamespaceFactoryCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceTable.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceTable.cs
index 6976906325..a941b8bd8c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceTable.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementNamespaceTable.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F670-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementNamespaceTable : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IElementNamespaceTable : IElementNamespaceTable.Interface
+public unsafe partial struct IElementNamespaceTable : IElementNamespaceTable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementNamespaceTable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementSegment.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementSegment.cs
index 663e281586..ff4875890b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementSegment.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementSegment.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F68F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementSegment : ISegment")]
[NativeInheritance("ISegment")]
-public unsafe partial struct IElementSegment : IElementSegment.Interface
+public unsafe partial struct IElementSegment : IElementSegment.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementSegment));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementSelector.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementSelector.cs
index 6942c7dd2f..a821bbc20b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementSelector.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementSelector.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510463-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementSelector : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IElementSelector : IElementSelector.Interface
+public unsafe partial struct IElementSelector : IElementSelector.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementSelector));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IElementTraversal.cs b/sources/Interop/Windows/Windows/um/MsHTML/IElementTraversal.cs
index 44dc6c7f4d..387960c071 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IElementTraversal.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IElementTraversal.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510736-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IElementTraversal : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IElementTraversal : IElementTraversal.Interface
+public unsafe partial struct IElementTraversal : IElementTraversal.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IElementTraversal));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IEnumPrivacyRecords.cs b/sources/Interop/Windows/Windows/um/MsHTML/IEnumPrivacyRecords.cs
index 1e31282414..7e9bc27ff7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IEnumPrivacyRecords.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IEnumPrivacyRecords.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F844-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IEnumPrivacyRecords : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumPrivacyRecords : IEnumPrivacyRecords.Interface
+public unsafe partial struct IEnumPrivacyRecords : IEnumPrivacyRecords.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumPrivacyRecords));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IEventException.cs b/sources/Interop/Windows/Windows/um/MsHTML/IEventException.cs
index 040d658a04..b3a14adc2f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IEventException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IEventException.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051073A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IEventException : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IEventException : IEventException.Interface
+public unsafe partial struct IEventException : IEventException.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEventException));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IEventTarget.cs b/sources/Interop/Windows/Windows/um/MsHTML/IEventTarget.cs
index 3cc910dcc7..7f31ad1009 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IEventTarget.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IEventTarget.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104B9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IEventTarget : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IEventTarget : IEventTarget.Interface
+public unsafe partial struct IEventTarget : IEventTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEventTarget));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IEventTarget2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IEventTarget2.cs
index 41ad6dde50..556a3cf320 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IEventTarget2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IEventTarget2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510839-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IEventTarget2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEventTarget2 : IEventTarget2.Interface
+public unsafe partial struct IEventTarget2 : IEventTarget2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEventTarget2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IFontNames.cs b/sources/Interop/Windows/Windows/um/MsHTML/IFontNames.cs
index b0c644a3ab..d2be0d5e6b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IFontNames.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IFontNames.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F839-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IFontNames : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IFontNames : IFontNames.Interface
+public unsafe partial struct IFontNames : IFontNames.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFontNames));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IGetSVGDocument.cs b/sources/Interop/Windows/Windows/um/MsHTML/IGetSVGDocument.cs
index ac4ea4af1c..fa3f2bc492 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IGetSVGDocument.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IGetSVGDocument.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305105AB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IGetSVGDocument : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IGetSVGDocument : IGetSVGDocument.Interface
+public unsafe partial struct IGetSVGDocument : IGetSVGDocument.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IGetSVGDocument));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTCAttachBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTCAttachBehavior.cs
index 67c7e92a23..0b31d02da0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTCAttachBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTCAttachBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5F4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTCAttachBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTCAttachBehavior : IHTCAttachBehavior.Interface
+public unsafe partial struct IHTCAttachBehavior : IHTCAttachBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTCAttachBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTCAttachBehavior2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTCAttachBehavior2.cs
index ecb0a45ea6..0c5e224594 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTCAttachBehavior2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTCAttachBehavior2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F7EB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTCAttachBehavior2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTCAttachBehavior2 : IHTCAttachBehavior2.Interface
+public unsafe partial struct IHTCAttachBehavior2 : IHTCAttachBehavior2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTCAttachBehavior2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTCDefaultDispatch.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTCDefaultDispatch.cs
index a13c092fe8..5c819b271d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTCDefaultDispatch.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTCDefaultDispatch.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4FD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTCDefaultDispatch : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTCDefaultDispatch : IHTCDefaultDispatch.Interface
+public unsafe partial struct IHTCDefaultDispatch : IHTCDefaultDispatch.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTCDefaultDispatch));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTCDescBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTCDescBehavior.cs
index af7e9447d7..1e0130247a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTCDescBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTCDescBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5DC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTCDescBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTCDescBehavior : IHTCDescBehavior.Interface
+public unsafe partial struct IHTCDescBehavior : IHTCDescBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTCDescBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTCEventBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTCEventBehavior.cs
index 08de90bfae..bc47e8f66c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTCEventBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTCEventBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4FF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTCEventBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTCEventBehavior : IHTCEventBehavior.Interface
+public unsafe partial struct IHTCEventBehavior : IHTCEventBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTCEventBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTCMethodBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTCMethodBehavior.cs
index 0db12890cb..a28967ffa8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTCMethodBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTCMethodBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F631-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTCMethodBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTCMethodBehavior : IHTCMethodBehavior.Interface
+public unsafe partial struct IHTCMethodBehavior : IHTCMethodBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTCMethodBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTCPropertyBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTCPropertyBehavior.cs
index 7440862125..e60762b8c0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTCPropertyBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTCPropertyBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5DF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTCPropertyBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTCPropertyBehavior : IHTCPropertyBehavior.Interface
+public unsafe partial struct IHTCPropertyBehavior : IHTCPropertyBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTCPropertyBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement.cs
index 4adb2eee53..7cb7631314 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1DA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAnchorElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAnchorElement : IHTMLAnchorElement.Interface
+public unsafe partial struct IHTMLAnchorElement : IHTMLAnchorElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAnchorElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement2.cs
index 5e01199630..b310658172 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F825-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAnchorElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAnchorElement2 : IHTMLAnchorElement2.Interface
+public unsafe partial struct IHTMLAnchorElement2 : IHTMLAnchorElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAnchorElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement3.cs
index 7b5bcdb6ba..0fc37b7c83 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAnchorElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051041D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAnchorElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAnchorElement3 : IHTMLAnchorElement3.Interface
+public unsafe partial struct IHTMLAnchorElement3 : IHTMLAnchorElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAnchorElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior.cs
index fcd7cd098c..1c4efd04b3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5CA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAppBehavior : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAppBehavior : IHTMLAppBehavior.Interface
+public unsafe partial struct IHTMLAppBehavior : IHTMLAppBehavior.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAppBehavior));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior2.cs
index c09d8bf496..00ccecbff6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5C9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAppBehavior2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAppBehavior2 : IHTMLAppBehavior2.Interface
+public unsafe partial struct IHTMLAppBehavior2 : IHTMLAppBehavior2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAppBehavior2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior3.cs
index 7b20104c38..8c7bcf10c4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAppBehavior3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5CD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAppBehavior3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAppBehavior3 : IHTMLAppBehavior3.Interface
+public unsafe partial struct IHTMLAppBehavior3 : IHTMLAppBehavior3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAppBehavior3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLApplicationCache.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLApplicationCache.cs
index 5abade705f..54ba2ba395 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLApplicationCache.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLApplicationCache.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510828-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLApplicationCache : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLApplicationCache : IHTMLApplicationCache.Interface
+public unsafe partial struct IHTMLApplicationCache : IHTMLApplicationCache.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLApplicationCache));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreaElement.cs
index 6ee110edcb..4580284b1c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreaElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F265-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAreaElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAreaElement : IHTMLAreaElement.Interface
+public unsafe partial struct IHTMLAreaElement : IHTMLAreaElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAreaElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreaElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreaElement2.cs
index b3e9b270a1..19783a8f55 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreaElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreaElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051041F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAreaElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAreaElement2 : IHTMLAreaElement2.Interface
+public unsafe partial struct IHTMLAreaElement2 : IHTMLAreaElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAreaElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection.cs
index 6ce705b38c..a186cb40ca 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F383-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAreasCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAreasCollection : IHTMLAreasCollection.Interface
+public unsafe partial struct IHTMLAreasCollection : IHTMLAreasCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAreasCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection2.cs
index ec1e7301a6..2905fab872 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5EC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAreasCollection2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAreasCollection2 : IHTMLAreasCollection2.Interface
+public unsafe partial struct IHTMLAreasCollection2 : IHTMLAreasCollection2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAreasCollection2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection3.cs
index 38b1c2195d..cf2fcb2159 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F837-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAreasCollection3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAreasCollection3 : IHTMLAreasCollection3.Interface
+public unsafe partial struct IHTMLAreasCollection3 : IHTMLAreasCollection3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAreasCollection3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection4.cs
index 455ed7011a..788a0b2836 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAreasCollection4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510492-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAreasCollection4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAreasCollection4 : IHTMLAreasCollection4.Interface
+public unsafe partial struct IHTMLAreasCollection4 : IHTMLAreasCollection4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAreasCollection4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection.cs
index f678d2fb19..da513a7c32 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4C3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAttributeCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAttributeCollection : IHTMLAttributeCollection.Interface
+public unsafe partial struct IHTMLAttributeCollection : IHTMLAttributeCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAttributeCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection2.cs
index ca8c1273e3..4646b2291f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F80A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAttributeCollection2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAttributeCollection2 : IHTMLAttributeCollection2.Interface
+public unsafe partial struct IHTMLAttributeCollection2 : IHTMLAttributeCollection2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAttributeCollection2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection3.cs
index 507cf773cb..e91da4775e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510469-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAttributeCollection3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAttributeCollection3 : IHTMLAttributeCollection3.Interface
+public unsafe partial struct IHTMLAttributeCollection3 : IHTMLAttributeCollection3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAttributeCollection3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection4.cs
index 5d36f4431d..d9cb77e262 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAttributeCollection4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106FA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAttributeCollection4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAttributeCollection4 : IHTMLAttributeCollection4.Interface
+public unsafe partial struct IHTMLAttributeCollection4 : IHTMLAttributeCollection4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAttributeCollection4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAudioElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAudioElement.cs
index 904268fb57..4d05533ca8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAudioElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAudioElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510708-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAudioElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAudioElement : IHTMLAudioElement.Interface
+public unsafe partial struct IHTMLAudioElement : IHTMLAudioElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAudioElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAudioElementFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAudioElementFactory.cs
index bad2e3e7e0..e71191fd11 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAudioElementFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLAudioElementFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107EB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLAudioElementFactory : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLAudioElementFactory : IHTMLAudioElementFactory.Interface
+public unsafe partial struct IHTMLAudioElementFactory : IHTMLAudioElementFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLAudioElementFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBGsound.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBGsound.cs
index d9b955034c..a3e16d1980 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBGsound.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBGsound.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F369-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBGsound : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBGsound : IHTMLBGsound.Interface
+public unsafe partial struct IHTMLBGsound : IHTMLBGsound.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBGsound));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBRElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBRElement.cs
index 4ec08a216d..4a5e759d26 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBRElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBRElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1F0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBRElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBRElement : IHTMLBRElement.Interface
+public unsafe partial struct IHTMLBRElement : IHTMLBRElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBRElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseElement.cs
index 6dedf1e377..e3ea642fb6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F204-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBaseElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBaseElement : IHTMLBaseElement.Interface
+public unsafe partial struct IHTMLBaseElement : IHTMLBaseElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBaseElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseElement2.cs
index db788971db..dd6058b7f7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510420-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBaseElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBaseElement2 : IHTMLBaseElement2.Interface
+public unsafe partial struct IHTMLBaseElement2 : IHTMLBaseElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBaseElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseFontElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseFontElement.cs
index 1673c5fc08..bc8fd136c4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseFontElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBaseFontElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F202-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBaseFontElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBaseFontElement : IHTMLBaseFontElement.Interface
+public unsafe partial struct IHTMLBaseFontElement : IHTMLBaseFontElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBaseFontElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement.cs
index 42f0143ad3..d47851ad90 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F208-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBlockElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBlockElement : IHTMLBlockElement.Interface
+public unsafe partial struct IHTMLBlockElement : IHTMLBlockElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBlockElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement2.cs
index 32d23b1f91..0170fa2281 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F823-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBlockElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBlockElement2 : IHTMLBlockElement2.Interface
+public unsafe partial struct IHTMLBlockElement2 : IHTMLBlockElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBlockElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement3.cs
index b1135eb6be..c8db7c4f59 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBlockElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510494-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBlockElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBlockElement3 : IHTMLBlockElement3.Interface
+public unsafe partial struct IHTMLBlockElement3 : IHTMLBlockElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBlockElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement.cs
index b13a986b01..4cc3f9db33 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1D8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBodyElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBodyElement : IHTMLBodyElement.Interface
+public unsafe partial struct IHTMLBodyElement : IHTMLBodyElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBodyElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement2.cs
index 9e2af79cb8..ef2e2c3c44 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5C5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBodyElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBodyElement2 : IHTMLBodyElement2.Interface
+public unsafe partial struct IHTMLBodyElement2 : IHTMLBodyElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBodyElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement3.cs
index f33d47d664..7539b62d2f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510422-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBodyElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBodyElement3 : IHTMLBodyElement3.Interface
+public unsafe partial struct IHTMLBodyElement3 : IHTMLBodyElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBodyElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement4.cs
index bb577bdd27..98e721becf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510795-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBodyElement4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBodyElement4 : IHTMLBodyElement4.Interface
+public unsafe partial struct IHTMLBodyElement4 : IHTMLBodyElement4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBodyElement4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement5.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement5.cs
index 4795372c54..11417bf145 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement5.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBodyElement5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510822-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBodyElement5 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBodyElement5 : IHTMLBodyElement5.Interface
+public unsafe partial struct IHTMLBodyElement5 : IHTMLBodyElement5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBodyElement5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBookmarkCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBookmarkCollection.cs
index ffea57fa71..3e0e0a65f3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBookmarkCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLBookmarkCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4CE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLBookmarkCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLBookmarkCollection : IHTMLBookmarkCollection.Interface
+public unsafe partial struct IHTMLBookmarkCollection : IHTMLBookmarkCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLBookmarkCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLButtonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLButtonElement.cs
index f270659e0c..800f77bfee 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLButtonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLButtonElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2BB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLButtonElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLButtonElement : IHTMLButtonElement.Interface
+public unsafe partial struct IHTMLButtonElement : IHTMLButtonElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLButtonElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLButtonElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLButtonElement2.cs
index 857d394328..a8d8d82f31 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLButtonElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLButtonElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106F3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLButtonElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLButtonElement2 : IHTMLButtonElement2.Interface
+public unsafe partial struct IHTMLButtonElement2 : IHTMLButtonElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLButtonElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSImportRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSImportRule.cs
index 338f93bca4..e2b936f19e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSImportRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSImportRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106EA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCSSImportRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCSSImportRule : IHTMLCSSImportRule.Interface
+public unsafe partial struct IHTMLCSSImportRule : IHTMLCSSImportRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCSSImportRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSMediaList.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSMediaList.cs
index 3f234734cf..eb7692c1b8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSMediaList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSMediaList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510731-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCSSMediaList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCSSMediaList : IHTMLCSSMediaList.Interface
+public unsafe partial struct IHTMLCSSMediaList : IHTMLCSSMediaList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCSSMediaList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSMediaRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSMediaRule.cs
index 0a8a91fe2e..c1ab128eba 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSMediaRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSMediaRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106EB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCSSMediaRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCSSMediaRule : IHTMLCSSMediaRule.Interface
+public unsafe partial struct IHTMLCSSMediaRule : IHTMLCSSMediaRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCSSMediaRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSNamespaceRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSNamespaceRule.cs
index fd58d2c0c1..6687b748aa 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSNamespaceRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSNamespaceRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106EE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCSSNamespaceRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCSSNamespaceRule : IHTMLCSSNamespaceRule.Interface
+public unsafe partial struct IHTMLCSSNamespaceRule : IHTMLCSSNamespaceRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCSSNamespaceRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSRule.cs
index c190937df7..7f710fb6a5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106E9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCSSRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCSSRule : IHTMLCSSRule.Interface
+public unsafe partial struct IHTMLCSSRule : IHTMLCSSRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCSSRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration.cs
index c40bc055fa..44c4c4768f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510740-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCSSStyleDeclaration : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCSSStyleDeclaration : IHTMLCSSStyleDeclaration.Interface
+public unsafe partial struct IHTMLCSSStyleDeclaration : IHTMLCSSStyleDeclaration.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCSSStyleDeclaration));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration2.cs
index 85401fb135..4070945cc2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107D1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCSSStyleDeclaration2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCSSStyleDeclaration2 : IHTMLCSSStyleDeclaration2.Interface
+public unsafe partial struct IHTMLCSSStyleDeclaration2 : IHTMLCSSStyleDeclaration2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCSSStyleDeclaration2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration3.cs
index 03658417d3..1926928291 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051085C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCSSStyleDeclaration3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCSSStyleDeclaration3 : IHTMLCSSStyleDeclaration3.Interface
+public unsafe partial struct IHTMLCSSStyleDeclaration3 : IHTMLCSSStyleDeclaration3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCSSStyleDeclaration3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration4.cs
index ca4f37f048..1374611b22 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCSSStyleDeclaration4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D6100F3B-27C8-4132-AFEA-F0E4B1E00060")]
[NativeTypeName("struct IHTMLCSSStyleDeclaration4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCSSStyleDeclaration4 : IHTMLCSSStyleDeclaration4.Interface
+public unsafe partial struct IHTMLCSSStyleDeclaration4 : IHTMLCSSStyleDeclaration4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCSSStyleDeclaration4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCanvasElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCanvasElement.cs
index 792cef9e72..c0d40080c0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCanvasElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCanvasElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106E4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCanvasElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCanvasElement : IHTMLCanvasElement.Interface
+public unsafe partial struct IHTMLCanvasElement : IHTMLCanvasElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCanvasElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCaret.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCaret.cs
index e7543d0278..112190c487 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCaret.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCaret.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F604-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCaret : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLCaret : IHTMLCaret.Interface
+public unsafe partial struct IHTMLCaret : IHTMLCaret.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCaret));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangeLog.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangeLog.cs
index 980b883f3c..88d492718b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangeLog.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangeLog.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F649-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLChangeLog : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLChangeLog : IHTMLChangeLog.Interface
+public unsafe partial struct IHTMLChangeLog : IHTMLChangeLog.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLChangeLog));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangePlayback.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangePlayback.cs
index 35ac1d0e92..e4635833d4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangePlayback.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangePlayback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6E0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLChangePlayback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLChangePlayback : IHTMLChangePlayback.Interface
+public unsafe partial struct IHTMLChangePlayback : IHTMLChangePlayback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLChangePlayback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangeSink.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangeSink.cs
index cb68ab0887..6322b167b9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangeSink.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLChangeSink.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F64A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLChangeSink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLChangeSink : IHTMLChangeSink.Interface
+public unsafe partial struct IHTMLChangeSink : IHTMLChangeSink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLChangeSink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement.cs
index ce086572f2..d98f3d66fe 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F20C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCommentElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCommentElement : IHTMLCommentElement.Interface
+public unsafe partial struct IHTMLCommentElement : IHTMLCommentElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCommentElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement2.cs
index 9f93d2a60c..a229e0b754 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F813-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCommentElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCommentElement2 : IHTMLCommentElement2.Interface
+public unsafe partial struct IHTMLCommentElement2 : IHTMLCommentElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCommentElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement3.cs
index 2f31bcf862..a27cb0ecdc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCommentElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051073F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCommentElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCommentElement3 : IHTMLCommentElement3.Interface
+public unsafe partial struct IHTMLCommentElement3 : IHTMLCommentElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCommentElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLComputedStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLComputedStyle.cs
index 34c463816f..b800cb4b39 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLComputedStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLComputedStyle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6C3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLComputedStyle : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLComputedStyle : IHTMLComputedStyle.Interface
+public unsafe partial struct IHTMLComputedStyle : IHTMLComputedStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLComputedStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlElement.cs
index a98e2ac2a0..2e88a7b982 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4E9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLControlElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLControlElement : IHTMLControlElement.Interface
+public unsafe partial struct IHTMLControlElement : IHTMLControlElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLControlElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlRange.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlRange.cs
index 41c8798031..eb32b45f63 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlRange.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlRange.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F29C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLControlRange : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLControlRange : IHTMLControlRange.Interface
+public unsafe partial struct IHTMLControlRange : IHTMLControlRange.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLControlRange));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlRange2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlRange2.cs
index aa7ca587f1..52fafdcd53 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlRange2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLControlRange2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F65E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLControlRange2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLControlRange2 : IHTMLControlRange2.Interface
+public unsafe partial struct IHTMLControlRange2 : IHTMLControlRange2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLControlRange2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle.cs
index ec50b2d0c8..96b7059139 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3DB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCurrentStyle : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCurrentStyle : IHTMLCurrentStyle.Interface
+public unsafe partial struct IHTMLCurrentStyle : IHTMLCurrentStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCurrentStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle2.cs
index 10f5e2b5d1..8b6eb9ad95 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F658-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCurrentStyle2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCurrentStyle2 : IHTMLCurrentStyle2.Interface
+public unsafe partial struct IHTMLCurrentStyle2 : IHTMLCurrentStyle2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCurrentStyle2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle3.cs
index e54bf904c7..208c5e7105 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F818-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCurrentStyle3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCurrentStyle3 : IHTMLCurrentStyle3.Interface
+public unsafe partial struct IHTMLCurrentStyle3 : IHTMLCurrentStyle3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCurrentStyle3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle4.cs
index 7a362a84d5..bed41781f6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F33B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCurrentStyle4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCurrentStyle4 : IHTMLCurrentStyle4.Interface
+public unsafe partial struct IHTMLCurrentStyle4 : IHTMLCurrentStyle4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCurrentStyle4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle5.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle5.cs
index 03aea19a20..e0d47204a1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle5.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510481-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLCurrentStyle5 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLCurrentStyle5 : IHTMLCurrentStyle5.Interface
+public unsafe partial struct IHTMLCurrentStyle5 : IHTMLCurrentStyle5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLCurrentStyle5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDDElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDDElement.cs
index 0a8c24c024..f6fa6b26bf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDDElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDDElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1F2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDDElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDDElement : IHTMLDDElement.Interface
+public unsafe partial struct IHTMLDDElement : IHTMLDDElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDDElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDListElement.cs
index 1eed3daa49..08a90c4a39 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDListElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1F1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDListElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDListElement : IHTMLDListElement.Interface
+public unsafe partial struct IHTMLDListElement : IHTMLDListElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDListElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute.cs
index 02bf8efd51..f68498a555 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4B0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMAttribute : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMAttribute : IHTMLDOMAttribute.Interface
+public unsafe partial struct IHTMLDOMAttribute : IHTMLDOMAttribute.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMAttribute));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute2.cs
index 8908e40055..2de255f222 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F810-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMAttribute2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMAttribute2 : IHTMLDOMAttribute2.Interface
+public unsafe partial struct IHTMLDOMAttribute2 : IHTMLDOMAttribute2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMAttribute2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute3.cs
index 60ae146f7c..0fc5c0eade 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510468-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMAttribute3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMAttribute3 : IHTMLDOMAttribute3.Interface
+public unsafe partial struct IHTMLDOMAttribute3 : IHTMLDOMAttribute3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMAttribute3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute4.cs
index 137e1a355b..5b91b0c33b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMAttribute4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106F9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMAttribute4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMAttribute4 : IHTMLDOMAttribute4.Interface
+public unsafe partial struct IHTMLDOMAttribute4 : IHTMLDOMAttribute4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMAttribute4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMChildrenCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMChildrenCollection.cs
index ce21ba5204..84cabf7b3a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMChildrenCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMChildrenCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5AB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMChildrenCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMChildrenCollection : IHTMLDOMChildrenCollection.Interface
+public unsafe partial struct IHTMLDOMChildrenCollection : IHTMLDOMChildrenCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMChildrenCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMChildrenCollection2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMChildrenCollection2.cs
index 2e45f94853..786992c74e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMChildrenCollection2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMChildrenCollection2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510791-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMChildrenCollection2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMChildrenCollection2 : IHTMLDOMChildrenCollection2.Interface
+public unsafe partial struct IHTMLDOMChildrenCollection2 : IHTMLDOMChildrenCollection2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMChildrenCollection2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMConstructor.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMConstructor.cs
index 5449d97419..a8fefd01a0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMConstructor.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMConstructor.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051049B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMConstructor : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMConstructor : IHTMLDOMConstructor.Interface
+public unsafe partial struct IHTMLDOMConstructor : IHTMLDOMConstructor.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMConstructor));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMConstructorCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMConstructorCollection.cs
index e9979671dc..aa459c1608 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMConstructorCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMConstructorCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051049C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMConstructorCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMConstructorCollection : IHTMLDOMConstructorCollection.Interface
+public unsafe partial struct IHTMLDOMConstructorCollection : IHTMLDOMConstructorCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMConstructorCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMImplementation.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMImplementation.cs
index 3051ee07da..2a0615bfea 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMImplementation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMImplementation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F80D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMImplementation : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMImplementation : IHTMLDOMImplementation.Interface
+public unsafe partial struct IHTMLDOMImplementation : IHTMLDOMImplementation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMImplementation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMImplementation2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMImplementation2.cs
index 6c4dc42922..4bf4229c25 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMImplementation2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMImplementation2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051073C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMImplementation2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMImplementation2 : IHTMLDOMImplementation2.Interface
+public unsafe partial struct IHTMLDOMImplementation2 : IHTMLDOMImplementation2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMImplementation2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode.cs
index a0e520de0e..1f5c230f17 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5DA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMNode : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMNode : IHTMLDOMNode.Interface
+public unsafe partial struct IHTMLDOMNode : IHTMLDOMNode.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMNode));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode2.cs
index dc693112a2..fe63ec60fb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F80B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMNode2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMNode2 : IHTMLDOMNode2.Interface
+public unsafe partial struct IHTMLDOMNode2 : IHTMLDOMNode2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMNode2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode3.cs
index 451a5f8b6b..07d5430f76 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMNode3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106E0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMNode3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMNode3 : IHTMLDOMNode3.Interface
+public unsafe partial struct IHTMLDOMNode3 : IHTMLDOMNode3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMNode3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMRange.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMRange.cs
index 190a4783ad..048f471716 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMRange.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMRange.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104AE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMRange : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMRange : IHTMLDOMRange.Interface
+public unsafe partial struct IHTMLDOMRange : IHTMLDOMRange.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMRange));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode.cs
index bb0d016c57..b76ae5941b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4B1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMTextNode : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMTextNode : IHTMLDOMTextNode.Interface
+public unsafe partial struct IHTMLDOMTextNode : IHTMLDOMTextNode.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMTextNode));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode2.cs
index 3af6e5260c..1e0121609c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F809-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMTextNode2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMTextNode2 : IHTMLDOMTextNode2.Interface
+public unsafe partial struct IHTMLDOMTextNode2 : IHTMLDOMTextNode2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMTextNode2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode3.cs
index 1aa8b8982c..9899a927ff 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDOMTextNode3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051073E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDOMTextNode3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDOMTextNode3 : IHTMLDOMTextNode3.Interface
+public unsafe partial struct IHTMLDOMTextNode3 : IHTMLDOMTextNode3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDOMTextNode3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDTElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDTElement.cs
index b0fa9ecdb3..d7a2e5fcb2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDTElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDTElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1F3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDTElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDTElement : IHTMLDTElement.Interface
+public unsafe partial struct IHTMLDTElement : IHTMLDTElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDTElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDataTransfer.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDataTransfer.cs
index 41a2222721..175c9fbdab 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDataTransfer.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDataTransfer.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4B3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDataTransfer : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDataTransfer : IHTMLDataTransfer.Interface
+public unsafe partial struct IHTMLDataTransfer : IHTMLDataTransfer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDataTransfer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDatabinding.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDatabinding.cs
index 4c4f7f8f92..0b4fb19e6c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDatabinding.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDatabinding.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3F2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDatabinding : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDatabinding : IHTMLDatabinding.Interface
+public unsafe partial struct IHTMLDatabinding : IHTMLDatabinding.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDatabinding));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog.cs
index ba17602d39..f3ac6107dd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F216-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDialog : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDialog : IHTMLDialog.Interface
+public unsafe partial struct IHTMLDialog : IHTMLDialog.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDialog));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog2.cs
index 9732917c7e..07bd35d928 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5E0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDialog2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDialog2 : IHTMLDialog2.Interface
+public unsafe partial struct IHTMLDialog2 : IHTMLDialog2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDialog2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog3.cs
index fff5e9a009..e9b0faf374 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDialog3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F388-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDialog3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDialog3 : IHTMLDialog3.Interface
+public unsafe partial struct IHTMLDialog3 : IHTMLDialog3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDialog3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDivElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDivElement.cs
index 5c46feb609..1a88b4c038 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDivElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDivElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F200-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDivElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDivElement : IHTMLDivElement.Interface
+public unsafe partial struct IHTMLDivElement : IHTMLDivElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDivElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDivPosition.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDivPosition.cs
index 004ad8a8e6..a00e396e88 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDivPosition.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDivPosition.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F212-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDivPosition : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDivPosition : IHTMLDivPosition.Interface
+public unsafe partial struct IHTMLDivPosition : IHTMLDivPosition.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDivPosition));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument.cs
index 2af737e547..f46781ec30 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("626FC520-A41E-11CF-A731-00A0C9082637")]
[NativeTypeName("struct IHTMLDocument : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDocument : IHTMLDocument.Interface
+public unsafe partial struct IHTMLDocument : IHTMLDocument.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDocument));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument2.cs
index 1b4ba053cc..0fcdf2684d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("332C4425-26CB-11D0-B483-00C04FD90119")]
[NativeTypeName("struct IHTMLDocument2 : IHTMLDocument")]
[NativeInheritance("IHTMLDocument")]
-public unsafe partial struct IHTMLDocument2 : IHTMLDocument2.Interface
+public unsafe partial struct IHTMLDocument2 : IHTMLDocument2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDocument2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument3.cs
index d6450a5619..02ac7a4ee3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F485-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDocument3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDocument3 : IHTMLDocument3.Interface
+public unsafe partial struct IHTMLDocument3 : IHTMLDocument3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDocument3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument4.cs
index d2704b3f88..418ce2d7d3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F69A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDocument4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDocument4 : IHTMLDocument4.Interface
+public unsafe partial struct IHTMLDocument4 : IHTMLDocument4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDocument4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument5.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument5.cs
index f4db74dacb..54ab95b32e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument5.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F80C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDocument5 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDocument5 : IHTMLDocument5.Interface
+public unsafe partial struct IHTMLDocument5 : IHTMLDocument5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDocument5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument6.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument6.cs
index 35fa1419b5..bf87977abb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument6.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument6.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510417-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDocument6 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDocument6 : IHTMLDocument6.Interface
+public unsafe partial struct IHTMLDocument6 : IHTMLDocument6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDocument6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument7.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument7.cs
index 64cb7e2b36..0e8c9ed723 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument7.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument7.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104B8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDocument7 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDocument7 : IHTMLDocument7.Interface
+public unsafe partial struct IHTMLDocument7 : IHTMLDocument7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDocument7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument8.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument8.cs
index f767cd1df5..858e644c80 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument8.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocument8.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107D0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDocument8 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDocument8 : IHTMLDocument8.Interface
+public unsafe partial struct IHTMLDocument8 : IHTMLDocument8.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDocument8));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocumentCompatibleInfo.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocumentCompatibleInfo.cs
index 1dc9765d52..e51d55a4cb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocumentCompatibleInfo.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocumentCompatibleInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051041A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDocumentCompatibleInfo : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDocumentCompatibleInfo : IHTMLDocumentCompatibleInfo.Interface
+public unsafe partial struct IHTMLDocumentCompatibleInfo : IHTMLDocumentCompatibleInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDocumentCompatibleInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocumentCompatibleInfoCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocumentCompatibleInfoCollection.cs
index 7be1d7d87a..b7ff6d140a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocumentCompatibleInfoCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLDocumentCompatibleInfoCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510418-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLDocumentCompatibleInfoCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLDocumentCompatibleInfoCollection : IHTMLDocumentCompatibleInfoCollection.Interface
+public unsafe partial struct IHTMLDocumentCompatibleInfoCollection : IHTMLDocumentCompatibleInfoCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLDocumentCompatibleInfoCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditDesigner.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditDesigner.cs
index 4c9f261301..499c222a34 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditDesigner.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditDesigner.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F662-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEditDesigner : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLEditDesigner : IHTMLEditDesigner.Interface
+public unsafe partial struct IHTMLEditDesigner : IHTMLEditDesigner.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEditDesigner));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditHost.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditHost.cs
index 9a026b3e9c..b1c4f921a4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditHost.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditHost.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6A0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEditHost : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLEditHost : IHTMLEditHost.Interface
+public unsafe partial struct IHTMLEditHost : IHTMLEditHost.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEditHost));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditHost2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditHost2.cs
index 60805954b8..18dc33b34d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditHost2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditHost2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F848-98B5-11CF-BB82-00AA00BDCE0D")]
[NativeTypeName("struct IHTMLEditHost2 : IHTMLEditHost")]
[NativeInheritance("IHTMLEditHost")]
-public unsafe partial struct IHTMLEditHost2 : IHTMLEditHost2.Interface
+public unsafe partial struct IHTMLEditHost2 : IHTMLEditHost2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEditHost2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditServices.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditServices.cs
index 42561b604b..519e042c53 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditServices.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditServices.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F663-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEditServices : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLEditServices : IHTMLEditServices.Interface
+public unsafe partial struct IHTMLEditServices : IHTMLEditServices.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEditServices));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditServices2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditServices2.cs
index 4fdb79e741..73d983c632 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditServices2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEditServices2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F812-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEditServices2 : IHTMLEditServices")]
[NativeInheritance("IHTMLEditServices")]
-public unsafe partial struct IHTMLEditServices2 : IHTMLEditServices2.Interface
+public unsafe partial struct IHTMLEditServices2 : IHTMLEditServices2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEditServices2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement.cs
index 793b06c5f3..6158078041 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1FF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElement : IHTMLElement.Interface
+public unsafe partial struct IHTMLElement : IHTMLElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement2.cs
index a8b1fd96ea..03d4992ded 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F434-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElement2 : IHTMLElement2.Interface
+public unsafe partial struct IHTMLElement2 : IHTMLElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement3.cs
index 2c617e3970..d2f965390b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F673-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElement3 : IHTMLElement3.Interface
+public unsafe partial struct IHTMLElement3 : IHTMLElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement4.cs
index 37dda539ae..08c04d92b8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F80F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElement4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElement4 : IHTMLElement4.Interface
+public unsafe partial struct IHTMLElement4 : IHTMLElement4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElement4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement5.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement5.cs
index 7978bb61ef..475f5de940 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement5.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051045D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElement5 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElement5 : IHTMLElement5.Interface
+public unsafe partial struct IHTMLElement5 : IHTMLElement5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElement5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement6.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement6.cs
index a80d2944a8..0b973aa7cf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement6.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement6.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106F8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElement6 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElement6 : IHTMLElement6.Interface
+public unsafe partial struct IHTMLElement6 : IHTMLElement6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElement6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement7.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement7.cs
index bac373e939..2627312ba1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement7.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElement7.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107AA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElement7 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElement7 : IHTMLElement7.Interface
+public unsafe partial struct IHTMLElement7 : IHTMLElement7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElement7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementAppliedStyles.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementAppliedStyles.cs
index 14a51e70f9..38eb33d21c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementAppliedStyles.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementAppliedStyles.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104BD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElementAppliedStyles : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElementAppliedStyles : IHTMLElementAppliedStyles.Interface
+public unsafe partial struct IHTMLElementAppliedStyles : IHTMLElementAppliedStyles.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElementAppliedStyles));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection.cs
index 3a0f655b17..7be4f31090 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F21F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElementCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElementCollection : IHTMLElementCollection.Interface
+public unsafe partial struct IHTMLElementCollection : IHTMLElementCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElementCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection2.cs
index 280ca1b107..d94f9a369f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5EE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElementCollection2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElementCollection2 : IHTMLElementCollection2.Interface
+public unsafe partial struct IHTMLElementCollection2 : IHTMLElementCollection2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElementCollection2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection3.cs
index 762ce2a5c7..02268f69a1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F835-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElementCollection3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElementCollection3 : IHTMLElementCollection3.Interface
+public unsafe partial struct IHTMLElementCollection3 : IHTMLElementCollection3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElementCollection3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection4.cs
index 2c70f93eda..3d15e960a3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementCollection4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510425-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElementCollection4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElementCollection4 : IHTMLElementCollection4.Interface
+public unsafe partial struct IHTMLElementCollection4 : IHTMLElementCollection4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElementCollection4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementDefaults.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementDefaults.cs
index 383aac4221..177ba4aa28 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementDefaults.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementDefaults.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6C9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElementDefaults : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLElementDefaults : IHTMLElementDefaults.Interface
+public unsafe partial struct IHTMLElementDefaults : IHTMLElementDefaults.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElementDefaults));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementRender.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementRender.cs
index c5831ba106..24c014d2f7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementRender.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLElementRender.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F669-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLElementRender : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLElementRender : IHTMLElementRender.Interface
+public unsafe partial struct IHTMLElementRender : IHTMLElementRender.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLElementRender));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEmbedElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEmbedElement.cs
index 6188981c61..e318744857 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEmbedElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEmbedElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F25F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEmbedElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLEmbedElement : IHTMLEmbedElement.Interface
+public unsafe partial struct IHTMLEmbedElement : IHTMLEmbedElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEmbedElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEmbedElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEmbedElement2.cs
index b9fbc43377..0e32fef0e3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEmbedElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEmbedElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510493-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEmbedElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLEmbedElement2 : IHTMLEmbedElement2.Interface
+public unsafe partial struct IHTMLEmbedElement2 : IHTMLEmbedElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEmbedElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj.cs
index 023bef4aed..1afa87efe4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F32D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEventObj : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLEventObj : IHTMLEventObj.Interface
+public unsafe partial struct IHTMLEventObj : IHTMLEventObj.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEventObj));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj2.cs
index c2180022c1..ebd213fd4f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F48B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEventObj2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLEventObj2 : IHTMLEventObj2.Interface
+public unsafe partial struct IHTMLEventObj2 : IHTMLEventObj2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEventObj2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj3.cs
index 070f9632a5..ab6a283371 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F680-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEventObj3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLEventObj3 : IHTMLEventObj3.Interface
+public unsafe partial struct IHTMLEventObj3 : IHTMLEventObj3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEventObj3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj4.cs
index c95582d61f..8e9cfad4e8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F814-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEventObj4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLEventObj4 : IHTMLEventObj4.Interface
+public unsafe partial struct IHTMLEventObj4 : IHTMLEventObj4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEventObj4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj5.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj5.cs
index 588acbd6d3..30bc34cc8e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj5.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510478-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEventObj5 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLEventObj5 : IHTMLEventObj5.Interface
+public unsafe partial struct IHTMLEventObj5 : IHTMLEventObj5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEventObj5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj6.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj6.cs
index eb7af7dc2b..b9cc46888f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj6.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLEventObj6.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510734-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLEventObj6 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLEventObj6 : IHTMLEventObj6.Interface
+public unsafe partial struct IHTMLEventObj6 : IHTMLEventObj6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLEventObj6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFieldSetElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFieldSetElement.cs
index 7d06626527..b3894b9058 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFieldSetElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFieldSetElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3E7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFieldSetElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFieldSetElement : IHTMLFieldSetElement.Interface
+public unsafe partial struct IHTMLFieldSetElement : IHTMLFieldSetElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFieldSetElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFieldSetElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFieldSetElement2.cs
index b5552f3b87..4e28e04749 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFieldSetElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFieldSetElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F833-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFieldSetElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFieldSetElement2 : IHTMLFieldSetElement2.Interface
+public unsafe partial struct IHTMLFieldSetElement2 : IHTMLFieldSetElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFieldSetElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFiltersCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFiltersCollection.cs
index d5601aff92..8b4422e562 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFiltersCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFiltersCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3EE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFiltersCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFiltersCollection : IHTMLFiltersCollection.Interface
+public unsafe partial struct IHTMLFiltersCollection : IHTMLFiltersCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFiltersCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontElement.cs
index cea1b8c2c0..54210fd9ab 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1D9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFontElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFontElement : IHTMLFontElement.Interface
+public unsafe partial struct IHTMLFontElement : IHTMLFontElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFontElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontNamesCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontNamesCollection.cs
index 05683811d9..9d3ed5e1cd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontNamesCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontNamesCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F376-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFontNamesCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFontNamesCollection : IHTMLFontNamesCollection.Interface
+public unsafe partial struct IHTMLFontNamesCollection : IHTMLFontNamesCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFontNamesCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontSizesCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontSizesCollection.cs
index 87215fc8cc..0ef4a22a03 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontSizesCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFontSizesCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F377-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFontSizesCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFontSizesCollection : IHTMLFontSizesCollection.Interface
+public unsafe partial struct IHTMLFontSizesCollection : IHTMLFontSizesCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFontSizesCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement.cs
index 45c62c55a8..6ac787551a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1F7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFormElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFormElement : IHTMLFormElement.Interface
+public unsafe partial struct IHTMLFormElement : IHTMLFormElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFormElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement2.cs
index 26e185eb79..ac00f78eb1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4F6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFormElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFormElement2 : IHTMLFormElement2.Interface
+public unsafe partial struct IHTMLFormElement2 : IHTMLFormElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFormElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement3.cs
index 0b30714499..e127276d61 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F836-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFormElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFormElement3 : IHTMLFormElement3.Interface
+public unsafe partial struct IHTMLFormElement3 : IHTMLFormElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFormElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement4.cs
index dd5e51e3ed..79b705c582 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFormElement4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051042C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFormElement4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFormElement4 : IHTMLFormElement4.Interface
+public unsafe partial struct IHTMLFormElement4 : IHTMLFormElement4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFormElement4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase.cs
index 8ddb751c2f..8550d01651 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F311-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFrameBase : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFrameBase : IHTMLFrameBase.Interface
+public unsafe partial struct IHTMLFrameBase : IHTMLFrameBase.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFrameBase));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase2.cs
index 10461ebd75..cc2bd37838 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6DB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFrameBase2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFrameBase2 : IHTMLFrameBase2.Interface
+public unsafe partial struct IHTMLFrameBase2 : IHTMLFrameBase2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFrameBase2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase3.cs
index 6ef7f5aa2b..9c61a46b70 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameBase3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F82E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFrameBase3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFrameBase3 : IHTMLFrameBase3.Interface
+public unsafe partial struct IHTMLFrameBase3 : IHTMLFrameBase3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFrameBase3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement.cs
index 4162941473..9ee9dc77cb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F313-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFrameElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFrameElement : IHTMLFrameElement.Interface
+public unsafe partial struct IHTMLFrameElement : IHTMLFrameElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFrameElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement2.cs
index 99a26bdcf2..4f2a2badea 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F7F5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFrameElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFrameElement2 : IHTMLFrameElement2.Interface
+public unsafe partial struct IHTMLFrameElement2 : IHTMLFrameElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFrameElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement3.cs
index 6c7ef10d54..ceaba1166d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051042D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFrameElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFrameElement3 : IHTMLFrameElement3.Interface
+public unsafe partial struct IHTMLFrameElement3 : IHTMLFrameElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFrameElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement.cs
index 94a1b6bbcd..7953a2da82 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F319-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFrameSetElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFrameSetElement : IHTMLFrameSetElement.Interface
+public unsafe partial struct IHTMLFrameSetElement : IHTMLFrameSetElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFrameSetElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement2.cs
index ac0bfc8ef3..2cebd52da6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5C6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFrameSetElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFrameSetElement2 : IHTMLFrameSetElement2.Interface
+public unsafe partial struct IHTMLFrameSetElement2 : IHTMLFrameSetElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFrameSetElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement3.cs
index 42660ffd50..be55eb2994 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFrameSetElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510796-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLFrameSetElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFrameSetElement3 : IHTMLFrameSetElement3.Interface
+public unsafe partial struct IHTMLFrameSetElement3 : IHTMLFrameSetElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFrameSetElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFramesCollection2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFramesCollection2.cs
index a661563814..40c3915ec1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFramesCollection2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLFramesCollection2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("332C4426-26CB-11D0-B483-00C04FD90119")]
[NativeTypeName("struct IHTMLFramesCollection2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLFramesCollection2 : IHTMLFramesCollection2.Interface
+public unsafe partial struct IHTMLFramesCollection2 : IHTMLFramesCollection2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLFramesCollection2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLGenericElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLGenericElement.cs
index bd7c042a92..b7d498abd0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLGenericElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLGenericElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4B7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLGenericElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLGenericElement : IHTMLGenericElement.Interface
+public unsafe partial struct IHTMLGenericElement : IHTMLGenericElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLGenericElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHRElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHRElement.cs
index b7ca7f02b5..46ca57ca89 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHRElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHRElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1F4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLHRElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLHRElement : IHTMLHRElement.Interface
+public unsafe partial struct IHTMLHRElement : IHTMLHRElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLHRElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeadElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeadElement.cs
index f0fb92597f..ae0cd6ab49 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeadElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeadElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F81D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLHeadElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLHeadElement : IHTMLHeadElement.Interface
+public unsafe partial struct IHTMLHeadElement : IHTMLHeadElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLHeadElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeadElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeadElement2.cs
index 3e565c664c..520d51b6c0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeadElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeadElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051042F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLHeadElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLHeadElement2 : IHTMLHeadElement2.Interface
+public unsafe partial struct IHTMLHeadElement2 : IHTMLHeadElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLHeadElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeaderElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeaderElement.cs
index ff92b3eae8..9d07ac04aa 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeaderElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHeaderElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1F6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLHeaderElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLHeaderElement : IHTMLHeaderElement.Interface
+public unsafe partial struct IHTMLHeaderElement : IHTMLHeaderElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLHeaderElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHtmlElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHtmlElement.cs
index 0d1627efe3..7b7e0f450f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHtmlElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLHtmlElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F81C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLHtmlElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLHtmlElement : IHTMLHtmlElement.Interface
+public unsafe partial struct IHTMLHtmlElement : IHTMLHtmlElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLHtmlElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement.cs
index 9dfefa4416..804cb4aa52 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F315-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLIFrameElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLIFrameElement : IHTMLIFrameElement.Interface
+public unsafe partial struct IHTMLIFrameElement : IHTMLIFrameElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLIFrameElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement2.cs
index 124fb08054..9a80cbd72d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4E6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLIFrameElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLIFrameElement2 : IHTMLIFrameElement2.Interface
+public unsafe partial struct IHTMLIFrameElement2 : IHTMLIFrameElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLIFrameElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement3.cs
index 687e33b526..318a669ef5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIFrameElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510433-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLIFrameElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLIFrameElement3 : IHTMLIFrameElement3.Interface
+public unsafe partial struct IHTMLIFrameElement3 : IHTMLIFrameElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLIFrameElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIPrintCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIPrintCollection.cs
index bf5fcdd0f1..ba9cb6e836 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIPrintCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIPrintCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6B5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLIPrintCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLIPrintCollection : IHTMLIPrintCollection.Interface
+public unsafe partial struct IHTMLIPrintCollection : IHTMLIPrintCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLIPrintCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImageElementFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImageElementFactory.cs
index 5967a92f17..e9a0be30aa 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImageElementFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImageElementFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F38E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLImageElementFactory : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLImageElementFactory : IHTMLImageElementFactory.Interface
+public unsafe partial struct IHTMLImageElementFactory : IHTMLImageElementFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLImageElementFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement.cs
index 772d4c76c1..ae3f77d136 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F240-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLImgElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLImgElement : IHTMLImgElement.Interface
+public unsafe partial struct IHTMLImgElement : IHTMLImgElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLImgElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement2.cs
index c9465306e0..8e5e226e02 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F826-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLImgElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLImgElement2 : IHTMLImgElement2.Interface
+public unsafe partial struct IHTMLImgElement2 : IHTMLImgElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLImgElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement3.cs
index f9a22d868c..f2376a2482 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510434-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLImgElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLImgElement3 : IHTMLImgElement3.Interface
+public unsafe partial struct IHTMLImgElement3 : IHTMLImgElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLImgElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement4.cs
index 1a7ca1aec5..019dc122e1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLImgElement4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107F6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLImgElement4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLImgElement4 : IHTMLImgElement4.Interface
+public unsafe partial struct IHTMLImgElement4 : IHTMLImgElement4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLImgElement4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputButtonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputButtonElement.cs
index 6096851209..4fd38c96df 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputButtonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputButtonElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2B2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLInputButtonElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLInputButtonElement : IHTMLInputButtonElement.Interface
+public unsafe partial struct IHTMLInputButtonElement : IHTMLInputButtonElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLInputButtonElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement.cs
index 8f7fdba208..dab07402af 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5D2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLInputElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLInputElement : IHTMLInputElement.Interface
+public unsafe partial struct IHTMLInputElement : IHTMLInputElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLInputElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement2.cs
index 46ea356a8c..4a5f6d5243 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F821-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLInputElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLInputElement2 : IHTMLInputElement2.Interface
+public unsafe partial struct IHTMLInputElement2 : IHTMLInputElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLInputElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement3.cs
index a90e846701..fa5cb89f73 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510435-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLInputElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLInputElement3 : IHTMLInputElement3.Interface
+public unsafe partial struct IHTMLInputElement3 : IHTMLInputElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLInputElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputFileElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputFileElement.cs
index 2b7524e9c1..7c4a9afebc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputFileElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputFileElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2AD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLInputFileElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLInputFileElement : IHTMLInputFileElement.Interface
+public unsafe partial struct IHTMLInputFileElement : IHTMLInputFileElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLInputFileElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputHiddenElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputHiddenElement.cs
index 6d8c73ac6f..c474be8edb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputHiddenElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputHiddenElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2A4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLInputHiddenElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLInputHiddenElement : IHTMLInputHiddenElement.Interface
+public unsafe partial struct IHTMLInputHiddenElement : IHTMLInputHiddenElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLInputHiddenElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputImage.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputImage.cs
index b3176edd8a..a6dd750e30 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputImage.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputImage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2C2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLInputImage : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLInputImage : IHTMLInputImage.Interface
+public unsafe partial struct IHTMLInputImage : IHTMLInputImage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLInputImage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputRangeElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputRangeElement.cs
index 22dae63571..20c87a6121 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputRangeElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputRangeElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2D4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLInputRangeElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLInputRangeElement : IHTMLInputRangeElement.Interface
+public unsafe partial struct IHTMLInputRangeElement : IHTMLInputRangeElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLInputRangeElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputTextElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputTextElement.cs
index b81b3c48b1..06e0c75ce6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputTextElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputTextElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2A6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLInputTextElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLInputTextElement : IHTMLInputTextElement.Interface
+public unsafe partial struct IHTMLInputTextElement : IHTMLInputTextElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLInputTextElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputTextElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputTextElement2.cs
index f02d534c33..6df513a699 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputTextElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLInputTextElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2D2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLInputTextElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLInputTextElement2 : IHTMLInputTextElement2.Interface
+public unsafe partial struct IHTMLInputTextElement2 : IHTMLInputTextElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLInputTextElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIsIndexElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIsIndexElement.cs
index 175093da76..8e941dd0c0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIsIndexElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIsIndexElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F206-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLIsIndexElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLIsIndexElement : IHTMLIsIndexElement.Interface
+public unsafe partial struct IHTMLIsIndexElement : IHTMLIsIndexElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLIsIndexElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIsIndexElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIsIndexElement2.cs
index 70a78ed222..b2cf5b8f26 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIsIndexElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLIsIndexElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F82F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLIsIndexElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLIsIndexElement2 : IHTMLIsIndexElement2.Interface
+public unsafe partial struct IHTMLIsIndexElement2 : IHTMLIsIndexElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLIsIndexElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLIElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLIElement.cs
index e6b01f4e59..38a698ae41 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLIElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLIElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1E0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLLIElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLLIElement : IHTMLLIElement.Interface
+public unsafe partial struct IHTMLLIElement : IHTMLLIElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLLIElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLabelElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLabelElement.cs
index ee62e5212d..0280aa3fb2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLabelElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLabelElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F32A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLLabelElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLLabelElement : IHTMLLabelElement.Interface
+public unsafe partial struct IHTMLLabelElement : IHTMLLabelElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLLabelElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLabelElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLabelElement2.cs
index ee1e4af2bc..0210349b3b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLabelElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLabelElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F832-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLLabelElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLLabelElement2 : IHTMLLabelElement2.Interface
+public unsafe partial struct IHTMLLabelElement2 : IHTMLLabelElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLLabelElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLegendElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLegendElement.cs
index 5effa993bf..8914cf05f7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLegendElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLegendElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3EA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLLegendElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLLegendElement : IHTMLLegendElement.Interface
+public unsafe partial struct IHTMLLegendElement : IHTMLLegendElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLLegendElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLegendElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLegendElement2.cs
index be5641a0ee..3dc554b588 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLegendElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLegendElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F834-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLLegendElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLLegendElement2 : IHTMLLegendElement2.Interface
+public unsafe partial struct IHTMLLegendElement2 : IHTMLLegendElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLLegendElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement.cs
index 3396f55260..8d47e0ef21 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F205-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLLinkElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLLinkElement : IHTMLLinkElement.Interface
+public unsafe partial struct IHTMLLinkElement : IHTMLLinkElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLLinkElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement2.cs
index 4a760db14d..1554a34233 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4E5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLLinkElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLLinkElement2 : IHTMLLinkElement2.Interface
+public unsafe partial struct IHTMLLinkElement2 : IHTMLLinkElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLLinkElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement3.cs
index 28be7f19de..12bb09e96f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F81E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLLinkElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLLinkElement3 : IHTMLLinkElement3.Interface
+public unsafe partial struct IHTMLLinkElement3 : IHTMLLinkElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLLinkElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement4.cs
index 2e3822b424..3fc224a70e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051043A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLLinkElement4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLLinkElement4 : IHTMLLinkElement4.Interface
+public unsafe partial struct IHTMLLinkElement4 : IHTMLLinkElement4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLLinkElement4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement5.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement5.cs
index 61b2ff514f..41390574b3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement5.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLinkElement5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510726-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLLinkElement5 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLLinkElement5 : IHTMLLinkElement5.Interface
+public unsafe partial struct IHTMLLinkElement5 : IHTMLLinkElement5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLLinkElement5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLListElement.cs
index a96a595dbf..9c488c9b97 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLListElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F20E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLListElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLListElement : IHTMLListElement.Interface
+public unsafe partial struct IHTMLListElement : IHTMLListElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLListElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLListElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLListElement2.cs
index 3062465a34..68c6e578f6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLListElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLListElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F822-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLListElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLListElement2 : IHTMLListElement2.Interface
+public unsafe partial struct IHTMLListElement2 : IHTMLListElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLListElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLocation.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLocation.cs
index 29c18dc329..56b2687f8a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLocation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLLocation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("163BB1E0-6E00-11CF-837A-48DC04C10000")]
[NativeTypeName("struct IHTMLLocation : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLLocation : IHTMLLocation.Interface
+public unsafe partial struct IHTMLLocation : IHTMLLocation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLLocation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSCSSKeyframeRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSCSSKeyframeRule.cs
index c7b2a47c7b..a55e9c4360 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSCSSKeyframeRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSCSSKeyframeRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051080C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMSCSSKeyframeRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMSCSSKeyframeRule : IHTMLMSCSSKeyframeRule.Interface
+public unsafe partial struct IHTMLMSCSSKeyframeRule : IHTMLMSCSSKeyframeRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMSCSSKeyframeRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSCSSKeyframesRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSCSSKeyframesRule.cs
index 5d6c652570..ff99945ba1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSCSSKeyframesRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSCSSKeyframesRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051080D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMSCSSKeyframesRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMSCSSKeyframesRule : IHTMLMSCSSKeyframesRule.Interface
+public unsafe partial struct IHTMLMSCSSKeyframesRule : IHTMLMSCSSKeyframesRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMSCSSKeyframesRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSImgElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSImgElement.cs
index f33a452a09..f4731df5d5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSImgElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSImgElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510793-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMSImgElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMSImgElement : IHTMLMSImgElement.Interface
+public unsafe partial struct IHTMLMSImgElement : IHTMLMSImgElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMSImgElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSMediaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSMediaElement.cs
index 64319c70e4..e47eba4e6e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSMediaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMSMediaElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510792-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMSMediaElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMSMediaElement : IHTMLMSMediaElement.Interface
+public unsafe partial struct IHTMLMSMediaElement : IHTMLMSMediaElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMSMediaElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMapElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMapElement.cs
index 01587b74d1..7358185195 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMapElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMapElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F266-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMapElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMapElement : IHTMLMapElement.Interface
+public unsafe partial struct IHTMLMapElement : IHTMLMapElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMapElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMarqueeElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMarqueeElement.cs
index 99f02a47c1..0183e2efa3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMarqueeElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMarqueeElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2B5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMarqueeElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMarqueeElement : IHTMLMarqueeElement.Interface
+public unsafe partial struct IHTMLMarqueeElement : IHTMLMarqueeElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMarqueeElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaElement.cs
index 335716790b..6b6ea8d0a9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510706-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMediaElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMediaElement : IHTMLMediaElement.Interface
+public unsafe partial struct IHTMLMediaElement : IHTMLMediaElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMediaElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaElement2.cs
index ad4e69bf03..bc61c51a82 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510809-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMediaElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMediaElement2 : IHTMLMediaElement2.Interface
+public unsafe partial struct IHTMLMediaElement2 : IHTMLMediaElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMediaElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaError.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaError.cs
index fe7868be00..36ff143180 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaError.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMediaError.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510704-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMediaError : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMediaError : IHTMLMediaError.Interface
+public unsafe partial struct IHTMLMediaError : IHTMLMediaError.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMediaError));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement.cs
index 4b07363e86..4042046a96 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F203-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMetaElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMetaElement : IHTMLMetaElement.Interface
+public unsafe partial struct IHTMLMetaElement : IHTMLMetaElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMetaElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement2.cs
index a8e0d9bda7..72f9553d2e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F81F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMetaElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMetaElement2 : IHTMLMetaElement2.Interface
+public unsafe partial struct IHTMLMetaElement2 : IHTMLMetaElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMetaElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement3.cs
index a664d20f5a..a33d76fa99 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMetaElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510495-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMetaElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMetaElement3 : IHTMLMetaElement3.Interface
+public unsafe partial struct IHTMLMetaElement3 : IHTMLMetaElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMetaElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMimeTypesCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMimeTypesCollection.cs
index 9b79243678..49a4de5f3a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMimeTypesCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLMimeTypesCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3FC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLMimeTypesCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLMimeTypesCollection : IHTMLMimeTypesCollection.Interface
+public unsafe partial struct IHTMLMimeTypesCollection : IHTMLMimeTypesCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLMimeTypesCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLModelessInit.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLModelessInit.cs
index d70fdf279e..10637d8502 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLModelessInit.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLModelessInit.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5E4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLModelessInit : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLModelessInit : IHTMLModelessInit.Interface
+public unsafe partial struct IHTMLModelessInit : IHTMLModelessInit.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLModelessInit));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNamespace.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNamespace.cs
index c0aad4e32d..941e238c56 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNamespace.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNamespace.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6BB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLNamespace : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLNamespace : IHTMLNamespace.Interface
+public unsafe partial struct IHTMLNamespace : IHTMLNamespace.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLNamespace));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNamespaceCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNamespaceCollection.cs
index 0cfcac98c3..ad8171eadb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNamespaceCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNamespaceCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6B8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLNamespaceCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLNamespaceCollection : IHTMLNamespaceCollection.Interface
+public unsafe partial struct IHTMLNamespaceCollection : IHTMLNamespaceCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLNamespaceCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNextIdElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNextIdElement.cs
index dbe71ca6bf..31235e39c0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNextIdElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNextIdElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F207-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLNextIdElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLNextIdElement : IHTMLNextIdElement.Interface
+public unsafe partial struct IHTMLNextIdElement : IHTMLNextIdElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLNextIdElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNoShowElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNoShowElement.cs
index b900cba460..50e31ed041 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNoShowElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLNoShowElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F38A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLNoShowElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLNoShowElement : IHTMLNoShowElement.Interface
+public unsafe partial struct IHTMLNoShowElement : IHTMLNoShowElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLNoShowElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOListElement.cs
index 5ef288fcc4..5d29ac50b4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOListElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1DE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLOListElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLOListElement : IHTMLOListElement.Interface
+public unsafe partial struct IHTMLOListElement : IHTMLOListElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLOListElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement.cs
index d8aed06185..794d30e69f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F24F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLObjectElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLObjectElement : IHTMLObjectElement.Interface
+public unsafe partial struct IHTMLObjectElement : IHTMLObjectElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLObjectElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement2.cs
index 14582e7d02..e4f221b168 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4CD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLObjectElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLObjectElement2 : IHTMLObjectElement2.Interface
+public unsafe partial struct IHTMLObjectElement2 : IHTMLObjectElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLObjectElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement3.cs
index 3b58c0f107..669d630fb5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F827-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLObjectElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLObjectElement3 : IHTMLObjectElement3.Interface
+public unsafe partial struct IHTMLObjectElement3 : IHTMLObjectElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLObjectElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement4.cs
index 882f47c764..c81fdf96d5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051043E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLObjectElement4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLObjectElement4 : IHTMLObjectElement4.Interface
+public unsafe partial struct IHTMLObjectElement4 : IHTMLObjectElement4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLObjectElement4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement5.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement5.cs
index 996b789d26..d1bd4e0c71 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement5.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLObjectElement5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104B5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLObjectElement5 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLObjectElement5 : IHTMLObjectElement5.Interface
+public unsafe partial struct IHTMLObjectElement5 : IHTMLObjectElement5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLObjectElement5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOpsProfile.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOpsProfile.cs
index 6794b6f152..67c5cd7912 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOpsProfile.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOpsProfile.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F401-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLOpsProfile : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLOpsProfile : IHTMLOpsProfile.Interface
+public unsafe partial struct IHTMLOpsProfile : IHTMLOpsProfile.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLOpsProfile));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionButtonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionButtonElement.cs
index 4efe42e33a..fc1f3ddf52 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionButtonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionButtonElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2BC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLOptionButtonElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLOptionButtonElement : IHTMLOptionButtonElement.Interface
+public unsafe partial struct IHTMLOptionButtonElement : IHTMLOptionButtonElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLOptionButtonElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement.cs
index 1b6edf5385..67499bcb2f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F211-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLOptionElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLOptionElement : IHTMLOptionElement.Interface
+public unsafe partial struct IHTMLOptionElement : IHTMLOptionElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLOptionElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement3.cs
index c2203d6232..02cd660f17 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F820-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLOptionElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLOptionElement3 : IHTMLOptionElement3.Interface
+public unsafe partial struct IHTMLOptionElement3 : IHTMLOptionElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLOptionElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement4.cs
index 9a19b435ae..03bcf71199 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElement4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107B4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLOptionElement4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLOptionElement4 : IHTMLOptionElement4.Interface
+public unsafe partial struct IHTMLOptionElement4 : IHTMLOptionElement4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLOptionElement4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElementFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElementFactory.cs
index 1eb0300398..7f7bce6646 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElementFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionElementFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F38C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLOptionElementFactory : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLOptionElementFactory : IHTMLOptionElementFactory.Interface
+public unsafe partial struct IHTMLOptionElementFactory : IHTMLOptionElementFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLOptionElementFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionsHolder.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionsHolder.cs
index 7d41fbc3b5..05f0a0d843 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionsHolder.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLOptionsHolder.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F378-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLOptionsHolder : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLOptionsHolder : IHTMLOptionsHolder.Interface
+public unsafe partial struct IHTMLOptionsHolder : IHTMLOptionsHolder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLOptionsHolder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPaintSite.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPaintSite.cs
index b01957c5f6..20b3939de7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPaintSite.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPaintSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6A7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPaintSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLPaintSite : IHTMLPaintSite.Interface
+public unsafe partial struct IHTMLPaintSite : IHTMLPaintSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPaintSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainter.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainter.cs
index b47e0f9e2e..e64dc02797 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainter.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainter.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6A6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPainter : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLPainter : IHTMLPainter.Interface
+public unsafe partial struct IHTMLPainter : IHTMLPainter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPainter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainterEventInfo.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainterEventInfo.cs
index 918ded5328..40b8121980 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainterEventInfo.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainterEventInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6DF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPainterEventInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLPainterEventInfo : IHTMLPainterEventInfo.Interface
+public unsafe partial struct IHTMLPainterEventInfo : IHTMLPainterEventInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPainterEventInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainterOverlay.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainterOverlay.cs
index 25bfbb7e49..f76680a4f4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainterOverlay.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPainterOverlay.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F7E3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPainterOverlay : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLPainterOverlay : IHTMLPainterOverlay.Interface
+public unsafe partial struct IHTMLPainterOverlay : IHTMLPainterOverlay.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPainterOverlay));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParaElement.cs
index 0ba70e5f1a..dbc748a107 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParaElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1F5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLParaElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLParaElement : IHTMLParaElement.Interface
+public unsafe partial struct IHTMLParaElement : IHTMLParaElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLParaElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParamElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParamElement.cs
index 39c66b5f39..00ed0c4c9f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParamElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParamElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F83D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLParamElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLParamElement : IHTMLParamElement.Interface
+public unsafe partial struct IHTMLParamElement : IHTMLParamElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLParamElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParamElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParamElement2.cs
index 07b8187aa3..bb7eb3f20d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParamElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLParamElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510444-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLParamElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLParamElement2 : IHTMLParamElement2.Interface
+public unsafe partial struct IHTMLParamElement2 : IHTMLParamElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLParamElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformance.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformance.cs
index b3c43b211e..015714e104 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformance.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformance.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051074E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPerformance : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLPerformance : IHTMLPerformance.Interface
+public unsafe partial struct IHTMLPerformance : IHTMLPerformance.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPerformance));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformanceNavigation.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformanceNavigation.cs
index a4009e4888..fa65719a01 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformanceNavigation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformanceNavigation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510750-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPerformanceNavigation : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLPerformanceNavigation : IHTMLPerformanceNavigation.Interface
+public unsafe partial struct IHTMLPerformanceNavigation : IHTMLPerformanceNavigation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPerformanceNavigation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformanceTiming.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformanceTiming.cs
index 68a26b04ca..171914d72a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformanceTiming.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPerformanceTiming.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510752-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPerformanceTiming : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLPerformanceTiming : IHTMLPerformanceTiming.Interface
+public unsafe partial struct IHTMLPerformanceTiming : IHTMLPerformanceTiming.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPerformanceTiming));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement.cs
index 5d52aeaec8..ae8cc6482f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F20A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPhraseElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLPhraseElement : IHTMLPhraseElement.Interface
+public unsafe partial struct IHTMLPhraseElement : IHTMLPhraseElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPhraseElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement2.cs
index 0265229ca9..e539a76951 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F824-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPhraseElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLPhraseElement2 : IHTMLPhraseElement2.Interface
+public unsafe partial struct IHTMLPhraseElement2 : IHTMLPhraseElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPhraseElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement3.cs
index 96227f65e9..0a1522797b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPhraseElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051043D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPhraseElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLPhraseElement3 : IHTMLPhraseElement3.Interface
+public unsafe partial struct IHTMLPhraseElement3 : IHTMLPhraseElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPhraseElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPluginsCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPluginsCollection.cs
index 688ed45900..2a2107b7ed 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPluginsCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPluginsCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3FD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPluginsCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLPluginsCollection : IHTMLPluginsCollection.Interface
+public unsafe partial struct IHTMLPluginsCollection : IHTMLPluginsCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPluginsCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPopup.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPopup.cs
index d38c1c1181..02c199d27b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPopup.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLPopup.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F666-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLPopup : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLPopup : IHTMLPopup.Interface
+public unsafe partial struct IHTMLPopup : IHTMLPopup.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLPopup));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLProgressElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLProgressElement.cs
index 1018485c69..e2e7fd4ec9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLProgressElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLProgressElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2D6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLProgressElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLProgressElement : IHTMLProgressElement.Interface
+public unsafe partial struct IHTMLProgressElement : IHTMLProgressElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLProgressElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRect.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRect.cs
index bd2c4f356a..589ece94c3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRect.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRect.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4A3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLRect : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLRect : IHTMLRect.Interface
+public unsafe partial struct IHTMLRect : IHTMLRect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLRect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRect2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRect2.cs
index a831ffd817..aa009e3742 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRect2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRect2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051076C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLRect2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLRect2 : IHTMLRect2.Interface
+public unsafe partial struct IHTMLRect2 : IHTMLRect2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLRect2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRectCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRectCollection.cs
index 25644b7c9e..10fd6eb966 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRectCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRectCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4A4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLRectCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLRectCollection : IHTMLRectCollection.Interface
+public unsafe partial struct IHTMLRectCollection : IHTMLRectCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLRectCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRenderStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRenderStyle.cs
index 76f1f8d95c..a94bc5724a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRenderStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRenderStyle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6AE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLRenderStyle : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLRenderStyle : IHTMLRenderStyle.Interface
+public unsafe partial struct IHTMLRenderStyle : IHTMLRenderStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLRenderStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle.cs
index 3222178b05..955cd73457 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3CF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLRuleStyle : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLRuleStyle : IHTMLRuleStyle.Interface
+public unsafe partial struct IHTMLRuleStyle : IHTMLRuleStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLRuleStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle2.cs
index 5b4d85ba2d..7fdd0036b5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4AC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLRuleStyle2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLRuleStyle2 : IHTMLRuleStyle2.Interface
+public unsafe partial struct IHTMLRuleStyle2 : IHTMLRuleStyle2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLRuleStyle2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle3.cs
index 2571f2db79..9bad241f77 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F657-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLRuleStyle3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLRuleStyle3 : IHTMLRuleStyle3.Interface
+public unsafe partial struct IHTMLRuleStyle3 : IHTMLRuleStyle3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLRuleStyle3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle4.cs
index bdbdcecebd..89e634bab9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F817-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLRuleStyle4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLRuleStyle4 : IHTMLRuleStyle4.Interface
+public unsafe partial struct IHTMLRuleStyle4 : IHTMLRuleStyle4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLRuleStyle4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle5.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle5.cs
index fe2d80b124..6438a0c8ec 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle5.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F335-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLRuleStyle5 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLRuleStyle5 : IHTMLRuleStyle5.Interface
+public unsafe partial struct IHTMLRuleStyle5 : IHTMLRuleStyle5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLRuleStyle5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle6.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle6.cs
index 44911fea9a..a9787b7e64 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle6.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLRuleStyle6.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510471-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLRuleStyle6 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLRuleStyle6 : IHTMLRuleStyle6.Interface
+public unsafe partial struct IHTMLRuleStyle6 : IHTMLRuleStyle6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLRuleStyle6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen.cs
index 5bba875d12..6779580aed 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F35C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLScreen : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLScreen : IHTMLScreen.Interface
+public unsafe partial struct IHTMLScreen : IHTMLScreen.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLScreen));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen2.cs
index 4efe34caa0..28c1ceff42 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F84A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLScreen2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLScreen2 : IHTMLScreen2.Interface
+public unsafe partial struct IHTMLScreen2 : IHTMLScreen2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLScreen2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen3.cs
index 3d7524f3b7..70239aee7a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104A1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLScreen3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLScreen3 : IHTMLScreen3.Interface
+public unsafe partial struct IHTMLScreen3 : IHTMLScreen3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLScreen3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen4.cs
index a68b31503e..5b3a6b9e83 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScreen4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051076B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLScreen4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLScreen4 : IHTMLScreen4.Interface
+public unsafe partial struct IHTMLScreen4 : IHTMLScreen4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLScreen4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement.cs
index 19106526c7..3a53334014 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F28B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLScriptElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLScriptElement : IHTMLScriptElement.Interface
+public unsafe partial struct IHTMLScriptElement : IHTMLScriptElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLScriptElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement2.cs
index d41c4c5c8d..5b6a36d805 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F828-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLScriptElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLScriptElement2 : IHTMLScriptElement2.Interface
+public unsafe partial struct IHTMLScriptElement2 : IHTMLScriptElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLScriptElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement3.cs
index ed31475757..2544fc188e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510447-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLScriptElement3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLScriptElement3 : IHTMLScriptElement3.Interface
+public unsafe partial struct IHTMLScriptElement3 : IHTMLScriptElement3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLScriptElement3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement4.cs
index 72778d3391..54ef01a917 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLScriptElement4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510801-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLScriptElement4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLScriptElement4 : IHTMLScriptElement4.Interface
+public unsafe partial struct IHTMLScriptElement4 : IHTMLScriptElement4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLScriptElement4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement.cs
index cc405af737..1fd23e3bda 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F244-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSelectElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSelectElement : IHTMLSelectElement.Interface
+public unsafe partial struct IHTMLSelectElement : IHTMLSelectElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSelectElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement2.cs
index 8b2bd36fa5..818152f5e1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5ED-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSelectElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSelectElement2 : IHTMLSelectElement2.Interface
+public unsafe partial struct IHTMLSelectElement2 : IHTMLSelectElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSelectElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement4.cs
index fa34dc9b84..2116b65657 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F838-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSelectElement4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSelectElement4 : IHTMLSelectElement4.Interface
+public unsafe partial struct IHTMLSelectElement4 : IHTMLSelectElement4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSelectElement4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement5.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement5.cs
index 1a29e65381..5338e3f071 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement5.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051049D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSelectElement5 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSelectElement5 : IHTMLSelectElement5.Interface
+public unsafe partial struct IHTMLSelectElement5 : IHTMLSelectElement5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSelectElement5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement6.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement6.cs
index cefa7ed4bd..c902faca72 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement6.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElement6.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510760-98B6-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSelectElement6 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSelectElement6 : IHTMLSelectElement6.Interface
+public unsafe partial struct IHTMLSelectElement6 : IHTMLSelectElement6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSelectElement6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElementEx.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElementEx.cs
index c13bab9f63..1d47f98238 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElementEx.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectElementEx.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2D1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSelectElementEx : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHTMLSelectElementEx : IHTMLSelectElementEx.Interface
+public unsafe partial struct IHTMLSelectElementEx : IHTMLSelectElementEx.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSelectElementEx));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelection.cs
index 772801e5d6..1df2d244bd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104B6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSelection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSelection : IHTMLSelection.Interface
+public unsafe partial struct IHTMLSelection : IHTMLSelection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSelection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectionObject.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectionObject.cs
index cefcb45014..fdd366718c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectionObject.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectionObject.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F25A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSelectionObject : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSelectionObject : IHTMLSelectionObject.Interface
+public unsafe partial struct IHTMLSelectionObject : IHTMLSelectionObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSelectionObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectionObject2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectionObject2.cs
index 9ed28247f7..afcc5b61fc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectionObject2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSelectionObject2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F7EC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSelectionObject2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSelectionObject2 : IHTMLSelectionObject2.Interface
+public unsafe partial struct IHTMLSelectionObject2 : IHTMLSelectionObject2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSelectionObject2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSourceElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSourceElement.cs
index b8d5024a44..eb363dbbc5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSourceElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSourceElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510707-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSourceElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSourceElement : IHTMLSourceElement.Interface
+public unsafe partial struct IHTMLSourceElement : IHTMLSourceElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSourceElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSpanElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSpanElement.cs
index 5ac5c2d311..65eb04fc79 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSpanElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSpanElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3F3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSpanElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSpanElement : IHTMLSpanElement.Interface
+public unsafe partial struct IHTMLSpanElement : IHTMLSpanElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSpanElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSpanFlow.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSpanFlow.cs
index 572d5b8a3c..a915c32d33 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSpanFlow.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSpanFlow.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3E5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSpanFlow : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSpanFlow : IHTMLSpanFlow.Interface
+public unsafe partial struct IHTMLSpanFlow : IHTMLSpanFlow.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSpanFlow));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStorage.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStorage.cs
index 451300ef63..1975071f66 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStorage.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStorage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510474-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStorage : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStorage : IHTMLStorage.Interface
+public unsafe partial struct IHTMLStorage : IHTMLStorage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStorage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStorage2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStorage2.cs
index d9d02aa32f..02c3ac37c4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStorage2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStorage2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510799-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStorage2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStorage2 : IHTMLStorage2.Interface
+public unsafe partial struct IHTMLStorage2 : IHTMLStorage2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStorage2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle.cs
index 79e460cbe4..8362277398 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F25E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyle : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyle : IHTMLStyle.Interface
+public unsafe partial struct IHTMLStyle : IHTMLStyle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle2.cs
index 277a77bcd5..1e1e48f519 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4A2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyle2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyle2 : IHTMLStyle2.Interface
+public unsafe partial struct IHTMLStyle2 : IHTMLStyle2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyle2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle3.cs
index 69da76d6c9..5eb4bfbb63 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F656-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyle3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyle3 : IHTMLStyle3.Interface
+public unsafe partial struct IHTMLStyle3 : IHTMLStyle3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyle3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle4.cs
index 6c215eabef..42705ae4a5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F816-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyle4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyle4 : IHTMLStyle4.Interface
+public unsafe partial struct IHTMLStyle4 : IHTMLStyle4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyle4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle5.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle5.cs
index 4538354df2..a768f8e5fd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle5.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F33A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyle5 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyle5 : IHTMLStyle5.Interface
+public unsafe partial struct IHTMLStyle5 : IHTMLStyle5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyle5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle6.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle6.cs
index 96aca2ecf9..898a330056 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle6.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyle6.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510480-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyle6 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyle6 : IHTMLStyle6.Interface
+public unsafe partial struct IHTMLStyle6 : IHTMLStyle6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyle6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleElement.cs
index 15786fdc48..e1bb80ddba 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F375-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleElement : IHTMLStyleElement.Interface
+public unsafe partial struct IHTMLStyleElement : IHTMLStyleElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleElement2.cs
index 65ea3d236e..b28de16b13 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051072A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleElement2 : IHTMLStyleElement2.Interface
+public unsafe partial struct IHTMLStyleElement2 : IHTMLStyleElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleEnabled.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleEnabled.cs
index 97a002971d..e73b2a7f59 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleEnabled.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleEnabled.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104C2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleEnabled : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleEnabled : IHTMLStyleEnabled.Interface
+public unsafe partial struct IHTMLStyleEnabled : IHTMLStyleEnabled.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleEnabled));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleFontFace.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleFontFace.cs
index fbcd561779..3831f4c3e8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleFontFace.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleFontFace.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3D5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleFontFace : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleFontFace : IHTMLStyleFontFace.Interface
+public unsafe partial struct IHTMLStyleFontFace : IHTMLStyleFontFace.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleFontFace));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleFontFace2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleFontFace2.cs
index 10c01cefd4..7fa56f56da 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleFontFace2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleFontFace2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106EC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleFontFace2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleFontFace2 : IHTMLStyleFontFace2.Interface
+public unsafe partial struct IHTMLStyleFontFace2 : IHTMLStyleFontFace2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleFontFace2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleMedia.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleMedia.cs
index 7c999e6af7..7e680a11c0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleMedia.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleMedia.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051074B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleMedia : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleMedia : IHTMLStyleMedia.Interface
+public unsafe partial struct IHTMLStyleMedia : IHTMLStyleMedia.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleMedia));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet.cs
index a468965a71..79ad114b4f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2E3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheet : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheet : IHTMLStyleSheet.Interface
+public unsafe partial struct IHTMLStyleSheet : IHTMLStyleSheet.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheet));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet2.cs
index e5b5eb407a..a0887042bf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F3D1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheet2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheet2 : IHTMLStyleSheet2.Interface
+public unsafe partial struct IHTMLStyleSheet2 : IHTMLStyleSheet2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheet2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet3.cs
index d756b7cd74..a0c9387010 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510496-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheet3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheet3 : IHTMLStyleSheet3.Interface
+public unsafe partial struct IHTMLStyleSheet3 : IHTMLStyleSheet3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheet3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet4.cs
index 4f032c56df..a1eeea83f5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheet4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106F4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheet4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheet4 : IHTMLStyleSheet4.Interface
+public unsafe partial struct IHTMLStyleSheet4 : IHTMLStyleSheet4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheet4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPage.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPage.cs
index 238b167716..ae18628c1f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPage.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F7EE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheetPage : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheetPage : IHTMLStyleSheetPage.Interface
+public unsafe partial struct IHTMLStyleSheetPage : IHTMLStyleSheetPage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheetPage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPage2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPage2.cs
index 802239c11c..4bf80cf0fe 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPage2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPage2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106ED-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheetPage2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheetPage2 : IHTMLStyleSheetPage2.Interface
+public unsafe partial struct IHTMLStyleSheetPage2 : IHTMLStyleSheetPage2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheetPage2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPagesCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPagesCollection.cs
index c081bed33b..42da78e5d7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPagesCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetPagesCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F7F0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheetPagesCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheetPagesCollection : IHTMLStyleSheetPagesCollection.Interface
+public unsafe partial struct IHTMLStyleSheetPagesCollection : IHTMLStyleSheetPagesCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheetPagesCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRule.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRule.cs
index 81f5b14980..09b0d72525 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRule.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRule.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F357-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheetRule : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheetRule : IHTMLStyleSheetRule.Interface
+public unsafe partial struct IHTMLStyleSheetRule : IHTMLStyleSheetRule.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheetRule));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRule2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRule2.cs
index e0e26885bb..698dcbed9e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRule2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRule2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106FD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheetRule2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheetRule2 : IHTMLStyleSheetRule2.Interface
+public unsafe partial struct IHTMLStyleSheetRule2 : IHTMLStyleSheetRule2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheetRule2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRuleApplied.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRuleApplied.cs
index 8c3a9a783f..7354b2f6b3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRuleApplied.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRuleApplied.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104C1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheetRuleApplied : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheetRuleApplied : IHTMLStyleSheetRuleApplied.Interface
+public unsafe partial struct IHTMLStyleSheetRuleApplied : IHTMLStyleSheetRuleApplied.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheetRuleApplied));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesAppliedCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesAppliedCollection.cs
index 5581f9f329..4f646bdff9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesAppliedCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesAppliedCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104C0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheetRulesAppliedCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheetRulesAppliedCollection : IHTMLStyleSheetRulesAppliedCollection.Interface
+public unsafe partial struct IHTMLStyleSheetRulesAppliedCollection : IHTMLStyleSheetRulesAppliedCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheetRulesAppliedCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesCollection.cs
index 55e13138f7..efa55e79af 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2E5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheetRulesCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheetRulesCollection : IHTMLStyleSheetRulesCollection.Interface
+public unsafe partial struct IHTMLStyleSheetRulesCollection : IHTMLStyleSheetRulesCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheetRulesCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesCollection2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesCollection2.cs
index 7e11f6b510..2cc00d574b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesCollection2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetRulesCollection2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106E8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheetRulesCollection2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheetRulesCollection2 : IHTMLStyleSheetRulesCollection2.Interface
+public unsafe partial struct IHTMLStyleSheetRulesCollection2 : IHTMLStyleSheetRulesCollection2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheetRulesCollection2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetsCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetsCollection.cs
index 324090efef..86e1e2106b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetsCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetsCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F37E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheetsCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheetsCollection : IHTMLStyleSheetsCollection.Interface
+public unsafe partial struct IHTMLStyleSheetsCollection : IHTMLStyleSheetsCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheetsCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetsCollection2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetsCollection2.cs
index 81112fb22b..901b36cfa5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetsCollection2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLStyleSheetsCollection2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106E7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLStyleSheetsCollection2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLStyleSheetsCollection2 : IHTMLStyleSheetsCollection2.Interface
+public unsafe partial struct IHTMLStyleSheetsCollection2 : IHTMLStyleSheetsCollection2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLStyleSheetsCollection2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSubmitData.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSubmitData.cs
index 7e4fe50772..2e0572cad1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSubmitData.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLSubmitData.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F645-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLSubmitData : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLSubmitData : IHTMLSubmitData.Interface
+public unsafe partial struct IHTMLSubmitData : IHTMLSubmitData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLSubmitData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable.cs
index b03dd9ddb7..63002892f6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F21E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTable : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTable : IHTMLTable.Interface
+public unsafe partial struct IHTMLTable : IHTMLTable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable2.cs
index 8c8b92090d..721592f06d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4AD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTable2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTable2 : IHTMLTable2.Interface
+public unsafe partial struct IHTMLTable2 : IHTMLTable2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTable2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable3.cs
index 406d4a0090..c22499e260 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F829-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTable3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTable3 : IHTMLTable3.Interface
+public unsafe partial struct IHTMLTable3 : IHTMLTable3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTable3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable4.cs
index 0f91e1bf53..5722f14059 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTable4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106C2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTable4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTable4 : IHTMLTable4.Interface
+public unsafe partial struct IHTMLTable4 : IHTMLTable4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTable4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCaption.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCaption.cs
index 9801d3c872..b8f7f00c86 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCaption.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCaption.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2EB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableCaption : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableCaption : IHTMLTableCaption.Interface
+public unsafe partial struct IHTMLTableCaption : IHTMLTableCaption.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableCaption));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell.cs
index 05ec1b325e..7ced48651b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F23D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableCell : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableCell : IHTMLTableCell.Interface
+public unsafe partial struct IHTMLTableCell : IHTMLTableCell.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableCell));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell2.cs
index a19c641495..684b56ca48 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F82D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableCell2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableCell2 : IHTMLTableCell2.Interface
+public unsafe partial struct IHTMLTableCell2 : IHTMLTableCell2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableCell2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell3.cs
index 3ce5afc4b9..90b81ee74b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCell3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106C7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableCell3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableCell3 : IHTMLTableCell3.Interface
+public unsafe partial struct IHTMLTableCell3 : IHTMLTableCell3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableCell3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol.cs
index 92cf677b53..6177f2210f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F23A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableCol : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableCol : IHTMLTableCol.Interface
+public unsafe partial struct IHTMLTableCol : IHTMLTableCol.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableCol));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol2.cs
index dbc2fad738..8002af2784 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F82A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableCol2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableCol2 : IHTMLTableCol2.Interface
+public unsafe partial struct IHTMLTableCol2 : IHTMLTableCol2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableCol2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol3.cs
index 77ac8a2272..e37eb9d0fb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableCol3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106C4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableCol3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableCol3 : IHTMLTableCol3.Interface
+public unsafe partial struct IHTMLTableCol3 : IHTMLTableCol3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableCol3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow.cs
index 8f8bcbbbc1..39955225f2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F23C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableRow : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableRow : IHTMLTableRow.Interface
+public unsafe partial struct IHTMLTableRow : IHTMLTableRow.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableRow));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow2.cs
index b6a93e2443..b0fe562537 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4A1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableRow2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableRow2 : IHTMLTableRow2.Interface
+public unsafe partial struct IHTMLTableRow2 : IHTMLTableRow2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableRow2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow3.cs
index efc15d27b1..83ccf500f8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F82C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableRow3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableRow3 : IHTMLTableRow3.Interface
+public unsafe partial struct IHTMLTableRow3 : IHTMLTableRow3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableRow3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow4.cs
index 042e66af76..0dde93689a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRow4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106C6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableRow4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableRow4 : IHTMLTableRow4.Interface
+public unsafe partial struct IHTMLTableRow4 : IHTMLTableRow4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableRow4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRowMetrics.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRowMetrics.cs
index 51e67effc7..439044c9d9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRowMetrics.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableRowMetrics.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F413-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableRowMetrics : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableRowMetrics : IHTMLTableRowMetrics.Interface
+public unsafe partial struct IHTMLTableRowMetrics : IHTMLTableRowMetrics.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableRowMetrics));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection.cs
index 091a608a6a..5f01671b8a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F23B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableSection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableSection : IHTMLTableSection.Interface
+public unsafe partial struct IHTMLTableSection : IHTMLTableSection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableSection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection2.cs
index 78b8132ceb..c9b41c82df 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5C7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableSection2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableSection2 : IHTMLTableSection2.Interface
+public unsafe partial struct IHTMLTableSection2 : IHTMLTableSection2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableSection2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection3.cs
index d54ce5056d..9ad0d66531 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F82B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableSection3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableSection3 : IHTMLTableSection3.Interface
+public unsafe partial struct IHTMLTableSection3 : IHTMLTableSection3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableSection3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection4.cs
index a5cf535e72..21056b3d8e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTableSection4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106C5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTableSection4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTableSection4 : IHTMLTableSection4.Interface
+public unsafe partial struct IHTMLTableSection4 : IHTMLTableSection4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTableSection4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextAreaElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextAreaElement.cs
index 9429f5c6b4..b6eab447fa 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextAreaElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextAreaElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2AA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTextAreaElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTextAreaElement : IHTMLTextAreaElement.Interface
+public unsafe partial struct IHTMLTextAreaElement : IHTMLTextAreaElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTextAreaElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextAreaElement2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextAreaElement2.cs
index 07e547041a..1291d46d8a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextAreaElement2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextAreaElement2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F2D3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTextAreaElement2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTextAreaElement2 : IHTMLTextAreaElement2.Interface
+public unsafe partial struct IHTMLTextAreaElement2 : IHTMLTextAreaElement2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTextAreaElement2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextContainer.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextContainer.cs
index 98f5854cb9..118d97c7fe 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextContainer.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextContainer.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F230-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTextContainer : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTextContainer : IHTMLTextContainer.Interface
+public unsafe partial struct IHTMLTextContainer : IHTMLTextContainer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTextContainer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextElement.cs
index 976f291fc7..8615d6d430 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F218-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTextElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTextElement : IHTMLTextElement.Interface
+public unsafe partial struct IHTMLTextElement : IHTMLTextElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTextElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextRangeMetrics.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextRangeMetrics.cs
index 1dd2738315..0491d22156 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextRangeMetrics.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextRangeMetrics.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F40B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTextRangeMetrics : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTextRangeMetrics : IHTMLTextRangeMetrics.Interface
+public unsafe partial struct IHTMLTextRangeMetrics : IHTMLTextRangeMetrics.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTextRangeMetrics));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextRangeMetrics2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextRangeMetrics2.cs
index 784a696291..b68e551998 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextRangeMetrics2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTextRangeMetrics2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4A6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTextRangeMetrics2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTextRangeMetrics2 : IHTMLTextRangeMetrics2.Interface
+public unsafe partial struct IHTMLTextRangeMetrics2 : IHTMLTextRangeMetrics2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTextRangeMetrics2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTimeRanges.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTimeRanges.cs
index bdffb4c28c..29cd22203f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTimeRanges.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTimeRanges.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510705-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTimeRanges : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTimeRanges : IHTMLTimeRanges.Interface
+public unsafe partial struct IHTMLTimeRanges : IHTMLTimeRanges.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTimeRanges));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTimeRanges2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTimeRanges2.cs
index 542c932e68..b1c388235d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTimeRanges2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTimeRanges2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051080B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTimeRanges2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTimeRanges2 : IHTMLTimeRanges2.Interface
+public unsafe partial struct IHTMLTimeRanges2 : IHTMLTimeRanges2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTimeRanges2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTitleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTitleElement.cs
index dc77b39e63..3435b8f550 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTitleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTitleElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F322-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTitleElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTitleElement : IHTMLTitleElement.Interface
+public unsafe partial struct IHTMLTitleElement : IHTMLTitleElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTitleElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTxtRange.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTxtRange.cs
index 509cfb69cd..48f303b9bc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTxtRange.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTxtRange.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F220-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTxtRange : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTxtRange : IHTMLTxtRange.Interface
+public unsafe partial struct IHTMLTxtRange : IHTMLTxtRange.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTxtRange));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTxtRangeCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTxtRangeCollection.cs
index b3e4132cd0..c7b654f37a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTxtRangeCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLTxtRangeCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F7ED-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLTxtRangeCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLTxtRangeCollection : IHTMLTxtRangeCollection.Interface
+public unsafe partial struct IHTMLTxtRangeCollection : IHTMLTxtRangeCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLTxtRangeCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUListElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUListElement.cs
index 4b8d314157..2d6d1c297c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUListElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUListElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F1DD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLUListElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLUListElement : IHTMLUListElement.Interface
+public unsafe partial struct IHTMLUListElement : IHTMLUListElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLUListElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUniqueName.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUniqueName.cs
index 074c41d431..1769dde3de 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUniqueName.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUniqueName.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4D0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLUniqueName : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLUniqueName : IHTMLUniqueName.Interface
+public unsafe partial struct IHTMLUniqueName : IHTMLUniqueName.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLUniqueName));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUnknownElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUnknownElement.cs
index c45132a314..514de4ecbd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUnknownElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUnknownElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F209-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLUnknownElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLUnknownElement : IHTMLUnknownElement.Interface
+public unsafe partial struct IHTMLUnknownElement : IHTMLUnknownElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLUnknownElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUrnCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUrnCollection.cs
index 2534c0dcef..52a40e0dc1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUrnCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLUrnCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5E2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLUrnCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLUrnCollection : IHTMLUrnCollection.Interface
+public unsafe partial struct IHTMLUrnCollection : IHTMLUrnCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLUrnCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLVideoElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLVideoElement.cs
index 1a2caf8aaf..9d85810180 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLVideoElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLVideoElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510709-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLVideoElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLVideoElement : IHTMLVideoElement.Interface
+public unsafe partial struct IHTMLVideoElement : IHTMLVideoElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLVideoElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow2.cs
index 03d530acea..eb9dc9d4f3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("332C4427-26CB-11D0-B483-00C04FD90119")]
[NativeTypeName("struct IHTMLWindow2 : IHTMLFramesCollection2")]
[NativeInheritance("IHTMLFramesCollection2")]
-public unsafe partial struct IHTMLWindow2 : IHTMLWindow2.Interface
+public unsafe partial struct IHTMLWindow2 : IHTMLWindow2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLWindow2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow3.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow3.cs
index 07e904168e..a10a2bf99b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4AE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLWindow3 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLWindow3 : IHTMLWindow3.Interface
+public unsafe partial struct IHTMLWindow3 : IHTMLWindow3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLWindow3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow4.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow4.cs
index 35e0439956..fde9257ca0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow4.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6CF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLWindow4 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLWindow4 : IHTMLWindow4.Interface
+public unsafe partial struct IHTMLWindow4 : IHTMLWindow4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLWindow4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow5.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow5.cs
index cb1388ee59..6e1b8b0afe 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow5.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051040E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLWindow5 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLWindow5 : IHTMLWindow5.Interface
+public unsafe partial struct IHTMLWindow5 : IHTMLWindow5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLWindow5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow6.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow6.cs
index 8b3a08d611..5bfe48022e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow6.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow6.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510453-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLWindow6 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLWindow6 : IHTMLWindow6.Interface
+public unsafe partial struct IHTMLWindow6 : IHTMLWindow6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLWindow6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow7.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow7.cs
index b99d63c7ae..d9698d113a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow7.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow7.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104B7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLWindow7 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLWindow7 : IHTMLWindow7.Interface
+public unsafe partial struct IHTMLWindow7 : IHTMLWindow7.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLWindow7));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow8.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow8.cs
index 3784e7aec6..eead2f4518 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow8.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLWindow8.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107AB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLWindow8 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLWindow8 : IHTMLWindow8.Interface
+public unsafe partial struct IHTMLWindow8 : IHTMLWindow8.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLWindow8));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXDomainRequest.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXDomainRequest.cs
index 8f7c6e6a17..27fc1a4349 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXDomainRequest.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXDomainRequest.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510454-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLXDomainRequest : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLXDomainRequest : IHTMLXDomainRequest.Interface
+public unsafe partial struct IHTMLXDomainRequest : IHTMLXDomainRequest.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLXDomainRequest));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXDomainRequestFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXDomainRequestFactory.cs
index b98dd445fe..8cb51300d4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXDomainRequestFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXDomainRequestFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510456-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLXDomainRequestFactory : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLXDomainRequestFactory : IHTMLXDomainRequestFactory.Interface
+public unsafe partial struct IHTMLXDomainRequestFactory : IHTMLXDomainRequestFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLXDomainRequestFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequest.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequest.cs
index 6908d76d25..c0e4ef28bc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequest.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequest.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051040A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLXMLHttpRequest : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLXMLHttpRequest : IHTMLXMLHttpRequest.Interface
+public unsafe partial struct IHTMLXMLHttpRequest : IHTMLXMLHttpRequest.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLXMLHttpRequest));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequest2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequest2.cs
index 5982238bba..8291c57d88 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequest2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequest2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510482-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLXMLHttpRequest2 : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLXMLHttpRequest2 : IHTMLXMLHttpRequest2.Interface
+public unsafe partial struct IHTMLXMLHttpRequest2 : IHTMLXMLHttpRequest2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLXMLHttpRequest2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequestFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequestFactory.cs
index 81cb221c18..feab999934 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequestFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHTMLXMLHttpRequestFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051040C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHTMLXMLHttpRequestFactory : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHTMLXMLHttpRequestFactory : IHTMLXMLHttpRequestFactory.Interface
+public unsafe partial struct IHTMLXMLHttpRequestFactory : IHTMLXMLHttpRequestFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHTMLXMLHttpRequestFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHighlightRenderingServices.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHighlightRenderingServices.cs
index 6772cba01b..e9ad21a27f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHighlightRenderingServices.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHighlightRenderingServices.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F606-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHighlightRenderingServices : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHighlightRenderingServices : IHighlightRenderingServices.Interface
+public unsafe partial struct IHighlightRenderingServices : IHighlightRenderingServices.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHighlightRenderingServices));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHighlightSegment.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHighlightSegment.cs
index fb3d65cb57..61e59ceace 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHighlightSegment.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHighlightSegment.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F690-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHighlightSegment : ISegment")]
[NativeInheritance("ISegment")]
-public unsafe partial struct IHighlightSegment : IHighlightSegment.Interface
+public unsafe partial struct IHighlightSegment : IHighlightSegment.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHighlightSegment));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHostBehaviorInit.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHostBehaviorInit.cs
index 0d6b67edeb..609b29dff1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHostBehaviorInit.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHostBehaviorInit.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F842-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHostBehaviorInit : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHostBehaviorInit : IHostBehaviorInit.Interface
+public unsafe partial struct IHostBehaviorInit : IHostBehaviorInit.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHostBehaviorInit));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IHtmlDlgSafeHelper.cs b/sources/Interop/Windows/Windows/um/MsHTML/IHtmlDlgSafeHelper.cs
index 75fe2be67d..3025f0ef0e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IHtmlDlgSafeHelper.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IHtmlDlgSafeHelper.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F81A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IHtmlDlgSafeHelper : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IHtmlDlgSafeHelper : IHtmlDlgSafeHelper.Interface
+public unsafe partial struct IHtmlDlgSafeHelper : IHtmlDlgSafeHelper.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHtmlDlgSafeHelper));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IICCSVGColor.cs b/sources/Interop/Windows/Windows/um/MsHTML/IICCSVGColor.cs
index 22ba399ffc..901f699b60 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IICCSVGColor.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IICCSVGColor.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104D6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IICCSVGColor : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IICCSVGColor : IICCSVGColor.Interface
+public unsafe partial struct IICCSVGColor : IICCSVGColor.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IICCSVGColor));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IIE70DispatchEx.cs b/sources/Interop/Windows/Windows/um/MsHTML/IIE70DispatchEx.cs
index 893ac9edcd..6ef0f5f677 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IIE70DispatchEx.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IIE70DispatchEx.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051046B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IIE70DispatchEx : IDispatchEx")]
[NativeInheritance("IDispatchEx")]
-public unsafe partial struct IIE70DispatchEx : IIE70DispatchEx.Interface
+public unsafe partial struct IIE70DispatchEx : IIE70DispatchEx.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IIE70DispatchEx));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IIE80DispatchEx.cs b/sources/Interop/Windows/Windows/um/MsHTML/IIE80DispatchEx.cs
index 6653bfaeb4..91ea8256a9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IIE80DispatchEx.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IIE80DispatchEx.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051046C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IIE80DispatchEx : IDispatchEx")]
[NativeInheritance("IDispatchEx")]
-public unsafe partial struct IIE80DispatchEx : IIE80DispatchEx.Interface
+public unsafe partial struct IIE80DispatchEx : IIE80DispatchEx.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IIE80DispatchEx));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IIMEServices.cs b/sources/Interop/Windows/Windows/um/MsHTML/IIMEServices.cs
index a3bd62e419..c5759c5a7e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IIMEServices.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IIMEServices.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6CA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IIMEServices : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IIMEServices : IIMEServices.Interface
+public unsafe partial struct IIMEServices : IIMEServices.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IIMEServices));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ILineInfo.cs b/sources/Interop/Windows/Windows/um/MsHTML/ILineInfo.cs
index 07fd2833da..6b1fc5cff1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ILineInfo.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ILineInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F7E2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ILineInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ILineInfo : ILineInfo.Interface
+public unsafe partial struct ILineInfo : ILineInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILineInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupContainer.cs b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupContainer.cs
index 7a7d589606..ef22f5aa63 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupContainer.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupContainer.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5F9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IMarkupContainer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMarkupContainer : IMarkupContainer.Interface
+public unsafe partial struct IMarkupContainer : IMarkupContainer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMarkupContainer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupContainer2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupContainer2.cs
index 77e4b7f592..9740dadda6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupContainer2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupContainer2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F648-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IMarkupContainer2 : IMarkupContainer")]
[NativeInheritance("IMarkupContainer")]
-public unsafe partial struct IMarkupContainer2 : IMarkupContainer2.Interface
+public unsafe partial struct IMarkupContainer2 : IMarkupContainer2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMarkupContainer2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupPointer.cs b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupPointer.cs
index 3a86a35e9b..f3c5f9a92b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupPointer.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupPointer.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F49F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IMarkupPointer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMarkupPointer : IMarkupPointer.Interface
+public unsafe partial struct IMarkupPointer : IMarkupPointer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMarkupPointer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupPointer2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupPointer2.cs
index 461816e69a..d0b30eb96b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupPointer2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupPointer2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F675-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IMarkupPointer2 : IMarkupPointer")]
[NativeInheritance("IMarkupPointer")]
-public unsafe partial struct IMarkupPointer2 : IMarkupPointer2.Interface
+public unsafe partial struct IMarkupPointer2 : IMarkupPointer2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMarkupPointer2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupServices.cs b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupServices.cs
index 9455ae9216..72c78d7a3b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupServices.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupServices.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F4A0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IMarkupServices : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMarkupServices : IMarkupServices.Interface
+public unsafe partial struct IMarkupServices : IMarkupServices.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMarkupServices));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupServices2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupServices2.cs
index a1f482f378..5ade4be433 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupServices2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupServices2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F682-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IMarkupServices2 : IMarkupServices")]
[NativeInheritance("IMarkupServices")]
-public unsafe partial struct IMarkupServices2 : IMarkupServices2.Interface
+public unsafe partial struct IMarkupServices2 : IMarkupServices2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMarkupServices2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupTextFrags.cs b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupTextFrags.cs
index 70f36baf17..5afcbec843 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IMarkupTextFrags.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IMarkupTextFrags.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F5FA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IMarkupTextFrags : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMarkupTextFrags : IMarkupTextFrags.Interface
+public unsafe partial struct IMarkupTextFrags : IMarkupTextFrags.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMarkupTextFrags));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/INavigatorDoNotTrack.cs b/sources/Interop/Windows/Windows/um/MsHTML/INavigatorDoNotTrack.cs
index 81aa914be9..e9f081a70e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/INavigatorDoNotTrack.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/INavigatorDoNotTrack.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510804-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct INavigatorDoNotTrack : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct INavigatorDoNotTrack : INavigatorDoNotTrack.Interface
+public unsafe partial struct INavigatorDoNotTrack : INavigatorDoNotTrack.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INavigatorDoNotTrack));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/INavigatorGeolocation.cs b/sources/Interop/Windows/Windows/um/MsHTML/INavigatorGeolocation.cs
index 133f0019aa..c59128eee3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/INavigatorGeolocation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/INavigatorGeolocation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107CF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct INavigatorGeolocation : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct INavigatorGeolocation : INavigatorGeolocation.Interface
+public unsafe partial struct INavigatorGeolocation : INavigatorGeolocation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INavigatorGeolocation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IOmHistory.cs b/sources/Interop/Windows/Windows/um/MsHTML/IOmHistory.cs
index 40ef8149b5..f02446fef5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IOmHistory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IOmHistory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FECEAAA2-8405-11CF-8BA1-00AA00476DA6")]
[NativeTypeName("struct IOmHistory : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IOmHistory : IOmHistory.Interface
+public unsafe partial struct IOmHistory : IOmHistory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IOmHistory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IOmNavigator.cs b/sources/Interop/Windows/Windows/um/MsHTML/IOmNavigator.cs
index 5909909cc5..fdfa8b540b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IOmNavigator.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IOmNavigator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FECEAAA5-8405-11CF-8BA1-00AA00476DA6")]
[NativeTypeName("struct IOmNavigator : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IOmNavigator : IOmNavigator.Interface
+public unsafe partial struct IOmNavigator : IOmNavigator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IOmNavigator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IPrintManagerTemplatePrinter.cs b/sources/Interop/Windows/Windows/um/MsHTML/IPrintManagerTemplatePrinter.cs
index ac2b43e318..afd88fabdd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IPrintManagerTemplatePrinter.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IPrintManagerTemplatePrinter.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F633BE14-9EFF-4C4D-929E-05717B21B3E6")]
[NativeTypeName("struct IPrintManagerTemplatePrinter : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IPrintManagerTemplatePrinter : IPrintManagerTemplatePrinter.Interface
+public unsafe partial struct IPrintManagerTemplatePrinter : IPrintManagerTemplatePrinter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPrintManagerTemplatePrinter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IPrintManagerTemplatePrinter2.cs b/sources/Interop/Windows/Windows/um/MsHTML/IPrintManagerTemplatePrinter2.cs
index 6b235074d1..732db65fa8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IPrintManagerTemplatePrinter2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IPrintManagerTemplatePrinter2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C6403497-7493-4F09-8016-54B03E9BDA69")]
[NativeTypeName("struct IPrintManagerTemplatePrinter2 : IPrintManagerTemplatePrinter")]
[NativeInheritance("IPrintManagerTemplatePrinter")]
-public unsafe partial struct IPrintManagerTemplatePrinter2 : IPrintManagerTemplatePrinter2.Interface
+public unsafe partial struct IPrintManagerTemplatePrinter2 : IPrintManagerTemplatePrinter2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPrintManagerTemplatePrinter2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IRangeException.cs b/sources/Interop/Windows/Windows/um/MsHTML/IRangeException.cs
index 02fcfb4317..45b21012d3 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IRangeException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IRangeException.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051072D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IRangeException : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IRangeException : IRangeException.Interface
+public unsafe partial struct IRangeException : IRangeException.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRangeException));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IRulesApplied.cs b/sources/Interop/Windows/Windows/um/MsHTML/IRulesApplied.cs
index 761e1c419f..1bfb0497ff 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IRulesApplied.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IRulesApplied.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104BF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IRulesApplied : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IRulesApplied : IRulesApplied.Interface
+public unsafe partial struct IRulesApplied : IRulesApplied.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRulesApplied));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IRulesAppliedCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/IRulesAppliedCollection.cs
index 0959224356..cba7a8cf2f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IRulesAppliedCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IRulesAppliedCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104BE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IRulesAppliedCollection : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IRulesAppliedCollection : IRulesAppliedCollection.Interface
+public unsafe partial struct IRulesAppliedCollection : IRulesAppliedCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRulesAppliedCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAElement.cs
index 71528aa718..3a5857f949 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051054B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAElement : ISVGAElement.Interface
+public unsafe partial struct ISVGAElement : ISVGAElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAngle.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAngle.cs
index cfb39f7cdb..a35faeb5a2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAngle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAngle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104D3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAngle : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAngle : ISVGAngle.Interface
+public unsafe partial struct ISVGAngle : ISVGAngle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAngle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedAngle.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedAngle.cs
index 57bf038443..b9ee8f3ccf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedAngle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedAngle.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104D4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedAngle : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedAngle : ISVGAnimatedAngle.Interface
+public unsafe partial struct ISVGAnimatedAngle : ISVGAnimatedAngle.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedAngle));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedBoolean.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedBoolean.cs
index 70b449bf65..e603200e1b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedBoolean.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedBoolean.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104C6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedBoolean : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedBoolean : ISVGAnimatedBoolean.Interface
+public unsafe partial struct ISVGAnimatedBoolean : ISVGAnimatedBoolean.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedBoolean));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedEnumeration.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedEnumeration.cs
index 66e6a26fea..09455c18b8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedEnumeration.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedEnumeration.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104C9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedEnumeration : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedEnumeration : ISVGAnimatedEnumeration.Interface
+public unsafe partial struct ISVGAnimatedEnumeration : ISVGAnimatedEnumeration.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedEnumeration));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedInteger.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedInteger.cs
index d30e8e35e7..f727c9a39f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedInteger.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedInteger.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104CA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedInteger : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedInteger : ISVGAnimatedInteger.Interface
+public unsafe partial struct ISVGAnimatedInteger : ISVGAnimatedInteger.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedInteger));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedLength.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedLength.cs
index 13a67637c8..434b1bd6fb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedLength.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedLength.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104D0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedLength : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedLength : ISVGAnimatedLength.Interface
+public unsafe partial struct ISVGAnimatedLength : ISVGAnimatedLength.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedLength));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedLengthList.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedLengthList.cs
index ac125b2934..7af348f95e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedLengthList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedLengthList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104D2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedLengthList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedLengthList : ISVGAnimatedLengthList.Interface
+public unsafe partial struct ISVGAnimatedLengthList : ISVGAnimatedLengthList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedLengthList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedNumber.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedNumber.cs
index 376f121bcd..0337769db7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedNumber.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedNumber.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104CC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedNumber : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedNumber : ISVGAnimatedNumber.Interface
+public unsafe partial struct ISVGAnimatedNumber : ISVGAnimatedNumber.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedNumber));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedNumberList.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedNumberList.cs
index ccba338c0c..9dfcea3452 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedNumberList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedNumberList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104CE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedNumberList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedNumberList : ISVGAnimatedNumberList.Interface
+public unsafe partial struct ISVGAnimatedNumberList : ISVGAnimatedNumberList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedNumberList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPathData.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPathData.cs
index 7f1b88c24c..bec9c9d0a7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPathData.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPathData.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510511-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedPathData : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedPathData : ISVGAnimatedPathData.Interface
+public unsafe partial struct ISVGAnimatedPathData : ISVGAnimatedPathData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedPathData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPoints.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPoints.cs
index 52522517bf..dddb2dbafd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPoints.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPoints.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510517-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedPoints : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedPoints : ISVGAnimatedPoints.Interface
+public unsafe partial struct ISVGAnimatedPoints : ISVGAnimatedPoints.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedPoints));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPreserveAspectRatio.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPreserveAspectRatio.cs
index 19f952d7db..e92e003b9a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPreserveAspectRatio.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedPreserveAspectRatio.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104FB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedPreserveAspectRatio : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedPreserveAspectRatio : ISVGAnimatedPreserveAspectRatio.Interface
+public unsafe partial struct ISVGAnimatedPreserveAspectRatio : ISVGAnimatedPreserveAspectRatio.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedPreserveAspectRatio));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedRect.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedRect.cs
index 447abadca8..751d93bd8a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedRect.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedRect.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104D8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedRect : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedRect : ISVGAnimatedRect.Interface
+public unsafe partial struct ISVGAnimatedRect : ISVGAnimatedRect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedRect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedString.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedString.cs
index c4c7af77ee..adf5fdd94e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedString.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedString.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104C7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedString : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedString : ISVGAnimatedString.Interface
+public unsafe partial struct ISVGAnimatedString : ISVGAnimatedString.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedString));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedTransformList.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedTransformList.cs
index 83b7ca8d78..9ce4a69f40 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedTransformList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedTransformList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104F9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGAnimatedTransformList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGAnimatedTransformList : ISVGAnimatedTransformList.Interface
+public unsafe partial struct ISVGAnimatedTransformList : ISVGAnimatedTransformList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGAnimatedTransformList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGCircleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGCircleElement.cs
index a2fbfa03c1..9313e8af71 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGCircleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGCircleElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510514-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGCircleElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGCircleElement : ISVGCircleElement.Interface
+public unsafe partial struct ISVGCircleElement : ISVGCircleElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGCircleElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGClipPathElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGClipPathElement.cs
index 2223112e57..2f2c7aadc7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGClipPathElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGClipPathElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051052D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGClipPathElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGClipPathElement : ISVGClipPathElement.Interface
+public unsafe partial struct ISVGClipPathElement : ISVGClipPathElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGClipPathElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGDefsElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGDefsElement.cs
index 753eb632a8..f285aeff72 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGDefsElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGDefsElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104E9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGDefsElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGDefsElement : ISVGDefsElement.Interface
+public unsafe partial struct ISVGDefsElement : ISVGDefsElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGDefsElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGDescElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGDescElement.cs
index 959c3afc56..9bf2857695 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGDescElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGDescElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104EA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGDescElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGDescElement : ISVGDescElement.Interface
+public unsafe partial struct ISVGDescElement : ISVGDescElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGDescElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGDocument.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGDocument.cs
index 1a1037190e..635f333c41 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGDocument.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGDocument.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104E6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGDocument : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGDocument : ISVGDocument.Interface
+public unsafe partial struct ISVGDocument : ISVGDocument.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGDocument));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGElement.cs
index 3b04488d5b..5e6d9aef13 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104C5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGElement : ISVGElement.Interface
+public unsafe partial struct ISVGElement : ISVGElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGElementInstance.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGElementInstance.cs
index 68ffd7fda2..2365fe0e5a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGElementInstance.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGElementInstance.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104EE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGElementInstance : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGElementInstance : ISVGElementInstance.Interface
+public unsafe partial struct ISVGElementInstance : ISVGElementInstance.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGElementInstance));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGElementInstanceList.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGElementInstanceList.cs
index b96ceeeac7..1503ac0b2a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGElementInstanceList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGElementInstanceList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104EF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGElementInstanceList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGElementInstanceList : ISVGElementInstanceList.Interface
+public unsafe partial struct ISVGElementInstanceList : ISVGElementInstanceList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGElementInstanceList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGEllipseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGEllipseElement.cs
index 8be15c3a30..463a81d5b6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGEllipseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGEllipseElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510515-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGEllipseElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGEllipseElement : ISVGEllipseElement.Interface
+public unsafe partial struct ISVGEllipseElement : ISVGEllipseElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGEllipseElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGException.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGException.cs
index 366a6bedbd..ce8eb3cb56 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGException.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051072F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGException : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGException : ISVGException.Interface
+public unsafe partial struct ISVGException : ISVGException.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGException));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGExternalResourcesRequired.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGExternalResourcesRequired.cs
index dcf66aca27..7c013c4350 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGExternalResourcesRequired.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGExternalResourcesRequired.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104DF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGExternalResourcesRequired : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGExternalResourcesRequired : ISVGExternalResourcesRequired.Interface
+public unsafe partial struct ISVGExternalResourcesRequired : ISVGExternalResourcesRequired.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGExternalResourcesRequired));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGFitToViewBox.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGFitToViewBox.cs
index 1b0bf7af69..278c711a6f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGFitToViewBox.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGFitToViewBox.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104E0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGFitToViewBox : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGFitToViewBox : ISVGFitToViewBox.Interface
+public unsafe partial struct ISVGFitToViewBox : ISVGFitToViewBox.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGFitToViewBox));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGGElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGGElement.cs
index c070aba9f4..94fe1ed6eb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGGElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGGElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104E8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGGElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGGElement : ISVGGElement.Interface
+public unsafe partial struct ISVGGElement : ISVGGElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGGElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGGradientElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGGradientElement.cs
index 473d9eee6a..6d6f66c291 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGGradientElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGGradientElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510528-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGGradientElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGGradientElement : ISVGGradientElement.Interface
+public unsafe partial struct ISVGGradientElement : ISVGGradientElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGGradientElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGImageElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGImageElement.cs
index 760e417d57..3192b5b14e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGImageElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGImageElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104F0-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGImageElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGImageElement : ISVGImageElement.Interface
+public unsafe partial struct ISVGImageElement : ISVGImageElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGImageElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLangSpace.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLangSpace.cs
index c034512451..91f5744e6b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLangSpace.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLangSpace.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104DE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGLangSpace : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGLangSpace : ISVGLangSpace.Interface
+public unsafe partial struct ISVGLangSpace : ISVGLangSpace.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGLangSpace));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLength.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLength.cs
index 681c70f9e6..444d490578 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLength.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLength.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104CF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGLength : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGLength : ISVGLength.Interface
+public unsafe partial struct ISVGLength : ISVGLength.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGLength));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLengthList.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLengthList.cs
index 1b50f2418f..29e1ad40cc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLengthList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLengthList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104D1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGLengthList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGLengthList : ISVGLengthList.Interface
+public unsafe partial struct ISVGLengthList : ISVGLengthList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGLengthList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLineElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLineElement.cs
index 8384226796..7d575f4a05 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLineElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLineElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510516-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGLineElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGLineElement : ISVGLineElement.Interface
+public unsafe partial struct ISVGLineElement : ISVGLineElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGLineElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLinearGradientElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLinearGradientElement.cs
index e884b574d0..52b5cf0e3c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLinearGradientElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLinearGradientElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510529-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGLinearGradientElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGLinearGradientElement : ISVGLinearGradientElement.Interface
+public unsafe partial struct ISVGLinearGradientElement : ISVGLinearGradientElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGLinearGradientElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLocatable.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLocatable.cs
index fbeb8caba9..12aa87ee30 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGLocatable.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGLocatable.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104DB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGLocatable : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGLocatable : ISVGLocatable.Interface
+public unsafe partial struct ISVGLocatable : ISVGLocatable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGLocatable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGMarkerElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGMarkerElement.cs
index f073ed33b3..004ea42b48 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGMarkerElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGMarkerElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510525-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGMarkerElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGMarkerElement : ISVGMarkerElement.Interface
+public unsafe partial struct ISVGMarkerElement : ISVGMarkerElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGMarkerElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGMaskElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGMaskElement.cs
index a56dcbbec6..c9e0be693a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGMaskElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGMaskElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051052E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGMaskElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGMaskElement : ISVGMaskElement.Interface
+public unsafe partial struct ISVGMaskElement : ISVGMaskElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGMaskElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGMatrix.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGMatrix.cs
index 8307688528..de92166812 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGMatrix.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGMatrix.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104F6-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGMatrix : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGMatrix : ISVGMatrix.Interface
+public unsafe partial struct ISVGMatrix : ISVGMatrix.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGMatrix));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGMetadataElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGMetadataElement.cs
index bc38413ff5..e8318699dc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGMetadataElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGMetadataElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510560-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGMetadataElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGMetadataElement : ISVGMetadataElement.Interface
+public unsafe partial struct ISVGMetadataElement : ISVGMetadataElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGMetadataElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGNumber.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGNumber.cs
index 2d103c6140..bdb6416f38 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGNumber.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGNumber.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104CB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGNumber : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGNumber : ISVGNumber.Interface
+public unsafe partial struct ISVGNumber : ISVGNumber.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGNumber));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGNumberList.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGNumberList.cs
index 8490ec0311..7a85c00112 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGNumberList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGNumberList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104CD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGNumberList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGNumberList : ISVGNumberList.Interface
+public unsafe partial struct ISVGNumberList : ISVGNumberList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGNumberList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPaint.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPaint.cs
index 81f3ab4ad5..54dd0105a0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPaint.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPaint.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510524-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPaint : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPaint : ISVGPaint.Interface
+public unsafe partial struct ISVGPaint : ISVGPaint.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPaint));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathElement.cs
index fc6962dc51..ddab5c12f2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510512-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathElement : ISVGPathElement.Interface
+public unsafe partial struct ISVGPathElement : ISVGPathElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSeg.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSeg.cs
index 48539aa3da..27eea7610f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSeg.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSeg.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104FC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSeg : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSeg : ISVGPathSeg.Interface
+public unsafe partial struct ISVGPathSeg : ISVGPathSeg.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSeg));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegArcAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegArcAbs.cs
index 6109cab724..401b0b1280 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegArcAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegArcAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510506-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegArcAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegArcAbs : ISVGPathSegArcAbs.Interface
+public unsafe partial struct ISVGPathSegArcAbs : ISVGPathSegArcAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegArcAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegArcRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegArcRel.cs
index 30b28722db..c028486023 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegArcRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegArcRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510507-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegArcRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegArcRel : ISVGPathSegArcRel.Interface
+public unsafe partial struct ISVGPathSegArcRel : ISVGPathSegArcRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegArcRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegClosePath.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegClosePath.cs
index 8d61d76529..8cb766a4bf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegClosePath.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegClosePath.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104FD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegClosePath : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegClosePath : ISVGPathSegClosePath.Interface
+public unsafe partial struct ISVGPathSegClosePath : ISVGPathSegClosePath.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegClosePath));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicAbs.cs
index 5e189689dc..7b276c431f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510502-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegCurvetoCubicAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegCurvetoCubicAbs : ISVGPathSegCurvetoCubicAbs.Interface
+public unsafe partial struct ISVGPathSegCurvetoCubicAbs : ISVGPathSegCurvetoCubicAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegCurvetoCubicAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicRel.cs
index e09940bbad..61de8e4565 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510503-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegCurvetoCubicRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegCurvetoCubicRel : ISVGPathSegCurvetoCubicRel.Interface
+public unsafe partial struct ISVGPathSegCurvetoCubicRel : ISVGPathSegCurvetoCubicRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegCurvetoCubicRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicSmoothAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicSmoothAbs.cs
index a2043dbb58..d1e8d39211 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicSmoothAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicSmoothAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051050C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegCurvetoCubicSmoothAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegCurvetoCubicSmoothAbs : ISVGPathSegCurvetoCubicSmoothAbs.Interface
+public unsafe partial struct ISVGPathSegCurvetoCubicSmoothAbs : ISVGPathSegCurvetoCubicSmoothAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegCurvetoCubicSmoothAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicSmoothRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicSmoothRel.cs
index bda208a6e4..6c6dfb2aa9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicSmoothRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoCubicSmoothRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051050D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegCurvetoCubicSmoothRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegCurvetoCubicSmoothRel : ISVGPathSegCurvetoCubicSmoothRel.Interface
+public unsafe partial struct ISVGPathSegCurvetoCubicSmoothRel : ISVGPathSegCurvetoCubicSmoothRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegCurvetoCubicSmoothRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticAbs.cs
index 334bc739f8..2c0f8024eb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510504-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegCurvetoQuadraticAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegCurvetoQuadraticAbs : ISVGPathSegCurvetoQuadraticAbs.Interface
+public unsafe partial struct ISVGPathSegCurvetoQuadraticAbs : ISVGPathSegCurvetoQuadraticAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegCurvetoQuadraticAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticRel.cs
index 526244c1fb..3dccc6581e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510505-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegCurvetoQuadraticRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegCurvetoQuadraticRel : ISVGPathSegCurvetoQuadraticRel.Interface
+public unsafe partial struct ISVGPathSegCurvetoQuadraticRel : ISVGPathSegCurvetoQuadraticRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegCurvetoQuadraticRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticSmoothAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticSmoothAbs.cs
index 20908cf836..a32e650d27 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticSmoothAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticSmoothAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051050E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegCurvetoQuadraticSmoothAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegCurvetoQuadraticSmoothAbs : ISVGPathSegCurvetoQuadraticSmoothAbs.Interface
+public unsafe partial struct ISVGPathSegCurvetoQuadraticSmoothAbs : ISVGPathSegCurvetoQuadraticSmoothAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegCurvetoQuadraticSmoothAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticSmoothRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticSmoothRel.cs
index 6df858ee4a..181daf31b7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticSmoothRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegCurvetoQuadraticSmoothRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051050F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegCurvetoQuadraticSmoothRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegCurvetoQuadraticSmoothRel : ISVGPathSegCurvetoQuadraticSmoothRel.Interface
+public unsafe partial struct ISVGPathSegCurvetoQuadraticSmoothRel : ISVGPathSegCurvetoQuadraticSmoothRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegCurvetoQuadraticSmoothRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoAbs.cs
index 3bf0ae2307..9b91c0bd97 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510500-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegLinetoAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegLinetoAbs : ISVGPathSegLinetoAbs.Interface
+public unsafe partial struct ISVGPathSegLinetoAbs : ISVGPathSegLinetoAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegLinetoAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoHorizontalAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoHorizontalAbs.cs
index c2e10758d1..871a0e145c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoHorizontalAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoHorizontalAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510508-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegLinetoHorizontalAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegLinetoHorizontalAbs : ISVGPathSegLinetoHorizontalAbs.Interface
+public unsafe partial struct ISVGPathSegLinetoHorizontalAbs : ISVGPathSegLinetoHorizontalAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegLinetoHorizontalAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoHorizontalRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoHorizontalRel.cs
index a3609738e0..2eebb02f63 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoHorizontalRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoHorizontalRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510509-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegLinetoHorizontalRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegLinetoHorizontalRel : ISVGPathSegLinetoHorizontalRel.Interface
+public unsafe partial struct ISVGPathSegLinetoHorizontalRel : ISVGPathSegLinetoHorizontalRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegLinetoHorizontalRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoRel.cs
index 36531927c0..36a6d84c23 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510501-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegLinetoRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegLinetoRel : ISVGPathSegLinetoRel.Interface
+public unsafe partial struct ISVGPathSegLinetoRel : ISVGPathSegLinetoRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegLinetoRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoVerticalAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoVerticalAbs.cs
index c63e001a4c..937d8fa852 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoVerticalAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoVerticalAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051050A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegLinetoVerticalAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegLinetoVerticalAbs : ISVGPathSegLinetoVerticalAbs.Interface
+public unsafe partial struct ISVGPathSegLinetoVerticalAbs : ISVGPathSegLinetoVerticalAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegLinetoVerticalAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoVerticalRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoVerticalRel.cs
index 2da0a80c86..cacdddef75 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoVerticalRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegLinetoVerticalRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051050B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegLinetoVerticalRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegLinetoVerticalRel : ISVGPathSegLinetoVerticalRel.Interface
+public unsafe partial struct ISVGPathSegLinetoVerticalRel : ISVGPathSegLinetoVerticalRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegLinetoVerticalRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegList.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegList.cs
index c4a5392751..503cf6032a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510510-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegList : ISVGPathSegList.Interface
+public unsafe partial struct ISVGPathSegList : ISVGPathSegList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegMovetoAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegMovetoAbs.cs
index 2175679e05..010d2a9704 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegMovetoAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegMovetoAbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104FE-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegMovetoAbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegMovetoAbs : ISVGPathSegMovetoAbs.Interface
+public unsafe partial struct ISVGPathSegMovetoAbs : ISVGPathSegMovetoAbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegMovetoAbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegMovetoRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegMovetoRel.cs
index 13a1a4384b..e4a4a43126 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegMovetoRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPathSegMovetoRel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104FF-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPathSegMovetoRel : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPathSegMovetoRel : ISVGPathSegMovetoRel.Interface
+public unsafe partial struct ISVGPathSegMovetoRel : ISVGPathSegMovetoRel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPathSegMovetoRel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPatternElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPatternElement.cs
index 4362232536..9664ceba82 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPatternElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPatternElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051052C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPatternElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPatternElement : ISVGPatternElement.Interface
+public unsafe partial struct ISVGPatternElement : ISVGPatternElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPatternElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPoint.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPoint.cs
index d9b4c963fa..0d110aab5e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPoint.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPoint.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104F4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPoint : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPoint : ISVGPoint.Interface
+public unsafe partial struct ISVGPoint : ISVGPoint.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPoint));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPointList.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPointList.cs
index 8d9564bd72..c0dadb28c4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPointList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPointList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104F5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPointList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPointList : ISVGPointList.Interface
+public unsafe partial struct ISVGPointList : ISVGPointList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPointList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPolygonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPolygonElement.cs
index b08b3b0fe8..dc0f70b251 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPolygonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPolygonElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510519-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPolygonElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPolygonElement : ISVGPolygonElement.Interface
+public unsafe partial struct ISVGPolygonElement : ISVGPolygonElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPolygonElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPolylineElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPolylineElement.cs
index 5c52c8c459..c541445971 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPolylineElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPolylineElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510518-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPolylineElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPolylineElement : ISVGPolylineElement.Interface
+public unsafe partial struct ISVGPolylineElement : ISVGPolylineElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPolylineElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPreserveAspectRatio.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPreserveAspectRatio.cs
index ab6d38e996..2ee7d7e067 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGPreserveAspectRatio.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGPreserveAspectRatio.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104FA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGPreserveAspectRatio : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGPreserveAspectRatio : ISVGPreserveAspectRatio.Interface
+public unsafe partial struct ISVGPreserveAspectRatio : ISVGPreserveAspectRatio.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGPreserveAspectRatio));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGRadialGradientElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGRadialGradientElement.cs
index 7663646ee6..61e50f7fe1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGRadialGradientElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGRadialGradientElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051052A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGRadialGradientElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGRadialGradientElement : ISVGRadialGradientElement.Interface
+public unsafe partial struct ISVGRadialGradientElement : ISVGRadialGradientElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGRadialGradientElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGRect.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGRect.cs
index d8937cda1b..facc3ee6eb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGRect.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGRect.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104D7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGRect : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGRect : ISVGRect.Interface
+public unsafe partial struct ISVGRect : ISVGRect.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGRect));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGRectElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGRectElement.cs
index bcd40bc7f1..9d770120ef 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGRectElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGRectElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510513-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGRectElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGRectElement : ISVGRectElement.Interface
+public unsafe partial struct ISVGRectElement : ISVGRectElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGRectElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGSVGElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGSVGElement.cs
index ea5f841c65..6d3218689b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGSVGElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGSVGElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104E7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGSVGElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGSVGElement : ISVGSVGElement.Interface
+public unsafe partial struct ISVGSVGElement : ISVGSVGElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGSVGElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGScriptElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGScriptElement.cs
index d6555a07c2..111e4ba082 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGScriptElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGScriptElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051054D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGScriptElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGScriptElement : ISVGScriptElement.Interface
+public unsafe partial struct ISVGScriptElement : ISVGScriptElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGScriptElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGStopElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGStopElement.cs
index f166b00005..c8caf28d3b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGStopElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGStopElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051052B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGStopElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGStopElement : ISVGStopElement.Interface
+public unsafe partial struct ISVGStopElement : ISVGStopElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGStopElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGStringList.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGStringList.cs
index f0df1833bf..7d4fa950a8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGStringList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGStringList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104C8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGStringList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGStringList : ISVGStringList.Interface
+public unsafe partial struct ISVGStringList : ISVGStringList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGStringList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGStylable.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGStylable.cs
index 050e5cbe11..7bebf82315 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGStylable.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGStylable.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104DA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGStylable : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGStylable : ISVGStylable.Interface
+public unsafe partial struct ISVGStylable : ISVGStylable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGStylable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGStyleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGStyleElement.cs
index 9e7f23de83..c493c5df18 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGStyleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGStyleElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104F3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGStyleElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGStyleElement : ISVGStyleElement.Interface
+public unsafe partial struct ISVGStyleElement : ISVGStyleElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGStyleElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGSwitchElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGSwitchElement.cs
index 54d58fad40..99583470a8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGSwitchElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGSwitchElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104F1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGSwitchElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGSwitchElement : ISVGSwitchElement.Interface
+public unsafe partial struct ISVGSwitchElement : ISVGSwitchElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGSwitchElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGSymbolElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGSymbolElement.cs
index bc78760dd0..50a33a4cc2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGSymbolElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGSymbolElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104EC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGSymbolElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGSymbolElement : ISVGSymbolElement.Interface
+public unsafe partial struct ISVGSymbolElement : ISVGSymbolElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGSymbolElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTSpanElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTSpanElement.cs
index b346419a71..1a22123e03 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTSpanElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTSpanElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051051D-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGTSpanElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGTSpanElement : ISVGTSpanElement.Interface
+public unsafe partial struct ISVGTSpanElement : ISVGTSpanElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGTSpanElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTests.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTests.cs
index 51660a0e7f..576b693dc1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTests.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTests.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104DD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGTests : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGTests : ISVGTests.Interface
+public unsafe partial struct ISVGTests : ISVGTests.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGTests));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextContentElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextContentElement.cs
index 9e5c607c31..1a960e8a00 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextContentElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextContentElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051051A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGTextContentElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGTextContentElement : ISVGTextContentElement.Interface
+public unsafe partial struct ISVGTextContentElement : ISVGTextContentElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGTextContentElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextElement.cs
index 5baa9ce8e3..acea09a9bf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051051C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGTextElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGTextElement : ISVGTextElement.Interface
+public unsafe partial struct ISVGTextElement : ISVGTextElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGTextElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextPathElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextPathElement.cs
index b062d21768..0343d17924 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextPathElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextPathElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051051F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGTextPathElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGTextPathElement : ISVGTextPathElement.Interface
+public unsafe partial struct ISVGTextPathElement : ISVGTextPathElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGTextPathElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextPositioningElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextPositioningElement.cs
index 3977e3fc71..a6975388c6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextPositioningElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTextPositioningElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051051B-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGTextPositioningElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGTextPositioningElement : ISVGTextPositioningElement.Interface
+public unsafe partial struct ISVGTextPositioningElement : ISVGTextPositioningElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGTextPositioningElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTitleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTitleElement.cs
index 450b78167f..7851d87a6d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTitleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTitleElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104EB-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGTitleElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGTitleElement : ISVGTitleElement.Interface
+public unsafe partial struct ISVGTitleElement : ISVGTitleElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGTitleElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransform.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransform.cs
index 0d0b938621..ab1aebfbfd 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransform.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransform.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104F7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGTransform : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGTransform : ISVGTransform.Interface
+public unsafe partial struct ISVGTransform : ISVGTransform.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGTransform));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransformList.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransformList.cs
index 104185adc1..de24e90b71 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransformList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransformList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104F8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGTransformList : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGTransformList : ISVGTransformList.Interface
+public unsafe partial struct ISVGTransformList : ISVGTransformList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGTransformList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransformable.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransformable.cs
index 38734bb2ec..036ddbaff4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransformable.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGTransformable.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104DC-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGTransformable : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGTransformable : ISVGTransformable.Interface
+public unsafe partial struct ISVGTransformable : ISVGTransformable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGTransformable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGURIReference.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGURIReference.cs
index 733eacff23..33ac075392 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGURIReference.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGURIReference.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104E3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGURIReference : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGURIReference : ISVGURIReference.Interface
+public unsafe partial struct ISVGURIReference : ISVGURIReference.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGURIReference));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGUseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGUseElement.cs
index 62ceecd040..63002ef181 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGUseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGUseElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104ED-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGUseElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGUseElement : ISVGUseElement.Interface
+public unsafe partial struct ISVGUseElement : ISVGUseElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGUseElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGViewElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGViewElement.cs
index 1e12dede46..230c1799e5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGViewElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGViewElement.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051054C-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGViewElement : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGViewElement : ISVGViewElement.Interface
+public unsafe partial struct ISVGViewElement : ISVGViewElement.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGViewElement));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGViewSpec.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGViewSpec.cs
index 1f4d8287c1..29d375c665 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGViewSpec.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGViewSpec.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104E2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGViewSpec : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGViewSpec : ISVGViewSpec.Interface
+public unsafe partial struct ISVGViewSpec : ISVGViewSpec.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGViewSpec));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGZoomAndPan.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGZoomAndPan.cs
index a385bb9c15..bb7768ff51 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGZoomAndPan.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGZoomAndPan.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104E1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGZoomAndPan : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGZoomAndPan : ISVGZoomAndPan.Interface
+public unsafe partial struct ISVGZoomAndPan : ISVGZoomAndPan.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGZoomAndPan));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISVGZoomEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISVGZoomEvent.cs
index 246bc859f1..161df3a2e8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISVGZoomEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISVGZoomEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051054E-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISVGZoomEvent : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ISVGZoomEvent : ISVGZoomEvent.Interface
+public unsafe partial struct ISVGZoomEvent : ISVGZoomEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISVGZoomEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IScriptEventHandler.cs b/sources/Interop/Windows/Windows/um/MsHTML/IScriptEventHandler.cs
index ca4c91aee8..e82339091f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IScriptEventHandler.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IScriptEventHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3051083A-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IScriptEventHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IScriptEventHandler : IScriptEventHandler.Interface
+public unsafe partial struct IScriptEventHandler : IScriptEventHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IScriptEventHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IScriptEventHandlerSourceInfo.cs b/sources/Interop/Windows/Windows/um/MsHTML/IScriptEventHandlerSourceInfo.cs
index 07e88a27c1..f94ef8cc08 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IScriptEventHandlerSourceInfo.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IScriptEventHandlerSourceInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510841-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IScriptEventHandlerSourceInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IScriptEventHandlerSourceInfo : IScriptEventHandlerSourceInfo.Interface
+public unsafe partial struct IScriptEventHandlerSourceInfo : IScriptEventHandlerSourceInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IScriptEventHandlerSourceInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISecureUrlHost.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISecureUrlHost.cs
index 9613522bd6..07892d0549 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISecureUrlHost.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISecureUrlHost.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C81984C4-74C8-11D2-BAA9-00C04FC2040E")]
[NativeTypeName("struct ISecureUrlHost : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISecureUrlHost : ISecureUrlHost.Interface
+public unsafe partial struct ISecureUrlHost : ISecureUrlHost.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISecureUrlHost));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISegment.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISegment.cs
index e7478d82a0..e13f6e8593 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISegment.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISegment.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F683-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISegment : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISegment : ISegment.Interface
+public unsafe partial struct ISegment : ISegment.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISegment));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISegmentList.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISegmentList.cs
index aaa26b4a30..33aaf5165b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISegmentList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISegmentList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F605-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISegmentList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISegmentList : ISegmentList.Interface
+public unsafe partial struct ISegmentList : ISegmentList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISegmentList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISegmentListIterator.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISegmentListIterator.cs
index ca28492309..85d5993780 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISegmentListIterator.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISegmentListIterator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F692-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISegmentListIterator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISegmentListIterator : ISegmentListIterator.Interface
+public unsafe partial struct ISegmentListIterator : ISegmentListIterator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISegmentListIterator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISelectionServices.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISelectionServices.cs
index dea69cf59a..c4e2e8f70a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISelectionServices.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISelectionServices.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F684-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISelectionServices : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISelectionServices : ISelectionServices.Interface
+public unsafe partial struct ISelectionServices : ISelectionServices.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISelectionServices));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISelectionServicesListener.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISelectionServicesListener.cs
index d94d7baf67..0f7bfbdc51 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISelectionServicesListener.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISelectionServicesListener.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F699-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISelectionServicesListener : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISelectionServicesListener : ISelectionServicesListener.Interface
+public unsafe partial struct ISelectionServicesListener : ISelectionServicesListener.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISelectionServicesListener));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISequenceNumber.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISequenceNumber.cs
index 8cfbb1ad52..c80a071c81 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISequenceNumber.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISequenceNumber.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6C1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISequenceNumber : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISequenceNumber : ISequenceNumber.Interface
+public unsafe partial struct ISequenceNumber : ISequenceNumber.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISequenceNumber));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ISurfacePresenter.cs b/sources/Interop/Windows/Windows/um/MsHTML/ISurfacePresenter.cs
index 34e31c2967..62fa0323bc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ISurfacePresenter.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ISurfacePresenter.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106E2-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ISurfacePresenter : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISurfacePresenter : ISurfacePresenter.Interface
+public unsafe partial struct ISurfacePresenter : ISurfacePresenter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISurfacePresenter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter.cs b/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter.cs
index 01312d1ffd..21d209f832 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F6B4-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ITemplatePrinter : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct ITemplatePrinter : ITemplatePrinter.Interface
+public unsafe partial struct ITemplatePrinter : ITemplatePrinter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITemplatePrinter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter2.cs b/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter2.cs
index d28601d001..b27add5d6b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter2.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3050F83F-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ITemplatePrinter2 : ITemplatePrinter")]
[NativeInheritance("ITemplatePrinter")]
-public unsafe partial struct ITemplatePrinter2 : ITemplatePrinter2.Interface
+public unsafe partial struct ITemplatePrinter2 : ITemplatePrinter2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITemplatePrinter2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter3.cs b/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter3.cs
index c359f7420f..1f20472fa8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter3.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ITemplatePrinter3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305104A3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ITemplatePrinter3 : ITemplatePrinter2")]
[NativeInheritance("ITemplatePrinter2")]
-public unsafe partial struct ITemplatePrinter3 : ITemplatePrinter3.Interface
+public unsafe partial struct ITemplatePrinter3 : ITemplatePrinter3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITemplatePrinter3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ITrackingProtection.cs b/sources/Interop/Windows/Windows/um/MsHTML/ITrackingProtection.cs
index 3001ce24c1..b656cdc1ab 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ITrackingProtection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ITrackingProtection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510803-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct ITrackingProtection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITrackingProtection : ITrackingProtection.Interface
+public unsafe partial struct ITrackingProtection : ITrackingProtection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITrackingProtection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentNotify.cs b/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentNotify.cs
index e4d1b8c0ca..2331bb4746 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentNotify.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentNotify.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107F8-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IViewObjectPresentNotify : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IViewObjectPresentNotify : IViewObjectPresentNotify.Interface
+public unsafe partial struct IViewObjectPresentNotify : IViewObjectPresentNotify.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IViewObjectPresentNotify));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentNotifySite.cs b/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentNotifySite.cs
index 697fd53403..28557e3f77 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentNotifySite.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentNotifySite.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.DirectX;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107FA-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IViewObjectPresentNotifySite : IViewObjectPresentSite")]
[NativeInheritance("IViewObjectPresentSite")]
-public unsafe partial struct IViewObjectPresentNotifySite : IViewObjectPresentNotifySite.Interface
+public unsafe partial struct IViewObjectPresentNotifySite : IViewObjectPresentNotifySite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IViewObjectPresentNotifySite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentSite.cs b/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentSite.cs
index 239223215d..14d21a2bce 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentSite.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPresentSite.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.DirectX;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106E1-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IViewObjectPresentSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IViewObjectPresentSite : IViewObjectPresentSite.Interface
+public unsafe partial struct IViewObjectPresentSite : IViewObjectPresentSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IViewObjectPresentSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPrint.cs b/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPrint.cs
index b34fb1c595..a0f90a24bb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPrint.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IViewObjectPrint.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305106E3-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IViewObjectPrint : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IViewObjectPrint : IViewObjectPrint.Interface
+public unsafe partial struct IViewObjectPrint : IViewObjectPrint.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IViewObjectPrint));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IWBScriptControl.cs b/sources/Interop/Windows/Windows/um/MsHTML/IWBScriptControl.cs
index 00ac04ac7c..b13236086c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IWBScriptControl.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IWBScriptControl.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A5170870-0CF8-11D1-8B91-0080C744F389")]
[NativeTypeName("struct IWBScriptControl : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IWBScriptControl : IWBScriptControl.Interface
+public unsafe partial struct IWBScriptControl : IWBScriptControl.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWBScriptControl));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IWPCBlockedUrls.cs b/sources/Interop/Windows/Windows/um/MsHTML/IWPCBlockedUrls.cs
index dd5050be17..1522ee6b16 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IWPCBlockedUrls.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IWPCBlockedUrls.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510413-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IWPCBlockedUrls : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWPCBlockedUrls : IWPCBlockedUrls.Interface
+public unsafe partial struct IWPCBlockedUrls : IWPCBlockedUrls.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWPCBlockedUrls));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IWebBridge.cs b/sources/Interop/Windows/Windows/um/MsHTML/IWebBridge.cs
index 1947c46eb3..c4dd911e45 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IWebBridge.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IWebBridge.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("AE24FDAD-03C6-11D1-8B76-0080C744F389")]
[NativeTypeName("struct IWebBridge : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IWebBridge : IWebBridge.Interface
+public unsafe partial struct IWebBridge : IWebBridge.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebBridge));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IWebGeocoordinates.cs b/sources/Interop/Windows/Windows/um/MsHTML/IWebGeocoordinates.cs
index bbc1c600a8..c2cb7392e1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IWebGeocoordinates.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IWebGeocoordinates.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107C7-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IWebGeocoordinates : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IWebGeocoordinates : IWebGeocoordinates.Interface
+public unsafe partial struct IWebGeocoordinates : IWebGeocoordinates.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebGeocoordinates));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IWebGeolocation.cs b/sources/Interop/Windows/Windows/um/MsHTML/IWebGeolocation.cs
index affd793255..3350d18de8 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IWebGeolocation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IWebGeolocation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107C5-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IWebGeolocation : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IWebGeolocation : IWebGeolocation.Interface
+public unsafe partial struct IWebGeolocation : IWebGeolocation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebGeolocation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IWebGeoposition.cs b/sources/Interop/Windows/Windows/um/MsHTML/IWebGeoposition.cs
index 678b176621..4efc3a2266 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IWebGeoposition.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IWebGeoposition.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107CD-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IWebGeoposition : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IWebGeoposition : IWebGeoposition.Interface
+public unsafe partial struct IWebGeoposition : IWebGeoposition.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebGeoposition));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IWebGeopositionError.cs b/sources/Interop/Windows/Windows/um/MsHTML/IWebGeopositionError.cs
index 1f44c436ea..7f60efe2d7 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IWebGeopositionError.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IWebGeopositionError.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("305107C9-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IWebGeopositionError : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IWebGeopositionError : IWebGeopositionError.Interface
+public unsafe partial struct IWebGeopositionError : IWebGeopositionError.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebGeopositionError));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IXMLGenericParse.cs b/sources/Interop/Windows/Windows/um/MsHTML/IXMLGenericParse.cs
index dc4dbacd8c..b39bf479b9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IXMLGenericParse.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IXMLGenericParse.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E4E23071-4D07-11D2-AE76-0080C73BC199")]
[NativeTypeName("struct IXMLGenericParse : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IXMLGenericParse : IXMLGenericParse.Interface
+public unsafe partial struct IXMLGenericParse : IXMLGenericParse.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IXMLGenericParse));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/IXMLHttpRequestEventTarget.cs b/sources/Interop/Windows/Windows/um/MsHTML/IXMLHttpRequestEventTarget.cs
index f667b7222b..0227a2f487 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/IXMLHttpRequestEventTarget.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/IXMLHttpRequestEventTarget.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("30510830-98B5-11CF-BB82-00AA00BDCE0B")]
[NativeTypeName("struct IXMLHttpRequestEventTarget : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IXMLHttpRequestEventTarget : IXMLHttpRequestEventTarget.Interface
+public unsafe partial struct IXMLHttpRequestEventTarget : IXMLHttpRequestEventTarget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IXMLHttpRequestEventTarget));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/NodeIterator.cs b/sources/Interop/Windows/Windows/um/MsHTML/NodeIterator.cs
index b777f8286c..f5fb28b950 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/NodeIterator.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/NodeIterator.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510745-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct NodeIterator
+public unsafe partial struct NodeIterator : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_NodeIterator));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/OldHTMLDocument.cs b/sources/Interop/Windows/Windows/um/MsHTML/OldHTMLDocument.cs
index 0ffaee5a8b..8ad7a2b941 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/OldHTMLDocument.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/OldHTMLDocument.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("D48A6EC9-6A4A-11CF-94A7-444553540000")]
-public partial struct OldHTMLDocument
+public unsafe partial struct OldHTMLDocument : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_OldHTMLDocument));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/OldHTMLFormElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/OldHTMLFormElement.cs
index 760d79a2f4..cf2a7ec048 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/OldHTMLFormElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/OldHTMLFormElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("0D04D285-6BEC-11CF-8B97-00AA00476DA6")]
-public partial struct OldHTMLFormElement
+public unsafe partial struct OldHTMLFormElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_OldHTMLFormElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/RangeException.cs b/sources/Interop/Windows/Windows/um/MsHTML/RangeException.cs
index 91177c570e..9394902a4d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/RangeException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/RangeException.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051072E-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct RangeException
+public unsafe partial struct RangeException : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_RangeException));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/RulesApplied.cs b/sources/Interop/Windows/Windows/um/MsHTML/RulesApplied.cs
index 7225b1c768..196acd52ec 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/RulesApplied.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/RulesApplied.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("7C803920-7A53-4D26-98AC-FDD23E6B9E01")]
-public partial struct RulesApplied
+public unsafe partial struct RulesApplied : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_RulesApplied));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/RulesAppliedCollection.cs b/sources/Interop/Windows/Windows/um/MsHTML/RulesAppliedCollection.cs
index 053b0bd9c5..e958dcef9d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/RulesAppliedCollection.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/RulesAppliedCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("671926EE-C3CF-40AF-BE8F-1CBAEE6486E8")]
-public partial struct RulesAppliedCollection
+public unsafe partial struct RulesAppliedCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_RulesAppliedCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAElement.cs
index 492e05396f..48c2aac4ae 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105DB-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAElement
+public unsafe partial struct SVGAElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAngle.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAngle.cs
index 0378175143..f27baf3390 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAngle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAngle.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510584-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAngle
+public unsafe partial struct SVGAngle : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAngle));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedAngle.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedAngle.cs
index 9e03af70ba..7537012313 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedAngle.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedAngle.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105E4-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedAngle
+public unsafe partial struct SVGAnimatedAngle : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedAngle));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedBoolean.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedBoolean.cs
index 9bb8179a61..3c2364b4e1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedBoolean.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedBoolean.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051058B-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedBoolean
+public unsafe partial struct SVGAnimatedBoolean : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedBoolean));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedEnumeration.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedEnumeration.cs
index 513b20ba0e..d9dbae48f4 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedEnumeration.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedEnumeration.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051058E-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedEnumeration
+public unsafe partial struct SVGAnimatedEnumeration : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedEnumeration));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedInteger.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedInteger.cs
index b8db038597..5042375f5a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedInteger.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedInteger.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051058F-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedInteger
+public unsafe partial struct SVGAnimatedInteger : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedInteger));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedLength.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedLength.cs
index 87f1c6abe7..3fa01b1ced 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedLength.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedLength.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510581-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedLength
+public unsafe partial struct SVGAnimatedLength : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedLength));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedLengthList.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedLengthList.cs
index 917a64ea9d..98612b2dcc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedLengthList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedLengthList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510582-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedLengthList
+public unsafe partial struct SVGAnimatedLengthList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedLengthList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedNumber.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedNumber.cs
index d9ca727e55..7691393f7f 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedNumber.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedNumber.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510588-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedNumber
+public unsafe partial struct SVGAnimatedNumber : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedNumber));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedNumberList.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedNumberList.cs
index cd539b5b41..3a8fb049d1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedNumberList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedNumberList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051058A-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedNumberList
+public unsafe partial struct SVGAnimatedNumberList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedNumberList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedPreserveAspectRatio.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedPreserveAspectRatio.cs
index e8efadf697..2c25f17b9e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedPreserveAspectRatio.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedPreserveAspectRatio.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105CE-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedPreserveAspectRatio
+public unsafe partial struct SVGAnimatedPreserveAspectRatio : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedPreserveAspectRatio));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedRect.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedRect.cs
index f6475f85e4..691e77994c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedRect.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedRect.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510586-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedRect
+public unsafe partial struct SVGAnimatedRect : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedRect));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedString.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedString.cs
index b38144245f..e534a6b6fa 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedString.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedString.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051058C-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedString
+public unsafe partial struct SVGAnimatedString : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedString));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedTransformList.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedTransformList.cs
index 62c7d969fb..dce9fecf61 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedTransformList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGAnimatedTransformList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105B1-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGAnimatedTransformList
+public unsafe partial struct SVGAnimatedTransformList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGAnimatedTransformList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGCircleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGCircleElement.cs
index 30d0e0684a..827d281cd9 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGCircleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGCircleElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510578-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGCircleElement
+public unsafe partial struct SVGCircleElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGCircleElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGClipPathElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGClipPathElement.cs
index e8da197d62..5288b9d263 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGClipPathElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGClipPathElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105E6-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGClipPathElement
+public unsafe partial struct SVGClipPathElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGClipPathElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGDefsElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGDefsElement.cs
index 3964adb43e..29a7f54bfa 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGDefsElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGDefsElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510570-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGDefsElement
+public unsafe partial struct SVGDefsElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGDefsElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGDescElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGDescElement.cs
index 718d592e99..16d7a60303 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGDescElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGDescElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510572-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGDescElement
+public unsafe partial struct SVGDescElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGDescElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGElement.cs
index d906f2fee5..f68a8a8219 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510564-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGElement
+public unsafe partial struct SVGElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGElementInstance.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGElementInstance.cs
index 4d9af8a68c..00257a4f38 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGElementInstance.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGElementInstance.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510575-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGElementInstance
+public unsafe partial struct SVGElementInstance : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGElementInstance));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGElementInstanceList.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGElementInstanceList.cs
index d58d8e53bd..f2546e6a73 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGElementInstanceList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGElementInstanceList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510576-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGElementInstanceList
+public unsafe partial struct SVGElementInstanceList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGElementInstanceList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGEllipseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGEllipseElement.cs
index 151659afe0..ae210b99ef 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGEllipseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGEllipseElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510579-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGEllipseElement
+public unsafe partial struct SVGEllipseElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGEllipseElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGException.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGException.cs
index fa5794cc38..6a9b351f8a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGException.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGException.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510730-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGException
+public unsafe partial struct SVGException : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGException));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGGElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGGElement.cs
index 32728fcbf0..a781dd927b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGGElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGGElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051056F-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGGElement
+public unsafe partial struct SVGGElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGGElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGGradientElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGGradientElement.cs
index cac2faf51c..0c12992228 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGGradientElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGGradientElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105D6-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGGradientElement
+public unsafe partial struct SVGGradientElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGGradientElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGImageElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGImageElement.cs
index 1ecd5b66af..f2059b865b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGImageElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGImageElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105CF-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGImageElement
+public unsafe partial struct SVGImageElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGImageElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGLength.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGLength.cs
index 689158fb04..77aa420470 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGLength.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGLength.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051057E-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGLength
+public unsafe partial struct SVGLength : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGLength));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGLengthList.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGLengthList.cs
index ef49ab2c2e..f8041cdb2d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGLengthList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGLengthList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510580-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGLengthList
+public unsafe partial struct SVGLengthList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGLengthList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGLineElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGLineElement.cs
index 3eafa03af4..cf012e6e54 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGLineElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGLineElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051057A-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGLineElement
+public unsafe partial struct SVGLineElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGLineElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGLinearGradientElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGLinearGradientElement.cs
index aa18af8522..e772ba80ea 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGLinearGradientElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGLinearGradientElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105D2-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGLinearGradientElement
+public unsafe partial struct SVGLinearGradientElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGLinearGradientElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGMarkerElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGMarkerElement.cs
index 92b0c25588..ae0ecc8811 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGMarkerElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGMarkerElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105DE-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGMarkerElement
+public unsafe partial struct SVGMarkerElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGMarkerElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGMaskElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGMaskElement.cs
index e0a223b30b..bf66d90e1d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGMaskElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGMaskElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105E7-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGMaskElement
+public unsafe partial struct SVGMaskElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGMaskElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGMatrix.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGMatrix.cs
index bd6b76bbbb..dd03192a08 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGMatrix.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGMatrix.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105AE-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGMatrix
+public unsafe partial struct SVGMatrix : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGMatrix));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGMetadataElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGMetadataElement.cs
index 4694dc93d9..405dad2599 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGMetadataElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGMetadataElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105D7-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGMetadataElement
+public unsafe partial struct SVGMetadataElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGMetadataElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGNumber.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGNumber.cs
index 30741785d5..696ea0f33d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGNumber.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGNumber.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510587-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGNumber
+public unsafe partial struct SVGNumber : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGNumber));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGNumberList.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGNumberList.cs
index 479e7a4ce0..ad34cef16e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGNumberList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGNumberList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510589-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGNumberList
+public unsafe partial struct SVGNumberList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGNumberList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathElement.cs
index 2753830cd9..bad118ad97 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105B2-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathElement
+public unsafe partial struct SVGPathElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSeg.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSeg.cs
index 0cd897414a..18a5bf539e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSeg.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSeg.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105B3-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSeg
+public unsafe partial struct SVGPathSeg : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSeg));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegArcAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegArcAbs.cs
index d0bc29a591..5fef25cf15 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegArcAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegArcAbs.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105BB-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegArcAbs
+public unsafe partial struct SVGPathSegArcAbs : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegArcAbs));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegArcRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegArcRel.cs
index a5e324ad28..475fb88731 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegArcRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegArcRel.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105BC-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegArcRel
+public unsafe partial struct SVGPathSegArcRel : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegArcRel));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegClosePath.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegClosePath.cs
index 87de7f4bd3..3e7e566f4d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegClosePath.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegClosePath.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105BD-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegClosePath
+public unsafe partial struct SVGPathSegClosePath : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegClosePath));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicAbs.cs
index d0b4257abe..4ff58565ff 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicAbs.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105BE-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegCurvetoCubicAbs
+public unsafe partial struct SVGPathSegCurvetoCubicAbs : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegCurvetoCubicAbs));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicRel.cs
index b5894575d7..36142bb45d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicRel.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105BF-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegCurvetoCubicRel
+public unsafe partial struct SVGPathSegCurvetoCubicRel : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegCurvetoCubicRel));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicSmoothAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicSmoothAbs.cs
index 311f99d1b7..311179710b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicSmoothAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicSmoothAbs.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105C0-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegCurvetoCubicSmoothAbs
+public unsafe partial struct SVGPathSegCurvetoCubicSmoothAbs : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegCurvetoCubicSmoothAbs));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicSmoothRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicSmoothRel.cs
index 8d88447774..c3d766ab38 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicSmoothRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoCubicSmoothRel.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105C1-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegCurvetoCubicSmoothRel
+public unsafe partial struct SVGPathSegCurvetoCubicSmoothRel : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegCurvetoCubicSmoothRel));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticAbs.cs
index a8e661599b..dfb2f3ea4e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticAbs.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105C2-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegCurvetoQuadraticAbs
+public unsafe partial struct SVGPathSegCurvetoQuadraticAbs : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegCurvetoQuadraticAbs));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticRel.cs
index 7384805205..c4345ba152 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticRel.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105C3-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegCurvetoQuadraticRel
+public unsafe partial struct SVGPathSegCurvetoQuadraticRel : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegCurvetoQuadraticRel));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticSmoothAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticSmoothAbs.cs
index f6166fef26..df8d0b289a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticSmoothAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticSmoothAbs.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105C4-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegCurvetoQuadraticSmoothAbs
+public unsafe partial struct SVGPathSegCurvetoQuadraticSmoothAbs : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegCurvetoQuadraticSmoothAbs));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticSmoothRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticSmoothRel.cs
index 84ca078561..2ce916beae 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticSmoothRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegCurvetoQuadraticSmoothRel.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105C5-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegCurvetoQuadraticSmoothRel
+public unsafe partial struct SVGPathSegCurvetoQuadraticSmoothRel : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegCurvetoQuadraticSmoothRel));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoAbs.cs
index 9468fca5f4..20ba20f7b0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoAbs.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105C6-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegLinetoAbs
+public unsafe partial struct SVGPathSegLinetoAbs : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegLinetoAbs));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoHorizontalAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoHorizontalAbs.cs
index dddb3c7298..6ed380fddb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoHorizontalAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoHorizontalAbs.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105C7-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegLinetoHorizontalAbs
+public unsafe partial struct SVGPathSegLinetoHorizontalAbs : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegLinetoHorizontalAbs));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoHorizontalRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoHorizontalRel.cs
index c3ab3722ad..7eddc8a190 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoHorizontalRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoHorizontalRel.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105C8-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegLinetoHorizontalRel
+public unsafe partial struct SVGPathSegLinetoHorizontalRel : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegLinetoHorizontalRel));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoRel.cs
index 5a305ccd9c..e255d320fc 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoRel.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105C9-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegLinetoRel
+public unsafe partial struct SVGPathSegLinetoRel : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegLinetoRel));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoVerticalAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoVerticalAbs.cs
index b1b6630ea1..7290c891c2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoVerticalAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoVerticalAbs.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105CA-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegLinetoVerticalAbs
+public unsafe partial struct SVGPathSegLinetoVerticalAbs : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegLinetoVerticalAbs));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoVerticalRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoVerticalRel.cs
index 30654911c9..f3e8e97828 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoVerticalRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegLinetoVerticalRel.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105CB-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegLinetoVerticalRel
+public unsafe partial struct SVGPathSegLinetoVerticalRel : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegLinetoVerticalRel));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegList.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegList.cs
index b7409fbed9..4c2fb865cb 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105B4-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegList
+public unsafe partial struct SVGPathSegList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegMovetoAbs.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegMovetoAbs.cs
index f18b8b4f71..381a0a208c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegMovetoAbs.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegMovetoAbs.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105CC-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegMovetoAbs
+public unsafe partial struct SVGPathSegMovetoAbs : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegMovetoAbs));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegMovetoRel.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegMovetoRel.cs
index 02722d97b8..b728c8032e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegMovetoRel.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPathSegMovetoRel.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105CD-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPathSegMovetoRel
+public unsafe partial struct SVGPathSegMovetoRel : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPathSegMovetoRel));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPatternElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPatternElement.cs
index 2e423b0ced..6716789813 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPatternElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPatternElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105D4-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPatternElement
+public unsafe partial struct SVGPatternElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPatternElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPoint.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPoint.cs
index 3abe2a5245..8803e3067b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPoint.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPoint.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105BA-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPoint
+public unsafe partial struct SVGPoint : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPoint));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPointList.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPointList.cs
index e08dcf84e7..a80fb4eaed 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPointList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPointList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105B9-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPointList
+public unsafe partial struct SVGPointList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPointList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPolygonElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPolygonElement.cs
index afaa1e2bd3..9cb5c9690a 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPolygonElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPolygonElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051057B-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPolygonElement
+public unsafe partial struct SVGPolygonElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPolygonElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPolylineElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPolylineElement.cs
index ed8768be5d..3dee0812f6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPolylineElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPolylineElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051057C-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPolylineElement
+public unsafe partial struct SVGPolylineElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPolylineElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGPreserveAspectRatio.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGPreserveAspectRatio.cs
index b67740b1c4..0c386026af 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGPreserveAspectRatio.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGPreserveAspectRatio.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105D0-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGPreserveAspectRatio
+public unsafe partial struct SVGPreserveAspectRatio : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGPreserveAspectRatio));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGRadialGradientElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGRadialGradientElement.cs
index 76c211b617..b698a201ee 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGRadialGradientElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGRadialGradientElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105D3-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGRadialGradientElement
+public unsafe partial struct SVGRadialGradientElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGRadialGradientElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGRect.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGRect.cs
index 925420300e..580d8237e2 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGRect.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGRect.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510583-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGRect
+public unsafe partial struct SVGRect : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGRect));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGRectElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGRectElement.cs
index 07ee0339a4..910dc8687b 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGRectElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGRectElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510577-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGRectElement
+public unsafe partial struct SVGRectElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGRectElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGSVGElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGSVGElement.cs
index cafc3287d9..44ffe4b170 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGSVGElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGSVGElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510574-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGSVGElement
+public unsafe partial struct SVGSVGElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGSVGElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGScriptElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGScriptElement.cs
index 16cf1f9a79..f88d649ce5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGScriptElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGScriptElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105E1-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGScriptElement
+public unsafe partial struct SVGScriptElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGScriptElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGStopElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGStopElement.cs
index 85fa78548c..c094cd8ad1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGStopElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGStopElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105D5-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGStopElement
+public unsafe partial struct SVGStopElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGStopElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGStringList.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGStringList.cs
index 75b1b3e3ac..a5d4fd0880 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGStringList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGStringList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051058D-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGStringList
+public unsafe partial struct SVGStringList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGStringList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGStyleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGStyleElement.cs
index c713bd036d..fb57143e2d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGStyleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGStyleElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105D1-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGStyleElement
+public unsafe partial struct SVGStyleElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGStyleElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGSwitchElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGSwitchElement.cs
index 2a7d8d3e73..9496d1e87e 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGSwitchElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGSwitchElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105D8-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGSwitchElement
+public unsafe partial struct SVGSwitchElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGSwitchElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGSymbolElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGSymbolElement.cs
index 0e38eb1a09..a6eb9cc52d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGSymbolElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGSymbolElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510571-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGSymbolElement
+public unsafe partial struct SVGSymbolElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGSymbolElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGTSpanElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGTSpanElement.cs
index 399343a57f..a034a7afab 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGTSpanElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGTSpanElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105E2-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGTSpanElement
+public unsafe partial struct SVGTSpanElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGTSpanElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGTextContentElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGTextContentElement.cs
index 6df5198e73..566e1a8ce6 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGTextContentElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGTextContentElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105DD-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGTextContentElement
+public unsafe partial struct SVGTextContentElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGTextContentElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGTextElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGTextElement.cs
index 293c3f7491..772ac3daaf 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGTextElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGTextElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105DF-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGTextElement
+public unsafe partial struct SVGTextElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGTextElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGTextPathElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGTextPathElement.cs
index f4988f5e29..417eb4e363 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGTextPathElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGTextPathElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105EB-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGTextPathElement
+public unsafe partial struct SVGTextPathElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGTextPathElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGTextPositioningElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGTextPositioningElement.cs
index 0427bda131..3ba2a58611 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGTextPositioningElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGTextPositioningElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105E0-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGTextPositioningElement
+public unsafe partial struct SVGTextPositioningElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGTextPositioningElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGTitleElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGTitleElement.cs
index 898714e05e..4d30522f51 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGTitleElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGTitleElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510573-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGTitleElement
+public unsafe partial struct SVGTitleElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGTitleElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGTransform.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGTransform.cs
index 50edbc5e45..2eeba7e56d 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGTransform.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGTransform.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105AF-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGTransform
+public unsafe partial struct SVGTransform : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGTransform));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGTransformList.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGTransformList.cs
index 8721664458..608d87b053 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGTransformList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGTransformList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105B0-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGTransformList
+public unsafe partial struct SVGTransformList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGTransformList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGUseElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGUseElement.cs
index bead4b2f8e..af623446e0 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGUseElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGUseElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510590-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGUseElement
+public unsafe partial struct SVGUseElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGUseElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGViewElement.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGViewElement.cs
index dfec852408..f5fb186296 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGViewElement.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGViewElement.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105DC-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGViewElement
+public unsafe partial struct SVGViewElement : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGViewElement));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/SVGZoomEvent.cs b/sources/Interop/Windows/Windows/um/MsHTML/SVGZoomEvent.cs
index a17251420f..dae90801e5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/SVGZoomEvent.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/SVGZoomEvent.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305105D9-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct SVGZoomEvent
+public unsafe partial struct SVGZoomEvent : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SVGZoomEvent));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/Scriptlet.cs b/sources/Interop/Windows/Windows/um/MsHTML/Scriptlet.cs
index fbbc9f80c8..8b62605c22 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/Scriptlet.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/Scriptlet.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("AE24FDAE-03C6-11D1-8B76-0080C744F389")]
-public partial struct Scriptlet
+public unsafe partial struct Scriptlet : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_Scriptlet));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/StaticNodeList.cs b/sources/Interop/Windows/Windows/um/MsHTML/StaticNodeList.cs
index 40e046e957..dea7118c74 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/StaticNodeList.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/StaticNodeList.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510467-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct StaticNodeList
+public unsafe partial struct StaticNodeList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_StaticNodeList));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/ThreadDialogProcParam.cs b/sources/Interop/Windows/Windows/um/MsHTML/ThreadDialogProcParam.cs
index 069ed06b4f..a5ae7e2cda 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/ThreadDialogProcParam.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/ThreadDialogProcParam.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3050F5EB-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct ThreadDialogProcParam
+public unsafe partial struct ThreadDialogProcParam : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ThreadDialogProcParam));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/TreeWalker.cs b/sources/Interop/Windows/Windows/um/MsHTML/TreeWalker.cs
index fdb7e2554a..e323801aec 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/TreeWalker.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/TreeWalker.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510747-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct TreeWalker
+public unsafe partial struct TreeWalker : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_TreeWalker));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/WebGeocoordinates.cs b/sources/Interop/Windows/Windows/um/MsHTML/WebGeocoordinates.cs
index 9c26781496..224ebc08ed 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/WebGeocoordinates.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/WebGeocoordinates.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305107C8-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct WebGeocoordinates
+public unsafe partial struct WebGeocoordinates : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WebGeocoordinates));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/WebGeolocation.cs b/sources/Interop/Windows/Windows/um/MsHTML/WebGeolocation.cs
index fd94c883e8..e439020663 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/WebGeolocation.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/WebGeolocation.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305107C6-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct WebGeolocation
+public unsafe partial struct WebGeolocation : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WebGeolocation));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/WebGeoposition.cs b/sources/Interop/Windows/Windows/um/MsHTML/WebGeoposition.cs
index c6cbfa38d2..f535f158c5 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/WebGeoposition.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/WebGeoposition.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305107CE-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct WebGeoposition
+public unsafe partial struct WebGeoposition : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WebGeoposition));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/WebGeopositionError.cs b/sources/Interop/Windows/Windows/um/MsHTML/WebGeopositionError.cs
index b102ac92e9..e49d1371d1 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/WebGeopositionError.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/WebGeopositionError.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("305107CA-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct WebGeopositionError
+public unsafe partial struct WebGeopositionError : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WebGeopositionError));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/XDomainRequest.cs b/sources/Interop/Windows/Windows/um/MsHTML/XDomainRequest.cs
index 62b2e699af..6dc5cc1480 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/XDomainRequest.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/XDomainRequest.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510455-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct XDomainRequest
+public unsafe partial struct XDomainRequest : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_XDomainRequest));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/XDomainRequestFactory.cs b/sources/Interop/Windows/Windows/um/MsHTML/XDomainRequestFactory.cs
index 072d17c96e..1562936f98 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/XDomainRequestFactory.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/XDomainRequestFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510457-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct XDomainRequestFactory
+public unsafe partial struct XDomainRequestFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_XDomainRequestFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/XMLHttpRequestEventTarget.cs b/sources/Interop/Windows/Windows/um/MsHTML/XMLHttpRequestEventTarget.cs
index 473f4d28fa..a499dfea3c 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/XMLHttpRequestEventTarget.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/XMLHttpRequestEventTarget.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("30510831-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct XMLHttpRequestEventTarget
+public unsafe partial struct XMLHttpRequestEventTarget : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_XMLHttpRequestEventTarget));
}
diff --git a/sources/Interop/Windows/Windows/um/MsHTML/XMLSerializer.cs b/sources/Interop/Windows/Windows/um/MsHTML/XMLSerializer.cs
index 07e955439d..27d81ee4aa 100644
--- a/sources/Interop/Windows/Windows/um/MsHTML/XMLSerializer.cs
+++ b/sources/Interop/Windows/Windows/um/MsHTML/XMLSerializer.cs
@@ -3,12 +3,16 @@
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3051077E-98B5-11CF-BB82-00AA00BDCE0B")]
-public partial struct XMLSerializer
+public unsafe partial struct XMLSerializer : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_XMLSerializer));
}
diff --git a/sources/Interop/Windows/Windows/um/NotificationActivationCallback/INotificationActivationCallback.cs b/sources/Interop/Windows/Windows/um/NotificationActivationCallback/INotificationActivationCallback.cs
index ef16519bbc..93ce33c3bf 100644
--- a/sources/Interop/Windows/Windows/um/NotificationActivationCallback/INotificationActivationCallback.cs
+++ b/sources/Interop/Windows/Windows/um/NotificationActivationCallback/INotificationActivationCallback.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct INotificationActivationCallback : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0")]
-public unsafe partial struct INotificationActivationCallback : INotificationActivationCallback.Interface
+public unsafe partial struct INotificationActivationCallback : INotificationActivationCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INotificationActivationCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ObjectArray/IObjectArray.cs b/sources/Interop/Windows/Windows/um/ObjectArray/IObjectArray.cs
index 174d029a22..107ca0dfb2 100644
--- a/sources/Interop/Windows/Windows/um/ObjectArray/IObjectArray.cs
+++ b/sources/Interop/Windows/Windows/um/ObjectArray/IObjectArray.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("92CA9DCD-5622-4BBA-A805-5E9F541BD8C9")]
[NativeTypeName("struct IObjectArray : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IObjectArray : IObjectArray.Interface
+public unsafe partial struct IObjectArray : IObjectArray.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IObjectArray));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ObjectArray/IObjectCollection.cs b/sources/Interop/Windows/Windows/um/ObjectArray/IObjectCollection.cs
index a9e7584f2e..5d1e0bbb86 100644
--- a/sources/Interop/Windows/Windows/um/ObjectArray/IObjectCollection.cs
+++ b/sources/Interop/Windows/Windows/um/ObjectArray/IObjectCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("5632B1A4-E38A-400A-928A-D4CD63230295")]
[NativeTypeName("struct IObjectCollection : IObjectArray")]
[NativeInheritance("IObjectArray")]
-public unsafe partial struct IObjectCollection : IObjectCollection.Interface
+public unsafe partial struct IObjectCollection : IObjectCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IObjectCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/PropIdlBase/IEnumSTATPROPSETSTG.cs b/sources/Interop/Windows/Windows/um/PropIdlBase/IEnumSTATPROPSETSTG.cs
index 1205dc8dc2..b99db14590 100644
--- a/sources/Interop/Windows/Windows/um/PropIdlBase/IEnumSTATPROPSETSTG.cs
+++ b/sources/Interop/Windows/Windows/um/PropIdlBase/IEnumSTATPROPSETSTG.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0000013B-0000-0000-C000-000000000046")]
[NativeTypeName("struct IEnumSTATPROPSETSTG : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumSTATPROPSETSTG : IEnumSTATPROPSETSTG.Interface
+public unsafe partial struct IEnumSTATPROPSETSTG : IEnumSTATPROPSETSTG.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumSTATPROPSETSTG));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/PropIdlBase/IEnumSTATPROPSTG.cs b/sources/Interop/Windows/Windows/um/PropIdlBase/IEnumSTATPROPSTG.cs
index fbc86caa7a..f4a3f2a6d4 100644
--- a/sources/Interop/Windows/Windows/um/PropIdlBase/IEnumSTATPROPSTG.cs
+++ b/sources/Interop/Windows/Windows/um/PropIdlBase/IEnumSTATPROPSTG.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("00000139-0000-0000-C000-000000000046")]
[NativeTypeName("struct IEnumSTATPROPSTG : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumSTATPROPSTG : IEnumSTATPROPSTG.Interface
+public unsafe partial struct IEnumSTATPROPSTG : IEnumSTATPROPSTG.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumSTATPROPSTG));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertySetStorage.cs b/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertySetStorage.cs
index 2f2a8393ae..0fe6d581bd 100644
--- a/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertySetStorage.cs
+++ b/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertySetStorage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0000013A-0000-0000-C000-000000000046")]
[NativeTypeName("struct IPropertySetStorage : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPropertySetStorage : IPropertySetStorage.Interface
+public unsafe partial struct IPropertySetStorage : IPropertySetStorage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPropertySetStorage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertyStorage.cs b/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertyStorage.cs
index 19ca3bfeba..d156e97168 100644
--- a/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertyStorage.cs
+++ b/sources/Interop/Windows/Windows/um/PropIdlBase/IPropertyStorage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("00000138-0000-0000-C000-000000000046")]
[NativeTypeName("struct IPropertyStorage : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPropertyStorage : IPropertyStorage.Interface
+public unsafe partial struct IPropertyStorage : IPropertyStorage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPropertyStorage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/PropIdlBase/PROPSPEC.cs b/sources/Interop/Windows/Windows/um/PropIdlBase/PROPSPEC.cs
index b777eeb592..dde3e1b338 100644
--- a/sources/Interop/Windows/Windows/um/PropIdlBase/PROPSPEC.cs
+++ b/sources/Interop/Windows/Windows/um/PropIdlBase/PROPSPEC.cs
@@ -3,6 +3,7 @@
// Ported from um/PropIdlBase.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -20,22 +21,24 @@ public unsafe partial struct PROPSPEC
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref uint propid
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.propid, 1));
+ return ref Anonymous.propid;
}
}
///
+ [UnscopedRef]
public ref ushort* lpwstr
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.lpwstr;
+ return ref Anonymous.lpwstr;
}
}
diff --git a/sources/Interop/Windows/Windows/um/PropIdlBase/PROPVARIANT.cs b/sources/Interop/Windows/Windows/um/PropIdlBase/PROPVARIANT.cs
index 24cf15dd48..df6af931bd 100644
--- a/sources/Interop/Windows/Windows/um/PropIdlBase/PROPVARIANT.cs
+++ b/sources/Interop/Windows/Windows/um/PropIdlBase/PROPVARIANT.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -17,782 +18,860 @@ public unsafe partial struct PROPVARIANT
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref ushort vt
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.vt, 1));
+ return ref Anonymous.Anonymous.vt;
}
}
///
+ [UnscopedRef]
public ref ushort wReserved1
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.wReserved1, 1));
+ return ref Anonymous.Anonymous.wReserved1;
}
}
///
+ [UnscopedRef]
public ref ushort wReserved2
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.wReserved2, 1));
+ return ref Anonymous.Anonymous.wReserved2;
}
}
///
+ [UnscopedRef]
public ref ushort wReserved3
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.wReserved3, 1));
+ return ref Anonymous.Anonymous.wReserved3;
}
}
///
+ [UnscopedRef]
public ref sbyte cVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.cVal;
}
}
///
+ [UnscopedRef]
public ref byte bVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.bVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.bVal;
}
}
///
+ [UnscopedRef]
public ref short iVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.iVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.iVal;
}
}
///
+ [UnscopedRef]
public ref ushort uiVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.uiVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.uiVal;
}
}
///
+ [UnscopedRef]
public ref int lVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.lVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.lVal;
}
}
///
+ [UnscopedRef]
public ref uint ulVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.ulVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.ulVal;
}
}
///
+ [UnscopedRef]
public ref int intVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.intVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.intVal;
}
}
///
+ [UnscopedRef]
public ref uint uintVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.uintVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.uintVal;
}
}
///
+ [UnscopedRef]
public ref LARGE_INTEGER hVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.hVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.hVal;
}
}
///
+ [UnscopedRef]
public ref ULARGE_INTEGER uhVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.uhVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.uhVal;
}
}
///
+ [UnscopedRef]
public ref float fltVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.fltVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.fltVal;
}
}
///
+ [UnscopedRef]
public ref double dblVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.dblVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.dblVal;
}
}
///
+ [UnscopedRef]
public ref short boolVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.boolVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.boolVal;
}
}
///
+ [UnscopedRef]
public ref short __OBSOLETE__VARIANT_BOOL
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.__OBSOLETE__VARIANT_BOOL, 1));
+ return ref Anonymous.Anonymous.Anonymous.__OBSOLETE__VARIANT_BOOL;
}
}
///
+ [UnscopedRef]
public ref int scode
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.scode, 1));
+ return ref Anonymous.Anonymous.Anonymous.scode;
}
}
///
+ [UnscopedRef]
public ref CY cyVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cyVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.cyVal;
}
}
///
+ [UnscopedRef]
public ref double date
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.date, 1));
+ return ref Anonymous.Anonymous.Anonymous.date;
}
}
///
+ [UnscopedRef]
public ref FILETIME filetime
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.filetime, 1));
+ return ref Anonymous.Anonymous.Anonymous.filetime;
}
}
///
+ [UnscopedRef]
public ref Guid* puuid
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.puuid;
+ return ref Anonymous.Anonymous.Anonymous.puuid;
}
}
///
+ [UnscopedRef]
public ref CLIPDATA* pclipdata
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pclipdata;
+ return ref Anonymous.Anonymous.Anonymous.pclipdata;
}
}
///
+ [UnscopedRef]
public ref ushort* bstrVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.bstrVal;
+ return ref Anonymous.Anonymous.Anonymous.bstrVal;
}
}
///
+ [UnscopedRef]
public ref BSTRBLOB bstrblobVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.bstrblobVal, 1));
+ return ref Anonymous.Anonymous.Anonymous.bstrblobVal;
}
}
///
+ [UnscopedRef]
public ref BLOB blob
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.blob, 1));
+ return ref Anonymous.Anonymous.Anonymous.blob;
}
}
///
+ [UnscopedRef]
public ref sbyte* pszVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pszVal;
+ return ref Anonymous.Anonymous.Anonymous.pszVal;
}
}
///
+ [UnscopedRef]
public ref ushort* pwszVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pwszVal;
+ return ref Anonymous.Anonymous.Anonymous.pwszVal;
}
}
///
+ [UnscopedRef]
public ref IUnknown* punkVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.punkVal;
+ return ref Anonymous.Anonymous.Anonymous.punkVal;
}
}
///
+ [UnscopedRef]
public ref IDispatch* pdispVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pdispVal;
+ return ref Anonymous.Anonymous.Anonymous.pdispVal;
}
}
///
+ [UnscopedRef]
public ref IStream* pStream
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pStream;
+ return ref Anonymous.Anonymous.Anonymous.pStream;
}
}
///
+ [UnscopedRef]
public ref IStorage* pStorage
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pStorage;
+ return ref Anonymous.Anonymous.Anonymous.pStorage;
}
}
///
+ [UnscopedRef]
public ref VERSIONEDSTREAM* pVersionedStream
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pVersionedStream;
+ return ref Anonymous.Anonymous.Anonymous.pVersionedStream;
}
}
///
+ [UnscopedRef]
public ref SAFEARRAY* parray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.parray;
+ return ref Anonymous.Anonymous.Anonymous.parray;
}
}
///
+ [UnscopedRef]
public ref CAC cac
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cac, 1));
+ return ref Anonymous.Anonymous.Anonymous.cac;
}
}
///
+ [UnscopedRef]
public ref CAUB caub
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.caub, 1));
+ return ref Anonymous.Anonymous.Anonymous.caub;
}
}
///
+ [UnscopedRef]
public ref CAI cai
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cai, 1));
+ return ref Anonymous.Anonymous.Anonymous.cai;
}
}
///
+ [UnscopedRef]
public ref CAUI caui
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.caui, 1));
+ return ref Anonymous.Anonymous.Anonymous.caui;
}
}
///
+ [UnscopedRef]
public ref CAL cal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cal, 1));
+ return ref Anonymous.Anonymous.Anonymous.cal;
}
}
///
+ [UnscopedRef]
public ref CAUL caul
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.caul, 1));
+ return ref Anonymous.Anonymous.Anonymous.caul;
}
}
///
+ [UnscopedRef]
public ref CAH cah
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cah, 1));
+ return ref Anonymous.Anonymous.Anonymous.cah;
}
}
///
+ [UnscopedRef]
public ref CAUH cauh
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cauh, 1));
+ return ref Anonymous.Anonymous.Anonymous.cauh;
}
}
///
+ [UnscopedRef]
public ref CAFLT caflt
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.caflt, 1));
+ return ref Anonymous.Anonymous.Anonymous.caflt;
}
}
///
+ [UnscopedRef]
public ref CADBL cadbl
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cadbl, 1));
+ return ref Anonymous.Anonymous.Anonymous.cadbl;
}
}
///
+ [UnscopedRef]
public ref CABOOL cabool
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cabool, 1));
+ return ref Anonymous.Anonymous.Anonymous.cabool;
}
}
///
+ [UnscopedRef]
public ref CASCODE cascode
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cascode, 1));
+ return ref Anonymous.Anonymous.Anonymous.cascode;
}
}
///
+ [UnscopedRef]
public ref CACY cacy
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cacy, 1));
+ return ref Anonymous.Anonymous.Anonymous.cacy;
}
}
///
+ [UnscopedRef]
public ref CADATE cadate
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cadate, 1));
+ return ref Anonymous.Anonymous.Anonymous.cadate;
}
}
///
+ [UnscopedRef]
public ref CAFILETIME cafiletime
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cafiletime, 1));
+ return ref Anonymous.Anonymous.Anonymous.cafiletime;
}
}
///
+ [UnscopedRef]
public ref CACLSID cauuid
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cauuid, 1));
+ return ref Anonymous.Anonymous.Anonymous.cauuid;
}
}
///
+ [UnscopedRef]
public ref CACLIPDATA caclipdata
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.caclipdata, 1));
+ return ref Anonymous.Anonymous.Anonymous.caclipdata;
}
}
///
+ [UnscopedRef]
public ref CABSTR cabstr
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cabstr, 1));
+ return ref Anonymous.Anonymous.Anonymous.cabstr;
}
}
///
+ [UnscopedRef]
public ref CABSTRBLOB cabstrblob
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.cabstrblob, 1));
+ return ref Anonymous.Anonymous.Anonymous.cabstrblob;
}
}
///
+ [UnscopedRef]
public ref CALPSTR calpstr
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.calpstr, 1));
+ return ref Anonymous.Anonymous.Anonymous.calpstr;
}
}
///
+ [UnscopedRef]
public ref CALPWSTR calpwstr
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.calpwstr, 1));
+ return ref Anonymous.Anonymous.Anonymous.calpwstr;
}
}
///
+ [UnscopedRef]
public ref CAPROPVARIANT capropvar
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Anonymous.Anonymous.capropvar, 1));
+ return ref Anonymous.Anonymous.Anonymous.capropvar;
}
}
///
+ [UnscopedRef]
public ref sbyte* pcVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pcVal;
+ return ref Anonymous.Anonymous.Anonymous.pcVal;
}
}
///
+ [UnscopedRef]
public ref byte* pbVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pbVal;
+ return ref Anonymous.Anonymous.Anonymous.pbVal;
}
}
///
+ [UnscopedRef]
public ref short* piVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.piVal;
+ return ref Anonymous.Anonymous.Anonymous.piVal;
}
}
///
+ [UnscopedRef]
public ref ushort* puiVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.puiVal;
+ return ref Anonymous.Anonymous.Anonymous.puiVal;
}
}
///
+ [UnscopedRef]
public ref int* plVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.plVal;
+ return ref Anonymous.Anonymous.Anonymous.plVal;
}
}
///
+ [UnscopedRef]
public ref uint* pulVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pulVal;
+ return ref Anonymous.Anonymous.Anonymous.pulVal;
}
}
///
+ [UnscopedRef]
public ref int* pintVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pintVal;
+ return ref Anonymous.Anonymous.Anonymous.pintVal;
}
}
///
+ [UnscopedRef]
public ref uint* puintVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.puintVal;
+ return ref Anonymous.Anonymous.Anonymous.puintVal;
}
}
///
+ [UnscopedRef]
public ref float* pfltVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pfltVal;
+ return ref Anonymous.Anonymous.Anonymous.pfltVal;
}
}
///
+ [UnscopedRef]
public ref double* pdblVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pdblVal;
+ return ref Anonymous.Anonymous.Anonymous.pdblVal;
}
}
///
+ [UnscopedRef]
public ref short* pboolVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pboolVal;
+ return ref Anonymous.Anonymous.Anonymous.pboolVal;
}
}
///
+ [UnscopedRef]
public ref DECIMAL* pdecVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pdecVal;
+ return ref Anonymous.Anonymous.Anonymous.pdecVal;
}
}
///
+ [UnscopedRef]
public ref int* pscode
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pscode;
+ return ref Anonymous.Anonymous.Anonymous.pscode;
}
}
///
+ [UnscopedRef]
public ref CY* pcyVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pcyVal;
+ return ref Anonymous.Anonymous.Anonymous.pcyVal;
}
}
///
+ [UnscopedRef]
public ref double* pdate
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pdate;
+ return ref Anonymous.Anonymous.Anonymous.pdate;
}
}
///
+ [UnscopedRef]
public ref ushort** pbstrVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pbstrVal;
+ return ref Anonymous.Anonymous.Anonymous.pbstrVal;
}
}
///
+ [UnscopedRef]
public ref IUnknown** ppunkVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.ppunkVal;
+ return ref Anonymous.Anonymous.Anonymous.ppunkVal;
}
}
///
+ [UnscopedRef]
public ref IDispatch** ppdispVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.ppdispVal;
+ return ref Anonymous.Anonymous.Anonymous.ppdispVal;
}
}
///
+ [UnscopedRef]
public ref SAFEARRAY** pparray
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pparray;
+ return ref Anonymous.Anonymous.Anonymous.pparray;
}
}
///
+ [UnscopedRef]
public ref PROPVARIANT* pvarVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.Anonymous.Anonymous.pvarVal;
+ return ref Anonymous.Anonymous.Anonymous.pvarVal;
}
}
///
+ [UnscopedRef]
public ref DECIMAL decVal
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.decVal, 1));
+ return ref Anonymous.decVal;
}
}
diff --git a/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_EX_BLOCK.cs b/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_EX_BLOCK.cs
index 492eac0026..2f74b6c523 100644
--- a/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_EX_BLOCK.cs
+++ b/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_EX_BLOCK.cs
@@ -3,6 +3,7 @@
// Ported from um/Psapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -183,12 +184,13 @@ public nuint ReservedUlong
}
///
+ [UnscopedRef]
public ref _Anonymous_e__Union._Invalid_e__Struct Invalid
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Invalid, 1));
+ return ref Anonymous.Invalid;
}
}
diff --git a/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_INFORMATION.cs b/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_INFORMATION.cs
index df5eb86807..1af57cd1ca 100644
--- a/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_INFORMATION.cs
+++ b/sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_INFORMATION.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -25,6 +26,7 @@ public partial struct _WorkingSetInfo_e__FixedBuffer
{
public PSAPI_WORKING_SET_BLOCK e0;
+ [UnscopedRef]
public ref PSAPI_WORKING_SET_BLOCK this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -35,6 +37,7 @@ public ref PSAPI_WORKING_SET_BLOCK this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/um/RestartManager/RM_FILTER_INFO.cs b/sources/Interop/Windows/Windows/um/RestartManager/RM_FILTER_INFO.cs
index fca9c678ad..f492c7f0f1 100644
--- a/sources/Interop/Windows/Windows/um/RestartManager/RM_FILTER_INFO.cs
+++ b/sources/Interop/Windows/Windows/um/RestartManager/RM_FILTER_INFO.cs
@@ -3,6 +3,7 @@
// Ported from um/RestartManager.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -26,32 +27,35 @@ public unsafe partial struct RM_FILTER_INFO
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref ushort* strFilename
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.strFilename;
+ return ref Anonymous.strFilename;
}
}
///
+ [UnscopedRef]
public ref RM_UNIQUE_PROCESS Process
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Process, 1));
+ return ref Anonymous.Process;
}
}
///
+ [UnscopedRef]
public ref ushort* strServiceShortName
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.strServiceShortName;
+ return ref Anonymous.strServiceShortName;
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/CABINET_INFO_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/CABINET_INFO_A.Manual.cs
index 6b333db38c..86b451d269 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/CABINET_INFO_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/CABINET_INFO_A.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,81 +34,91 @@ public static uint SizeOf
public CABINET_INFO64_A _value64;
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* CabinetPath
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).CabinetPath;
+ return ref _value32.CabinetPath;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).CabinetPath;
+ return ref _value64.CabinetPath;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* CabinetFile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).CabinetFile;
+ return ref _value32.CabinetFile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).CabinetFile;
+ return ref _value64.CabinetFile;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* DiskName
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).DiskName;
+ return ref _value32.DiskName;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).DiskName;
+ return ref _value64.DiskName;
}
}
}
[NativeTypeName("USHORT")]
+ [UnscopedRef]
public ref ushort SetId
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.SetId, 1));
+ return ref _value32.SetId;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.SetId, 1));
+ return ref _value64.SetId;
}
}
}
[NativeTypeName("USHORT")]
+ [UnscopedRef]
public ref ushort CabinetNumber
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.CabinetNumber, 1));
+ return ref _value32.CabinetNumber;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.CabinetNumber, 1));
+ return ref _value64.CabinetNumber;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/CABINET_INFO_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/CABINET_INFO_W.Manual.cs
index ec9c6f886e..c00b70d2bb 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/CABINET_INFO_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/CABINET_INFO_W.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,81 +34,91 @@ public static uint SizeOf
public CABINET_INFO64_W _value64;
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* CabinetPath
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).CabinetPath;
+ return ref _value32.CabinetPath;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).CabinetPath;
+ return ref _value64.CabinetPath;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* CabinetFile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).CabinetFile;
+ return ref _value32.CabinetFile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).CabinetFile;
+ return ref _value64.CabinetFile;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* DiskName
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).DiskName;
+ return ref _value32.DiskName;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).DiskName;
+ return ref _value64.DiskName;
}
}
}
[NativeTypeName("USHORT")]
+ [UnscopedRef]
public ref ushort SetId
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.SetId, 1));
+ return ref _value32.SetId;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.SetId, 1));
+ return ref _value64.SetId;
}
}
}
[NativeTypeName("USHORT")]
+ [UnscopedRef]
public ref ushort CabinetNumber
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.CabinetNumber, 1));
+ return ref _value32.CabinetNumber;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.CabinetNumber, 1));
+ return ref _value64.CabinetNumber;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/COINSTALLER_CONTEXT_DATA.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/COINSTALLER_CONTEXT_DATA.Manual.cs
index f054622db1..72b3f5d82f 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/COINSTALLER_CONTEXT_DATA.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/COINSTALLER_CONTEXT_DATA.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -31,49 +33,55 @@ public static uint SizeOf
[FieldOffset(0)]
public COINSTALLER_CONTEXT_DATA64 _value64;
+ [UnscopedRef]
public ref BOOL PostProcessing
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.PostProcessing, 1));
+ return ref _value32.PostProcessing;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.PostProcessing, 1));
+ return ref _value64.PostProcessing;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint InstallResult
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.InstallResult, 1));
+ return ref _value32.InstallResult;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.InstallResult, 1));
+ return ref _value64.InstallResult;
}
}
}
[NativeTypeName("PVOID")]
+ [UnscopedRef]
public ref void* PrivateData
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).PrivateData;
+ return ref _value32.PrivateData;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).PrivateData;
+ return ref _value64.PrivateData;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_A.Manual.cs
index 3ad884757e..ab53ca0bdc 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_A.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,64 +34,72 @@ public static uint SizeOf
public FILEPATHS64_A _value64;
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* Target
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Target;
+ return ref _value32.Target;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Target;
+ return ref _value64.Target;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* Source
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Source;
+ return ref _value32.Source;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Source;
+ return ref _value64.Source;
}
}
}
+ [UnscopedRef]
public ref uint Win32Error
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Win32Error, 1));
+ return ref _value32.Win32Error;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Win32Error, 1));
+ return ref _value64.Win32Error;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_SIGNERINFO_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_SIGNERINFO_A.Manual.cs
index 2b357cd49e..fd76d01e01 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_SIGNERINFO_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_SIGNERINFO_A.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,112 +34,126 @@ public static uint SizeOf
public FILEPATHS_SIGNERINFO64_A _value64;
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* Target
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Target;
+ return ref _value32.Target;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Target;
+ return ref _value64.Target;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* Source
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Source;
+ return ref _value32.Source;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Source;
+ return ref _value64.Source;
}
}
}
+ [UnscopedRef]
public ref uint Win32Error
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Win32Error, 1));
+ return ref _value32.Win32Error;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Win32Error, 1));
+ return ref _value64.Win32Error;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* DigitalSigner
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).DigitalSigner;
+ return ref _value32.DigitalSigner;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).DigitalSigner;
+ return ref _value64.DigitalSigner;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* Version
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Version;
+ return ref _value32.Version;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Version;
+ return ref _value64.Version;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* CatalogFile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).CatalogFile;
+ return ref _value32.CatalogFile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).CatalogFile;
+ return ref _value64.CatalogFile;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_SIGNERINFO_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_SIGNERINFO_W.Manual.cs
index fe4f68fbff..2c4fd7531b 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_SIGNERINFO_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_SIGNERINFO_W.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,112 +34,126 @@ public static uint SizeOf
public FILEPATHS_SIGNERINFO64_W _value64;
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* Target
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Target;
+ return ref _value32.Target;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Target;
+ return ref _value64.Target;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* Source
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Source;
+ return ref _value32.Source;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Source;
+ return ref _value64.Source;
}
}
}
+ [UnscopedRef]
public ref uint Win32Error
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Win32Error, 1));
+ return ref _value32.Win32Error;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Win32Error, 1));
+ return ref _value64.Win32Error;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* DigitalSigner
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).DigitalSigner;
+ return ref _value32.DigitalSigner;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).DigitalSigner;
+ return ref _value64.DigitalSigner;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* Version
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Version;
+ return ref _value32.Version;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Version;
+ return ref _value64.Version;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* CatalogFile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).CatalogFile;
+ return ref _value32.CatalogFile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).CatalogFile;
+ return ref _value64.CatalogFile;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_W.Manual.cs
index 5a21822428..6477f2fb0b 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/FILEPATHS_W.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,64 +34,72 @@ public static uint SizeOf
public FILEPATHS64_W _value64;
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* Target
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Target;
+ return ref _value32.Target;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Target;
+ return ref _value64.Target;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* Source
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Source;
+ return ref _value32.Source;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Source;
+ return ref _value64.Source;
}
}
}
+ [UnscopedRef]
public ref uint Win32Error
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Win32Error, 1));
+ return ref _value32.Win32Error;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Win32Error, 1));
+ return ref _value64.Win32Error;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_A.Manual.cs
index 7c8f234c34..704db29862 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,97 +35,109 @@ public static uint SizeOf
public FILE_IN_CABINET_INFO64_A _value64;
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* NameInCabinet
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).NameInCabinet;
+ return ref _value32.NameInCabinet;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).NameInCabinet;
+ return ref _value64.NameInCabinet;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint FileSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FileSize, 1));
+ return ref _value32.FileSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FileSize, 1));
+ return ref _value64.FileSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Win32Error
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Win32Error, 1));
+ return ref _value32.Win32Error;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Win32Error, 1));
+ return ref _value64.Win32Error;
}
}
}
[NativeTypeName("WORD")]
+ [UnscopedRef]
public ref ushort DosDate
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DosDate, 1));
+ return ref _value32.DosDate;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DosDate, 1));
+ return ref _value64.DosDate;
}
}
}
[NativeTypeName("WORD")]
+ [UnscopedRef]
public ref ushort DosTime
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DosTime, 1));
+ return ref _value32.DosTime;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DosTime, 1));
+ return ref _value64.DosTime;
}
}
}
[NativeTypeName("WORD")]
+ [UnscopedRef]
public ref ushort DosAttribs
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DosAttribs, 1));
+ return ref _value32.DosAttribs;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DosAttribs, 1));
+ return ref _value64.DosAttribs;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_W.Manual.cs
index d3fe560295..4ac3698dc2 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/FILE_IN_CABINET_INFO_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,97 +35,109 @@ public static uint SizeOf
public FILE_IN_CABINET_INFO64_W _value64;
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* NameInCabinet
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).NameInCabinet;
+ return ref _value32.NameInCabinet;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).NameInCabinet;
+ return ref _value64.NameInCabinet;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint FileSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FileSize, 1));
+ return ref _value32.FileSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FileSize, 1));
+ return ref _value64.FileSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Win32Error
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Win32Error, 1));
+ return ref _value32.Win32Error;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Win32Error, 1));
+ return ref _value64.Win32Error;
}
}
}
[NativeTypeName("WORD")]
+ [UnscopedRef]
public ref ushort DosDate
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DosDate, 1));
+ return ref _value32.DosDate;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DosDate, 1));
+ return ref _value64.DosDate;
}
}
}
[NativeTypeName("WORD")]
+ [UnscopedRef]
public ref ushort DosTime
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DosTime, 1));
+ return ref _value32.DosTime;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DosTime, 1));
+ return ref _value64.DosTime;
}
}
}
[NativeTypeName("WORD")]
+ [UnscopedRef]
public ref ushort DosAttribs
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DosAttribs, 1));
+ return ref _value32.DosAttribs;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DosAttribs, 1));
+ return ref _value64.DosAttribs;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/INFCONTEXT.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/INFCONTEXT.Manual.cs
index 01260e7ea9..c3d048177c 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/INFCONTEXT.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/INFCONTEXT.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,63 +34,71 @@ public static uint SizeOf
public INFCONTEXT64 _value64;
[NativeTypeName("PVOID")]
+ [UnscopedRef]
public ref void* Inf
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Inf;
+ return ref _value32.Inf;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Inf;
+ return ref _value64.Inf;
}
}
}
[NativeTypeName("PVOID")]
+ [UnscopedRef]
public ref void* CurrentInf
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).CurrentInf;
+ return ref _value32.CurrentInf;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).CurrentInf;
+ return ref _value64.CurrentInf;
}
}
}
+ [UnscopedRef]
public ref uint Section
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Section, 1));
+ return ref _value32.Section;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Section, 1));
+ return ref _value64.Section;
}
}
}
+ [UnscopedRef]
public ref uint Line
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Line, 1));
+ return ref _value32.Line;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Line, 1));
+ return ref _value64.Line;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SOURCE_MEDIA_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SOURCE_MEDIA_A.Manual.cs
index 67976871a6..9f31834531 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SOURCE_MEDIA_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SOURCE_MEDIA_A.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,97 +34,109 @@ public static uint SizeOf
public SOURCE_MEDIA64_A _value64;
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Reserved;
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Reserved;
+ return ref _value64.Reserved;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* Tagfile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Tagfile;
+ return ref _value32.Tagfile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Tagfile;
+ return ref _value64.Tagfile;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* Description
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Description;
+ return ref _value32.Description;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Description;
+ return ref _value64.Description;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* SourcePath
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourcePath;
+ return ref _value32.SourcePath;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourcePath;
+ return ref _value64.SourcePath;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* SourceFile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourceFile;
+ return ref _value32.SourceFile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourceFile;
+ return ref _value64.SourceFile;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SOURCE_MEDIA_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SOURCE_MEDIA_W.Manual.cs
index 6655c1aa0f..407c4b0532 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SOURCE_MEDIA_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SOURCE_MEDIA_W.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,97 +34,109 @@ public static uint SizeOf
public SOURCE_MEDIA64_W _value64;
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Reserved;
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Reserved;
+ return ref _value64.Reserved;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* Tagfile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Tagfile;
+ return ref _value32.Tagfile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Tagfile;
+ return ref _value64.Tagfile;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* Description
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).Description;
+ return ref _value32.Description;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).Description;
+ return ref _value64.Description;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* SourcePath
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourcePath;
+ return ref _value32.SourcePath;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourcePath;
+ return ref _value64.SourcePath;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* SourceFile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourceFile;
+ return ref _value32.SourceFile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourceFile;
+ return ref _value64.SourceFile;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO32_V2.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO32_V2.Manual.cs
index 236776531c..0eb7663164 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO32_V2.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO32_V2.Manual.cs
@@ -3,6 +3,7 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -35,21 +36,23 @@ public partial struct SP_ALTPLATFORM_INFO32_V2
[NativeTypeName("DWORD")]
public uint FirstValidatedMinorVersion;
+ [UnscopedRef]
public ref ushort Reserved
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Reserved, 1));
+ return ref Anonymous.Reserved;
}
}
+ [UnscopedRef]
public ref ushort Flags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Flags, 1));
+ return ref Anonymous.Flags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO32_V3.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO32_V3.Manual.cs
index f6378cdbbb..b240a47702 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO32_V3.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO32_V3.Manual.cs
@@ -3,6 +3,7 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -43,21 +44,23 @@ public partial struct SP_ALTPLATFORM_INFO32_V3
[NativeTypeName("DWORD")]
public uint BuildNumber;
+ [UnscopedRef]
public ref ushort Reserved
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Reserved, 1));
+ return ref Anonymous.Reserved;
}
}
+ [UnscopedRef]
public ref ushort Flags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Flags, 1));
+ return ref Anonymous.Flags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO64_V2.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO64_V2.Manual.cs
index 45ef31c95d..83813eb7ef 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO64_V2.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO64_V2.Manual.cs
@@ -3,6 +3,7 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -34,21 +35,23 @@ public partial struct SP_ALTPLATFORM_INFO64_V2
[NativeTypeName("DWORD")]
public uint FirstValidatedMinorVersion;
+ [UnscopedRef]
public ref ushort Reserved
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Reserved, 1));
+ return ref Anonymous.Reserved;
}
}
+ [UnscopedRef]
public ref ushort Flags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Flags, 1));
+ return ref Anonymous.Flags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO64_V3.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO64_V3.Manual.cs
index c3c240163e..801e3e3b71 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO64_V3.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO64_V3.Manual.cs
@@ -3,6 +3,7 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -42,21 +43,23 @@ public partial struct SP_ALTPLATFORM_INFO64_V3
[NativeTypeName("DWORD")]
public uint BuildNumber;
+ [UnscopedRef]
public ref ushort Reserved
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Reserved, 1));
+ return ref Anonymous.Reserved;
}
}
+ [UnscopedRef]
public ref ushort Flags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Flags, 1));
+ return ref Anonymous.Flags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V1.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V1.Manual.cs
index 7c084e83aa..36fa2c51b0 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V1.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V1.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,97 +34,109 @@ public static uint SizeOf
public SP_ALTPLATFORM_INFO64_V1 _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Platform
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Platform, 1));
+ return ref _value32.Platform;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Platform, 1));
+ return ref _value64.Platform;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint MajorVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.MajorVersion, 1));
+ return ref _value32.MajorVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.MajorVersion, 1));
+ return ref _value64.MajorVersion;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint MinorVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.MinorVersion, 1));
+ return ref _value32.MinorVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.MinorVersion, 1));
+ return ref _value64.MinorVersion;
}
}
}
[NativeTypeName("WORD")]
+ [UnscopedRef]
public ref ushort ProcessorArchitecture
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.ProcessorArchitecture, 1));
+ return ref _value32.ProcessorArchitecture;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.ProcessorArchitecture, 1));
+ return ref _value64.ProcessorArchitecture;
}
}
}
[NativeTypeName("WORD")]
+ [UnscopedRef]
public ref ushort Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V2.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V2.Manual.cs
index d06be6f737..07cfae7d05 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V2.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V2.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,119 +34,135 @@ public static uint SizeOf
public SP_ALTPLATFORM_INFO64_V2 _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Platform
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Platform, 1));
+ return ref _value32.Platform;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Platform, 1));
+ return ref _value64.Platform;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint MajorVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.MajorVersion, 1));
+ return ref _value32.MajorVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.MajorVersion, 1));
+ return ref _value64.MajorVersion;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint MinorVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.MinorVersion, 1));
+ return ref _value32.MinorVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.MinorVersion, 1));
+ return ref _value64.MinorVersion;
}
}
}
[NativeTypeName("WORD")]
+ [UnscopedRef]
public ref ushort ProcessorArchitecture
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.ProcessorArchitecture, 1));
+ return ref _value32.ProcessorArchitecture;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.ProcessorArchitecture, 1));
+ return ref _value64.ProcessorArchitecture;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint FirstValidatedMajorVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FirstValidatedMajorVersion, 1));
+ return ref _value32.FirstValidatedMajorVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FirstValidatedMajorVersion, 1));
+ return ref _value64.FirstValidatedMajorVersion;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint FirstValidatedMinorVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FirstValidatedMinorVersion, 1));
+ return ref _value32.FirstValidatedMinorVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FirstValidatedMinorVersion, 1));
+ return ref _value64.FirstValidatedMinorVersion;
}
}
}
+ [UnscopedRef]
public ref ushort Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
@@ -158,8 +176,10 @@ public ref ushort Reserved
}
}
+ [UnscopedRef]
public ref ushort Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
@@ -172,5 +192,4 @@ public ref ushort Flags
}
}
}
-
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V3.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V3.Manual.cs
index 20a7f68996..30f30e5952 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V3.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ALTPLATFORM_INFO_V3.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,166 +34,188 @@ public static uint SizeOf
public SP_ALTPLATFORM_INFO64_V3 _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Platform
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Platform, 1));
+ return ref _value32.Platform;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Platform, 1));
+ return ref _value64.Platform;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint MajorVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.MajorVersion, 1));
+ return ref _value32.MajorVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.MajorVersion, 1));
+ return ref _value64.MajorVersion;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint MinorVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.MinorVersion, 1));
+ return ref _value32.MinorVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.MinorVersion, 1));
+ return ref _value64.MinorVersion;
}
}
}
[NativeTypeName("WORD")]
+ [UnscopedRef]
public ref ushort ProcessorArchitecture
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.ProcessorArchitecture, 1));
+ return ref _value32.ProcessorArchitecture;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.ProcessorArchitecture, 1));
+ return ref _value64.ProcessorArchitecture;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint FirstValidatedMajorVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FirstValidatedMajorVersion, 1));
+ return ref _value32.FirstValidatedMajorVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FirstValidatedMajorVersion, 1));
+ return ref _value64.FirstValidatedMajorVersion;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint FirstValidatedMinorVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FirstValidatedMinorVersion, 1));
+ return ref _value32.FirstValidatedMinorVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FirstValidatedMinorVersion, 1));
+ return ref _value64.FirstValidatedMinorVersion;
}
}
}
+ [UnscopedRef]
public ref byte ProductType
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.ProductType, 1));
+ return ref _value32.ProductType;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.ProductType, 1));
+ return ref _value64.ProductType;
}
}
}
[NativeTypeName("WORD")]
+ [UnscopedRef]
public ref ushort SuiteMask
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.SuiteMask, 1));
+ return ref _value32.SuiteMask;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.SuiteMask, 1));
+ return ref _value64.SuiteMask;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint BuildNumber
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.BuildNumber, 1));
+ return ref _value32.BuildNumber;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.BuildNumber, 1));
+ return ref _value64.BuildNumber;
}
}
}
+ [UnscopedRef]
public ref ushort Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
@@ -205,8 +229,10 @@ public ref ushort Reserved
}
}
+ [UnscopedRef]
public ref ushort Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
@@ -219,5 +245,4 @@ public ref ushort Flags
}
}
}
-
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_A.Manual.cs
index dc8dd9fa0b..3d78fe8d47 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,17 +35,19 @@ public static uint SizeOf
public SP_BACKUP_QUEUE_PARAMS64_V1_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
@@ -64,17 +68,19 @@ public Span FullInfPath
}
}
+ [UnscopedRef]
public ref int FilenameOffset
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FilenameOffset, 1));
+ return ref _value32.FilenameOffset;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FilenameOffset, 1));
+ return ref _value64.FilenameOffset;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_W.Manual.cs
index a716391657..dfd9a1f93f 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V1_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,17 +35,19 @@ public static uint SizeOf
public SP_BACKUP_QUEUE_PARAMS64_V1_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
@@ -64,17 +68,19 @@ public Span FullInfPath
}
}
+ [UnscopedRef]
public ref int FilenameOffset
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FilenameOffset, 1));
+ return ref _value32.FilenameOffset;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FilenameOffset, 1));
+ return ref _value64.FilenameOffset;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_A.Manual.cs
index 84670fcaf5..281410687d 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,24 +35,28 @@ public static uint SizeOf
public SP_BACKUP_QUEUE_PARAMS64_V2_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("CHAR [260]")]
+ [UnscopedRef]
public Span FullInfPath
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
@@ -64,24 +70,28 @@ public Span FullInfPath
}
}
+ [UnscopedRef]
public ref int FilenameOffset
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FilenameOffset, 1));
+ return ref _value32.FilenameOffset;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FilenameOffset, 1));
+ return ref _value64.FilenameOffset;
}
}
}
[NativeTypeName("CHAR [260]")]
+ [UnscopedRef]
public Span ReinstallInstance
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_W.Manual.cs
index 30e2ef61da..20ca582772 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_BACKUP_QUEUE_PARAMS_V2_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,24 +35,28 @@ public static uint SizeOf
public SP_BACKUP_QUEUE_PARAMS64_V2_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("WCHAR [260]")]
+ [UnscopedRef]
public Span FullInfPath
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
@@ -64,24 +70,28 @@ public Span FullInfPath
}
}
+ [UnscopedRef]
public ref int FilenameOffset
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FilenameOffset, 1));
+ return ref _value32.FilenameOffset;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FilenameOffset, 1));
+ return ref _value64.FilenameOffset;
}
}
}
[NativeTypeName("WCHAR [260]")]
+ [UnscopedRef]
public Span ReinstallInstance
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_CLASSIMAGELIST_DATA.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_CLASSIMAGELIST_DATA.Manual.cs
index f6abf50775..15baaa0782 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_CLASSIMAGELIST_DATA.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_CLASSIMAGELIST_DATA.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,48 +34,54 @@ public static uint SizeOf
public SP_CLASSIMAGELIST_DATA64 _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
+ [UnscopedRef]
public ref HIMAGELIST ImageList
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.ImageList, 1));
+ return ref _value32.ImageList;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.ImageList, 1));
+ return ref _value64.ImageList;
}
}
}
[NativeTypeName("ULONG_PTR")]
+ [UnscopedRef]
public ref nuint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_CLASSINSTALL_HEADER.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_CLASSINSTALL_HEADER.Manual.cs
index 6a4ffb58cb..d4045df323 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_CLASSINSTALL_HEADER.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_CLASSINSTALL_HEADER.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,33 +34,37 @@ public static uint SizeOf
public SP_CLASSINSTALL_HEADER64 _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DI_FUNCTION")]
+ [UnscopedRef]
public ref uint InstallFunction
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.InstallFunction, 1));
+ return ref _value32.InstallFunction;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.InstallFunction, 1));
+ return ref _value64.InstallFunction;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DETECTDEVICE_PARAMS.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DETECTDEVICE_PARAMS.Manual.cs
index 558cf70325..524c8160b0 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DETECTDEVICE_PARAMS.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DETECTDEVICE_PARAMS.Manual.cs
@@ -3,6 +3,7 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -32,49 +33,55 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_DETECTDEVICE_PARAMS64 _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
[NativeTypeName("PDETECT_PROGRESS_NOTIFY")]
+ [UnscopedRef]
public ref delegate* unmanaged DetectProgressNotify
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).DetectProgressNotify;
+ return ref _value32.DetectProgressNotify;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).DetectProgressNotify;
+ return ref _value64.DetectProgressNotify;
}
}
}
[NativeTypeName("PVOID")]
+ [UnscopedRef]
public ref void* ProgressNotifyParam
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).ProgressNotifyParam;
+ return ref _value32.ProgressNotifyParam;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).ProgressNotifyParam;
+ return ref _value64.ProgressNotifyParam;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DATA.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DATA.Manual.cs
index 11877a0d01..f0453d53dd 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DATA.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DATA.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,64 +35,72 @@ public static uint SizeOf
public SP_DEVICE_INTERFACE_DATA64 _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
+ [UnscopedRef]
public ref Guid InterfaceClassGuid
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.InterfaceClassGuid, 1));
+ return ref _value32.InterfaceClassGuid;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.InterfaceClassGuid, 1));
+ return ref _value64.InterfaceClassGuid;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
[NativeTypeName("ULONG_PTR")]
+ [UnscopedRef]
public ref nuint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DETAIL_DATA_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DETAIL_DATA_A.Manual.cs
index 764951799b..90221ee8bd 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DETAIL_DATA_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DETAIL_DATA_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,17 +35,19 @@ public static uint SizeOf
public SP_DEVICE_INTERFACE_DETAIL_DATA64_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DETAIL_DATA_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DETAIL_DATA_W.Manual.cs
index b9d38540a8..8f2b13f0c8 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DETAIL_DATA_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVICE_INTERFACE_DETAIL_DATA_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,17 +35,19 @@ public static uint SizeOf
public SP_DEVICE_INTERFACE_DETAIL_DATA64_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_DATA.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_DATA.Manual.cs
index 876b03f5ff..9e11fd531c 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_DATA.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_DATA.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,64 +35,72 @@ public static uint SizeOf
public SP_DEVINFO_DATA64 _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
+ [UnscopedRef]
public ref Guid ClassGuid
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.ClassGuid, 1));
+ return ref _value32.ClassGuid;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.ClassGuid, 1));
+ return ref _value64.ClassGuid;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint DevInst
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DevInst, 1));
+ return ref _value32.DevInst;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DevInst, 1));
+ return ref _value64.DevInst;
}
}
}
[NativeTypeName("ULONG_PTR")]
+ [UnscopedRef]
public ref nuint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_A.Manual.cs
index 3ae44acb4f..53825e689e 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,47 +35,53 @@ public static uint SizeOf
public SP_DEVINFO_LIST_DETAIL_DATA64_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
+ [UnscopedRef]
public ref Guid ClassGuid
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.ClassGuid, 1));
+ return ref _value32.ClassGuid;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.ClassGuid, 1));
+ return ref _value64.ClassGuid;
}
}
}
+ [UnscopedRef]
public ref HANDLE RemoteMachineHandle
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.RemoteMachineHandle, 1));
+ return ref _value32.RemoteMachineHandle;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.RemoteMachineHandle, 1));
+ return ref _value64.RemoteMachineHandle;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_W.Manual.cs
index 700207743e..9862854459 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINFO_LIST_DETAIL_DATA_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,47 +35,53 @@ public static uint SizeOf
public SP_DEVINFO_LIST_DETAIL_DATA64_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
+ [UnscopedRef]
public ref Guid ClassGuid
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.ClassGuid, 1));
+ return ref _value32.ClassGuid;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.ClassGuid, 1));
+ return ref _value64.ClassGuid;
}
}
}
+ [UnscopedRef]
public ref HANDLE RemoteMachineHandle
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.RemoteMachineHandle, 1));
+ return ref _value32.RemoteMachineHandle;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.RemoteMachineHandle, 1));
+ return ref _value64.RemoteMachineHandle;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_A.Manual.cs
index e1b9790471..a375b3ee65 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,143 +35,161 @@ public static uint SizeOf
public SP_DEVINSTALL_PARAMS64_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint FlagsEx
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FlagsEx, 1));
+ return ref _value32.FlagsEx;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FlagsEx, 1));
+ return ref _value64.FlagsEx;
}
}
}
+ [UnscopedRef]
public ref HWND hwndParent
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.hwndParent, 1));
+ return ref _value32.hwndParent;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.hwndParent, 1));
+ return ref _value64.hwndParent;
}
}
}
[NativeTypeName("PSP_FILE_CALLBACK_W")]
+ [UnscopedRef]
public ref delegate* unmanaged InstallMsgHandler
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).InstallMsgHandler;
+ return ref _value32.InstallMsgHandler;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).InstallMsgHandler;
+ return ref _value64.InstallMsgHandler;
}
}
}
[NativeTypeName("PVOID")]
+ [UnscopedRef]
public ref void* InstallMsgHandlerContext
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).InstallMsgHandlerContext;
+ return ref _value32.InstallMsgHandlerContext;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).InstallMsgHandlerContext;
+ return ref _value64.InstallMsgHandlerContext;
}
}
}
+ [UnscopedRef]
public ref HSPFILEQ FileQueue
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FileQueue, 1));
+ return ref _value32.FileQueue;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FileQueue, 1));
+ return ref _value64.FileQueue;
}
}
}
[NativeTypeName("ULONG_PTR")]
+ [UnscopedRef]
public ref nuint ClassInstallReserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.ClassInstallReserved, 1));
+ return ref _value32.ClassInstallReserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.ClassInstallReserved, 1));
+ return ref _value64.ClassInstallReserved;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_W.Manual.cs
index 8eb6cf99ff..c26ae677cf 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DEVINSTALL_PARAMS_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,143 +35,161 @@ public static uint SizeOf
public SP_DEVINSTALL_PARAMS64_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint FlagsEx
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FlagsEx, 1));
+ return ref _value32.FlagsEx;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FlagsEx, 1));
+ return ref _value64.FlagsEx;
}
}
}
+ [UnscopedRef]
public ref HWND hwndParent
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.hwndParent, 1));
+ return ref _value32.hwndParent;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.hwndParent, 1));
+ return ref _value64.hwndParent;
}
}
}
[NativeTypeName("PSP_FILE_CALLBACK_W")]
+ [UnscopedRef]
public ref delegate* unmanaged InstallMsgHandler
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).InstallMsgHandler;
+ return ref _value32.InstallMsgHandler;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).InstallMsgHandler;
+ return ref _value64.InstallMsgHandler;
}
}
}
[NativeTypeName("PVOID")]
+ [UnscopedRef]
public ref void* InstallMsgHandlerContext
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).InstallMsgHandlerContext;
+ return ref _value32.InstallMsgHandlerContext;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).InstallMsgHandlerContext;
+ return ref _value64.InstallMsgHandlerContext;
}
}
}
+ [UnscopedRef]
public ref HSPFILEQ FileQueue
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FileQueue, 1));
+ return ref _value32.FileQueue;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FileQueue, 1));
+ return ref _value64.FileQueue;
}
}
}
[NativeTypeName("ULONG_PTR")]
+ [UnscopedRef]
public ref nuint ClassInstallReserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.ClassInstallReserved, 1));
+ return ref _value32.ClassInstallReserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.ClassInstallReserved, 1));
+ return ref _value64.ClassInstallReserved;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_A.Manual.cs
index e3fd4769ac..8bfae61938 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,49 +35,55 @@ public static uint SizeOf
public SP_DRVINFO_DATA64_V1_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint DriverType
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DriverType, 1));
+ return ref _value32.DriverType;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DriverType, 1));
+ return ref _value64.DriverType;
}
}
}
[NativeTypeName("ULONG_PTR")]
+ [UnscopedRef]
public ref nuint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_W.Manual.cs
index 9345c97cf0..29d58a59ee 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V1_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,49 +35,55 @@ public static uint SizeOf
public SP_DRVINFO_DATA64_V1_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint DriverType
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DriverType, 1));
+ return ref _value32.DriverType;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DriverType, 1));
+ return ref _value64.DriverType;
}
}
}
[NativeTypeName("ULONG_PTR")]
+ [UnscopedRef]
public ref nuint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_A.Manual.cs
index 006ae67077..df99be1f7c 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,49 +35,55 @@ public static uint SizeOf
public SP_DRVINFO_DATA64_V2_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint DriverType
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DriverType, 1));
+ return ref _value32.DriverType;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DriverType, 1));
+ return ref _value64.DriverType;
}
}
}
[NativeTypeName("ULONG_PTR")]
+ [UnscopedRef]
public ref nuint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
@@ -128,33 +136,37 @@ public Span ProviderName
}
}
+ [UnscopedRef]
public ref FILETIME DriverDate
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DriverDate, 1));
+ return ref _value32.DriverDate;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DriverDate, 1));
+ return ref _value64.DriverDate;
}
}
}
[NativeTypeName("DWORDLONG")]
+ [UnscopedRef]
public ref ulong DriverVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DriverVersion, 1));
+ return ref _value32.DriverVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DriverVersion, 1));
+ return ref _value64.DriverVersion;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_W.Manual.cs
index 96741452d9..b723853570 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DATA_V2_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,49 +35,55 @@ public static uint SizeOf
public SP_DRVINFO_DATA64_V2_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint DriverType
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DriverType, 1));
+ return ref _value32.DriverType;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DriverType, 1));
+ return ref _value64.DriverType;
}
}
}
[NativeTypeName("ULONG_PTR")]
+ [UnscopedRef]
public ref nuint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
@@ -128,33 +136,37 @@ public Span ProviderName
}
}
+ [UnscopedRef]
public ref FILETIME DriverDate
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DriverDate, 1));
+ return ref _value32.DriverDate;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DriverDate, 1));
+ return ref _value64.DriverDate;
}
}
}
[NativeTypeName("DWORDLONG")]
+ [UnscopedRef]
public ref ulong DriverVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DriverVersion, 1));
+ return ref _value32.DriverVersion;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DriverVersion, 1));
+ return ref _value64.DriverVersion;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_A.Manual.cs
index 129c24aa66..9c7fb98a1a 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,80 +35,90 @@ public static uint SizeOf
public SP_DRVINFO_DETAIL_DATA64_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
+ [UnscopedRef]
public ref FILETIME InfDate
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.InfDate, 1));
+ return ref _value32.InfDate;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.InfDate, 1));
+ return ref _value64.InfDate;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint CompatIDsOffset
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.CompatIDsOffset, 1));
+ return ref _value32.CompatIDsOffset;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.CompatIDsOffset, 1));
+ return ref _value64.CompatIDsOffset;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint CompatIDsLength
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.CompatIDsLength, 1));
+ return ref _value32.CompatIDsLength;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.CompatIDsLength, 1));
+ return ref _value64.CompatIDsLength;
}
}
}
[NativeTypeName("ULONG_PTR")]
+ [UnscopedRef]
public ref nuint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_W.Manual.cs
index 0000135668..3c39e9d13d 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINFO_DETAIL_DATA_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,80 +35,90 @@ public static uint SizeOf
public SP_DRVINFO_DETAIL_DATA64_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
+ [UnscopedRef]
public ref FILETIME InfDate
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.InfDate, 1));
+ return ref _value32.InfDate;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.InfDate, 1));
+ return ref _value64.InfDate;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint CompatIDsOffset
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.CompatIDsOffset, 1));
+ return ref _value32.CompatIDsOffset;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.CompatIDsOffset, 1));
+ return ref _value64.CompatIDsOffset;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint CompatIDsLength
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.CompatIDsLength, 1));
+ return ref _value32.CompatIDsLength;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.CompatIDsLength, 1));
+ return ref _value64.CompatIDsLength;
}
}
}
[NativeTypeName("ULONG_PTR")]
+ [UnscopedRef]
public ref nuint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINSTALL_PARAMS.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINSTALL_PARAMS.Manual.cs
index a529420bae..cd008090b3 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINSTALL_PARAMS.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_DRVINSTALL_PARAMS.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,81 +34,91 @@ public static uint SizeOf
public SP_DRVINSTALL_PARAMS64 _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Rank
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Rank, 1));
+ return ref _value32.Rank;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Rank, 1));
+ return ref _value64.Rank;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
[NativeTypeName("DWORD_PTR")]
+ [UnscopedRef]
public ref nuint PrivateData
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.PrivateData, 1));
+ return ref _value32.PrivateData;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.PrivateData, 1));
+ return ref _value64.PrivateData;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Reserved
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Reserved, 1));
+ return ref _value32.Reserved;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Reserved, 1));
+ return ref _value64.Reserved;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ENABLECLASS_PARAMS.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ENABLECLASS_PARAMS.Manual.cs
index 008a783626..22424fd133 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ENABLECLASS_PARAMS.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ENABLECLASS_PARAMS.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -33,48 +34,54 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_ENABLECLASS_PARAMS64 _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
+ [UnscopedRef]
public ref Guid ClassGuid
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.ClassGuid, 1));
+ return ref _value32.ClassGuid;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.ClassGuid, 1));
+ return ref _value64.ClassGuid;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint EnableMessage
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.EnableMessage, 1));
+ return ref _value32.EnableMessage;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.EnableMessage, 1));
+ return ref _value64.EnableMessage;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_FILE_COPY_PARAMS_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_FILE_COPY_PARAMS_A.Manual.cs
index 5f8b85f248..9046e4a236 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_FILE_COPY_PARAMS_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_FILE_COPY_PARAMS_A.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,191 +34,215 @@ public static uint SizeOf
public SP_FILE_COPY_PARAMS64_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
+ [UnscopedRef]
public ref HSPFILEQ QueueHandle
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.QueueHandle, 1));
+ return ref _value32.QueueHandle;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.QueueHandle, 1));
+ return ref _value64.QueueHandle;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* SourceRootPath
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourceRootPath;
+ return ref _value32.SourceRootPath;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourceRootPath;
+ return ref _value64.SourceRootPath;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* SourcePath
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourcePath;
+ return ref _value32.SourcePath;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourcePath;
+ return ref _value64.SourcePath;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* SourceFilename
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourceFilename;
+ return ref _value32.SourceFilename;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourceFilename;
+ return ref _value64.SourceFilename;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* SourceDescription
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourceDescription;
+ return ref _value32.SourceDescription;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourceDescription;
+ return ref _value64.SourceDescription;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* SourceTagfile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourceTagfile;
+ return ref _value32.SourceTagfile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourceTagfile;
+ return ref _value64.SourceTagfile;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* TargetDirectory
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).TargetDirectory;
+ return ref _value32.TargetDirectory;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).TargetDirectory;
+ return ref _value64.TargetDirectory;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* TargetFilename
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).TargetFilename;
+ return ref _value32.TargetFilename;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).TargetFilename;
+ return ref _value64.TargetFilename;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint CopyStyle
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.CopyStyle, 1));
+ return ref _value32.CopyStyle;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.CopyStyle, 1));
+ return ref _value64.CopyStyle;
}
}
}
+ [UnscopedRef]
public ref HINF LayoutInf
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.LayoutInf, 1));
+ return ref _value32.LayoutInf;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.LayoutInf, 1));
+ return ref _value64.LayoutInf;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* SecurityDescriptor
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SecurityDescriptor;
+ return ref _value32.SecurityDescriptor;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SecurityDescriptor;
+ return ref _value64.SecurityDescriptor;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_FILE_COPY_PARAMS_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_FILE_COPY_PARAMS_W.Manual.cs
index a86fdf3d2d..c7c8d92224 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_FILE_COPY_PARAMS_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_FILE_COPY_PARAMS_W.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,191 +34,215 @@ public static uint SizeOf
public SP_FILE_COPY_PARAMS64_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
+ [UnscopedRef]
public ref HSPFILEQ QueueHandle
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.QueueHandle, 1));
+ return ref _value32.QueueHandle;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.QueueHandle, 1));
+ return ref _value64.QueueHandle;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* SourceRootPath
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourceRootPath;
+ return ref _value32.SourceRootPath;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourceRootPath;
+ return ref _value64.SourceRootPath;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* SourcePath
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourcePath;
+ return ref _value32.SourcePath;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourcePath;
+ return ref _value64.SourcePath;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* SourceFilename
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourceFilename;
+ return ref _value32.SourceFilename;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourceFilename;
+ return ref _value64.SourceFilename;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* SourceDescription
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourceDescription;
+ return ref _value32.SourceDescription;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourceDescription;
+ return ref _value64.SourceDescription;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* SourceTagfile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SourceTagfile;
+ return ref _value32.SourceTagfile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SourceTagfile;
+ return ref _value64.SourceTagfile;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* TargetDirectory
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).TargetDirectory;
+ return ref _value32.TargetDirectory;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).TargetDirectory;
+ return ref _value64.TargetDirectory;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* TargetFilename
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).TargetFilename;
+ return ref _value32.TargetFilename;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).TargetFilename;
+ return ref _value64.TargetFilename;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint CopyStyle
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.CopyStyle, 1));
+ return ref _value32.CopyStyle;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.CopyStyle, 1));
+ return ref _value64.CopyStyle;
}
}
}
+ [UnscopedRef]
public ref HINF LayoutInf
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.LayoutInf, 1));
+ return ref _value32.LayoutInf;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.LayoutInf, 1));
+ return ref _value64.LayoutInf;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* SecurityDescriptor
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).SecurityDescriptor;
+ return ref _value32.SecurityDescriptor;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).SecurityDescriptor;
+ return ref _value64.SecurityDescriptor;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_INFORMATION.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_INFORMATION.Manual.cs
index 8121fd585a..8a33ada39f 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_INFORMATION.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_INFORMATION.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,33 +35,37 @@ public static uint SizeOf
public SP_INF_INFORMATION64 _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint InfStyle
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.InfStyle, 1));
+ return ref _value32.InfStyle;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.InfStyle, 1));
+ return ref _value64.InfStyle;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint InfCount
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.InfCount, 1));
+ return ref _value32.InfCount;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.InfCount, 1));
+ return ref _value64.InfCount;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_A.Manual.cs
index 856356a3ee..7ce67e2e22 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,24 +35,28 @@ public static uint SizeOf
public SP_INF_SIGNER_INFO64_V1_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("CHAR [260]")]
+ [UnscopedRef]
public Span CatalogFile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
@@ -65,8 +71,10 @@ public Span CatalogFile
}
[NativeTypeName("CHAR [260]")]
+ [UnscopedRef]
public Span DigitalSigner
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
@@ -81,8 +89,10 @@ public Span DigitalSigner
}
[NativeTypeName("CHAR [260]")]
+ [UnscopedRef]
public Span DigitalSignerVersion
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_W.Manual.cs
index ef4ea5ccda..0d622f11d4 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V1_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,17 +35,19 @@ public static uint SizeOf
public SP_INF_SIGNER_INFO64_V1_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_A.Manual.cs
index 8295c628c0..136f71f0ae 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,17 +35,19 @@ public static uint SizeOf
public SP_INF_SIGNER_INFO64_V2_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
@@ -97,17 +101,19 @@ public Span DigitalSignerVersion
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint SignerScore
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.SignerScore, 1));
+ return ref _value32.SignerScore;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.SignerScore, 1));
+ return ref _value64.SignerScore;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_W.Manual.cs
index 42577eaa74..265df597fc 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INF_SIGNER_INFO_V2_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,17 +35,19 @@ public static uint SizeOf
public SP_INF_SIGNER_INFO64_V2_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
@@ -97,17 +101,19 @@ public Span DigitalSignerVersion
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint SignerScore
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.SignerScore, 1));
+ return ref _value32.SignerScore;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.SignerScore, 1));
+ return ref _value64.SignerScore;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA.Manual.cs
index 6d0dc60af1..8df84e7f73 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -33,40 +34,46 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_INSTALLWIZARD_DATA64 _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
[NativeTypeName("HPROPSHEETPAGE [20]")]
+ [UnscopedRef]
public Span DynamicPages
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
@@ -81,81 +88,90 @@ public Span DynamicPages
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint NumDynamicPages
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.NumDynamicPages, 1));
+ return ref _value32.NumDynamicPages;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.NumDynamicPages, 1));
+ return ref _value64.NumDynamicPages;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint DynamicPageFlags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DynamicPageFlags, 1));
+ return ref _value32.DynamicPageFlags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DynamicPageFlags, 1));
+ return ref _value64.DynamicPageFlags;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint PrivateFlags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.PrivateFlags, 1));
+ return ref _value32.PrivateFlags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.PrivateFlags, 1));
+ return ref _value64.PrivateFlags;
}
}
}
+ [UnscopedRef]
public ref LPARAM PrivateData
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.PrivateData, 1));
+ return ref _value32.PrivateData;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.PrivateData, 1));
+ return ref _value64.PrivateData;
}
}
}
+ [UnscopedRef]
public ref HWND hwndWizardDlg
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.hwndWizardDlg, 1));
+ return ref _value32.hwndWizardDlg;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.hwndWizardDlg, 1));
+ return ref _value64.hwndWizardDlg;
}
}
}
-
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA32.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA32.Manual.cs
index 33b621f43c..13c3a9b67b 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA32.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA32.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -57,6 +58,7 @@ public partial struct _DynamicPages_e__FixedBuffer
public HPROPSHEETPAGE e18;
public HPROPSHEETPAGE e19;
+ [UnscopedRef]
public ref HPROPSHEETPAGE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -67,6 +69,7 @@ public ref HPROPSHEETPAGE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 20);
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA64.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA64.Manual.cs
index d401397a50..56fc8b379d 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA64.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_INSTALLWIZARD_DATA64.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -55,6 +56,7 @@ public partial struct _DynamicPages_e__FixedBuffer
public HPROPSHEETPAGE e18;
public HPROPSHEETPAGE e19;
+ [UnscopedRef]
public ref HPROPSHEETPAGE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -65,6 +67,7 @@ public ref HPROPSHEETPAGE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 20);
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA.Manual.cs
index ca9c483e18..54ad79957f 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -33,40 +34,46 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_NEWDEVICEWIZARD_DATA64 _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Flags
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Flags, 1));
+ return ref _value32.Flags;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Flags, 1));
+ return ref _value64.Flags;
}
}
}
[NativeTypeName("HPROPSHEETPAGE [20]")]
+ [UnscopedRef]
public Span DynamicPages
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
@@ -81,34 +88,37 @@ public Span DynamicPages
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint NumDynamicPages
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.NumDynamicPages, 1));
+ return ref _value32.NumDynamicPages;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.NumDynamicPages, 1));
+ return ref _value64.NumDynamicPages;
}
}
}
+ [UnscopedRef]
public ref HWND hwndWizardDlg
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.hwndWizardDlg, 1));
+ return ref _value32.hwndWizardDlg;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.hwndWizardDlg, 1));
+ return ref _value64.hwndWizardDlg;
}
}
}
-
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA32.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA32.Manual.cs
index ad0d5aad0c..cf280a252e 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA32.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA32.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -49,6 +50,7 @@ public partial struct _DynamicPages_e__FixedBuffer
public HPROPSHEETPAGE e18;
public HPROPSHEETPAGE e19;
+ [UnscopedRef]
public ref HPROPSHEETPAGE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -59,6 +61,7 @@ public ref HPROPSHEETPAGE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 20);
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA64.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA64.Manual.cs
index f1fae08b34..2a9c336d5e 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA64.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_NEWDEVICEWIZARD_DATA64.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -47,6 +48,7 @@ public partial struct _DynamicPages_e__FixedBuffer
public HPROPSHEETPAGE e18;
public HPROPSHEETPAGE e19;
+ [UnscopedRef]
public ref HPROPSHEETPAGE this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -57,6 +59,7 @@ public ref HPROPSHEETPAGE this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 20);
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_A.Manual.cs
index 6ae3415287..9c672a0705 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_A.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,17 +35,19 @@ public static uint SizeOf
public SP_ORIGINAL_FILE_INFO64_A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_W.Manual.cs
index 7aed898de6..6c0a481c03 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_ORIGINAL_FILE_INFO_W.Manual.cs
@@ -4,6 +4,8 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -33,17 +35,19 @@ public static uint SizeOf
public SP_ORIGINAL_FILE_INFO64_W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_A.Manual.cs
index 7cdf1c9052..20b74d2662 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_A.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -33,17 +34,19 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_POWERMESSAGEWAKE_PARAMS64_A _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_W.Manual.cs
index ded5e4a94b..bf7d9a9456 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_POWERMESSAGEWAKE_PARAMS_W.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -33,24 +34,28 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_POWERMESSAGEWAKE_PARAMS64_W _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
[NativeTypeName("WCHAR [512]")]
+ [UnscopedRef]
public Span PowerMessageWake
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_PROPCHANGE_PARAMS.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_PROPCHANGE_PARAMS.Manual.cs
index ce2c68f58f..d9295f653c 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_PROPCHANGE_PARAMS.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_PROPCHANGE_PARAMS.Manual.cs
@@ -3,6 +3,7 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -32,65 +33,73 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_PROPCHANGE_PARAMS64 _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint StateChange
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.StateChange, 1));
+ return ref _value32.StateChange;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.StateChange, 1));
+ return ref _value64.StateChange;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Scope
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Scope, 1));
+ return ref _value32.Scope;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Scope, 1));
+ return ref _value64.Scope;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint HwProfile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.HwProfile, 1));
+ return ref _value32.HwProfile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.HwProfile, 1));
+ return ref _value64.HwProfile;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_PROPSHEETPAGE_REQUEST.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_PROPSHEETPAGE_REQUEST.Manual.cs
index 82f50b29ed..615e092db8 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_PROPSHEETPAGE_REQUEST.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_PROPSHEETPAGE_REQUEST.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,48 +34,54 @@ public static uint SizeOf
public SP_PROPSHEETPAGE_REQUEST64 _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint PageRequested
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.PageRequested, 1));
+ return ref _value32.PageRequested;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.PageRequested, 1));
+ return ref _value64.PageRequested;
}
}
}
+ [UnscopedRef]
public ref HDEVINFO DeviceInfoSet
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.DeviceInfoSet, 1));
+ return ref _value32.DeviceInfoSet;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.DeviceInfoSet, 1));
+ return ref _value64.DeviceInfoSet;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_REGISTER_CONTROL_STATUSA.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_REGISTER_CONTROL_STATUSA.Manual.cs
index b94c52eaaf..69c0ed2ab7 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_REGISTER_CONTROL_STATUSA.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_REGISTER_CONTROL_STATUSA.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,65 +34,73 @@ public static uint SizeOf
public SP_REGISTER_CONTROL_STATUS64A _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("PCSTR")]
+ [UnscopedRef]
public ref sbyte* FileName
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).FileName;
+ return ref _value32.FileName;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).FileName;
+ return ref _value64.FileName;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Win32Error
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Win32Error, 1));
+ return ref _value32.Win32Error;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Win32Error, 1));
+ return ref _value64.Win32Error;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint FailureCode
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FailureCode, 1));
+ return ref _value32.FailureCode;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FailureCode, 1));
+ return ref _value64.FailureCode;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_REGISTER_CONTROL_STATUSW.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_REGISTER_CONTROL_STATUSW.Manual.cs
index 9b0d2cc022..f0d50b9b10 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_REGISTER_CONTROL_STATUSW.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_REGISTER_CONTROL_STATUSW.Manual.cs
@@ -3,6 +3,8 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace TerraFX.Interop.Windows;
@@ -32,65 +34,73 @@ public static uint SizeOf
public SP_REGISTER_CONTROL_STATUS64W _value64;
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint cbSize
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.cbSize, 1));
+ return ref _value32.cbSize;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.cbSize, 1));
+ return ref _value64.cbSize;
}
}
}
[NativeTypeName("PCWSTR")]
+ [UnscopedRef]
public ref ushort* FileName
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32, 1)).FileName;
+ return ref _value32.FileName;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64, 1)).FileName;
+ return ref _value64.FileName;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Win32Error
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Win32Error, 1));
+ return ref _value32.Win32Error;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Win32Error, 1));
+ return ref _value64.Win32Error;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint FailureCode
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.FailureCode, 1));
+ return ref _value32.FailureCode;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.FailureCode, 1));
+ return ref _value64.FailureCode;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_REMOVEDEVICE_PARAMS.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_REMOVEDEVICE_PARAMS.Manual.cs
index 4e4ac77c09..ba80de9dc0 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_REMOVEDEVICE_PARAMS.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_REMOVEDEVICE_PARAMS.Manual.cs
@@ -3,6 +3,7 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -32,49 +33,55 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_REMOVEDEVICE_PARAMS64 _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Scope
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Scope, 1));
+ return ref _value32.Scope;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Scope, 1));
+ return ref _value64.Scope;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint HwProfile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.HwProfile, 1));
+ return ref _value32.HwProfile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.HwProfile, 1));
+ return ref _value64.HwProfile;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_A.Manual.cs
index 67230d20f4..65cebd5b5c 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_A.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -33,17 +34,19 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_SELECTDEVICE_PARAMS64_A _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_W.Manual.cs
index 7b8a214c05..698caba69e 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_SELECTDEVICE_PARAMS_W.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -33,17 +34,19 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_SELECTDEVICE_PARAMS64_W _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_A.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_A.Manual.cs
index e8064aa635..d60ac227f1 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_A.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_A.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -33,17 +34,19 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_TROUBLESHOOTER_PARAMS64_A _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_W.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_W.Manual.cs
index 4ded77043d..8600673227 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_W.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_TROUBLESHOOTER_PARAMS_W.Manual.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -33,17 +34,19 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_TROUBLESHOOTER_PARAMS64_W _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/SetupAPI/SP_UNREMOVEDEVICE_PARAMS.Manual.cs b/sources/Interop/Windows/Windows/um/SetupAPI/SP_UNREMOVEDEVICE_PARAMS.Manual.cs
index 54fcc0c1e1..fb408ea75f 100644
--- a/sources/Interop/Windows/Windows/um/SetupAPI/SP_UNREMOVEDEVICE_PARAMS.Manual.cs
+++ b/sources/Interop/Windows/Windows/um/SetupAPI/SP_UNREMOVEDEVICE_PARAMS.Manual.cs
@@ -3,6 +3,7 @@
// Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -32,49 +33,55 @@ public static uint SizeOf
[FieldOffset(0)]
public SP_UNREMOVEDEVICE_PARAMS64 _value64;
+ [UnscopedRef]
public ref SP_CLASSINSTALL_HEADER ClassInstallHeader
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value32.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value32.ClassInstallHeader);
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Unsafe.As(ref _value64.ClassInstallHeader), 1));
+ return ref Unsafe.As(ref _value64.ClassInstallHeader);
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint Scope
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.Scope, 1));
+ return ref _value32.Scope;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.Scope, 1));
+ return ref _value64.Scope;
}
}
}
[NativeTypeName("DWORD")]
+ [UnscopedRef]
public ref uint HwProfile
{
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
if (sizeof(nint) == 4)
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value32.HwProfile, 1));
+ return ref _value32.HwProfile;
}
else
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref _value64.HwProfile, 1));
+ return ref _value64.HwProfile;
}
}
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/AccessibilityDockingService.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/AccessibilityDockingService.cs
index 7598099899..65a7069516 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/AccessibilityDockingService.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/AccessibilityDockingService.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("29CE1D46-B481-4AA0-A08A-D3EBC8ACA402")]
-public partial struct AccessibilityDockingService
+public unsafe partial struct AccessibilityDockingService : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AccessibilityDockingService));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/AlphabeticalCategorizer.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/AlphabeticalCategorizer.cs
index 1057051092..5937165fae 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/AlphabeticalCategorizer.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/AlphabeticalCategorizer.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3C2654C6-7372-4F6B-B310-55D6128F49D2")]
-public partial struct AlphabeticalCategorizer
+public unsafe partial struct AlphabeticalCategorizer : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AlphabeticalCategorizer));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/ApplicationAssociationRegistrationUI.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/ApplicationAssociationRegistrationUI.cs
index 5dfd41003b..670df9786d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/ApplicationAssociationRegistrationUI.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/ApplicationAssociationRegistrationUI.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("1968106D-F3B5-44CF-890E-116FCB9ECEF1")]
-public partial struct ApplicationAssociationRegistrationUI
+public unsafe partial struct ApplicationAssociationRegistrationUI : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ApplicationAssociationRegistrationUI));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/AttachmentServices.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/AttachmentServices.cs
index 64059a2430..3dad2eb153 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/AttachmentServices.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/AttachmentServices.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("4125DD96-E03A-4103-8F70-E0597D803B9C")]
-public partial struct AttachmentServices
+public unsafe partial struct AttachmentServices : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AttachmentServices));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/CDBurn.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/CDBurn.cs
index 046ad76629..46d62f6c99 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/CDBurn.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/CDBurn.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("FBEB8A05-BEEE-4442-804E-409D6C4515E9")]
-public partial struct CDBurn
+public unsafe partial struct CDBurn : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_CDBurn));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/DesktopGadget.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/DesktopGadget.cs
index 54105fa0c6..d72b1baecf 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/DesktopGadget.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/DesktopGadget.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("924CCC1B-6562-4C85-8657-D177925222B6")]
-public partial struct DesktopGadget
+public unsafe partial struct DesktopGadget : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DesktopGadget));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/DocPropShellExtension.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/DocPropShellExtension.cs
index add75c7302..b86488ba87 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/DocPropShellExtension.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/DocPropShellExtension.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("883373C3-BF89-11D1-BE35-080036B11A03")]
-public partial struct DocPropShellExtension
+public unsafe partial struct DocPropShellExtension : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DocPropShellExtension));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/ExecuteFolder.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/ExecuteFolder.cs
index d95d1b267f..d0dc1203d1 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/ExecuteFolder.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/ExecuteFolder.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("11DBB47C-A525-400B-9E80-A54615A090C0")]
-public partial struct ExecuteFolder
+public unsafe partial struct ExecuteFolder : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ExecuteFolder));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/ExplorerBrowser.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/ExplorerBrowser.cs
index 2055ed78ad..7a8392263f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/ExplorerBrowser.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/ExplorerBrowser.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("71F96385-DDD6-48D3-A0C1-AE06E8B055FB")]
-public partial struct ExplorerBrowser
+public unsafe partial struct ExplorerBrowser : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ExplorerBrowser));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/FSCopyHandler.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/FSCopyHandler.cs
index 0d0d248a3e..846e6010bd 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/FSCopyHandler.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/FSCopyHandler.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("D197380A-0A79-4DC8-A033-ED882C2FA14B")]
-public partial struct FSCopyHandler
+public unsafe partial struct FSCopyHandler : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FSCopyHandler));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/FolderViewHost.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/FolderViewHost.cs
index 214470ee80..ca1d498e15 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/FolderViewHost.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/FolderViewHost.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("20B1CB23-6968-4EB9-B7D4-A66D00D07CEE")]
-public partial struct FolderViewHost
+public unsafe partial struct FolderViewHost : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FolderViewHost));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibilityDockingService.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibilityDockingService.cs
index c13b6acec2..b0d2828e2b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibilityDockingService.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibilityDockingService.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IAccessibilityDockingService : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IAccessibilityDockingService : IAccessibilityDockingService.Interface
+public unsafe partial struct IAccessibilityDockingService : IAccessibilityDockingService.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAccessibilityDockingService));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibilityDockingServiceCallback.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibilityDockingServiceCallback.cs
index d78d9185d4..f7ddcb8258 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibilityDockingServiceCallback.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibilityDockingServiceCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("157733FD-A592-42E5-B594-248468C5A81B")]
[NativeTypeName("struct IAccessibilityDockingServiceCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAccessibilityDockingServiceCallback : IAccessibilityDockingServiceCallback.Interface
+public unsafe partial struct IAccessibilityDockingServiceCallback : IAccessibilityDockingServiceCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAccessibilityDockingServiceCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibleObject.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibleObject.cs
index bfda090660..e51538600d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibleObject.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IAccessibleObject.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("95A391C5-9ED4-4C28-8401-AB9E06719E11")]
[NativeTypeName("struct IAccessibleObject : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAccessibleObject : IAccessibleObject.Interface
+public unsafe partial struct IAccessibleObject : IAccessibleObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAccessibleObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IApplicationAssociationRegistrationUI.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IApplicationAssociationRegistrationUI.cs
index 4527b80e06..5c4fc73a99 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IApplicationAssociationRegistrationUI.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IApplicationAssociationRegistrationUI.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1F76A169-F994-40AC-8FC8-0959E8874710")]
[NativeTypeName("struct IApplicationAssociationRegistrationUI : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IApplicationAssociationRegistrationUI : IApplicationAssociationRegistrationUI.Interface
+public unsafe partial struct IApplicationAssociationRegistrationUI : IApplicationAssociationRegistrationUI.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IApplicationAssociationRegistrationUI));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IAutoCompleteDropDown.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IAutoCompleteDropDown.cs
index 8413e4aad2..124b3a69a0 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IAutoCompleteDropDown.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IAutoCompleteDropDown.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3CD141F4-3C6A-11D2-BCAA-00C04FD929DB")]
[NativeTypeName("struct IAutoCompleteDropDown : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAutoCompleteDropDown : IAutoCompleteDropDown.Interface
+public unsafe partial struct IAutoCompleteDropDown : IAutoCompleteDropDown.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAutoCompleteDropDown));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IBandHost.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IBandHost.cs
index 03f5d7cb7d..265b04921f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IBandHost.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IBandHost.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B9075C7C-D48E-403F-AB99-D6C77A1084AC")]
[NativeTypeName("struct IBandHost : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IBandHost : IBandHost.Interface
+public unsafe partial struct IBandHost : IBandHost.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IBandHost));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/ICDBurn.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/ICDBurn.cs
index 1b3e69d9d9..f50e80eb72 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/ICDBurn.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/ICDBurn.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3D73A659-E5D0-4D42-AFC0-5121BA425C8D")]
[NativeTypeName("struct ICDBurn : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICDBurn : ICDBurn.Interface
+public unsafe partial struct ICDBurn : ICDBurn.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICDBurn));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/ICDBurnExt.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/ICDBurnExt.cs
index ae433ce320..507f54b13f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/ICDBurnExt.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/ICDBurnExt.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2271DCCA-74FC-4414-8FB7-C56B05ACE2D7")]
[NativeTypeName("struct ICDBurnExt : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICDBurnExt : ICDBurnExt.Interface
+public unsafe partial struct ICDBurnExt : ICDBurnExt.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICDBurnExt));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/ICommDlgBrowser3.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/ICommDlgBrowser3.cs
index d5e97d80d8..0965ade517 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/ICommDlgBrowser3.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/ICommDlgBrowser3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C8AD25A1-3294-41EE-8165-71174BD01C57")]
[NativeTypeName("struct ICommDlgBrowser3 : ICommDlgBrowser2")]
[NativeInheritance("ICommDlgBrowser2")]
-public unsafe partial struct ICommDlgBrowser3 : ICommDlgBrowser3.Interface
+public unsafe partial struct ICommDlgBrowser3 : ICommDlgBrowser3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICommDlgBrowser3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IComputerInfoChangeNotify.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IComputerInfoChangeNotify.cs
index 48e84e3e35..2ebda3bbdd 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IComputerInfoChangeNotify.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IComputerInfoChangeNotify.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0DF60D92-6818-46D6-B358-D66170DDE466")]
[NativeTypeName("struct IComputerInfoChangeNotify : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IComputerInfoChangeNotify : IComputerInfoChangeNotify.Interface
+public unsafe partial struct IComputerInfoChangeNotify : IComputerInfoChangeNotify.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IComputerInfoChangeNotify));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IDeskBand2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IDeskBand2.cs
index 310ec1fc0f..7ea3855a11 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IDeskBand2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IDeskBand2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("79D16DE4-ABEE-4021-8D9D-9169B261D657")]
[NativeTypeName("struct IDeskBand2 : IDeskBand")]
[NativeInheritance("IDeskBand")]
-public unsafe partial struct IDeskBand2 : IDeskBand2.Interface
+public unsafe partial struct IDeskBand2 : IDeskBand2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDeskBand2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IDesktopGadget.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IDesktopGadget.cs
index 365419f57a..89e2702155 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IDesktopGadget.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IDesktopGadget.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C1646BC4-F298-4F91-A204-EB2DD1709D1A")]
[NativeTypeName("struct IDesktopGadget : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDesktopGadget : IDesktopGadget.Interface
+public unsafe partial struct IDesktopGadget : IDesktopGadget.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDesktopGadget));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IDragSourceHelper2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IDragSourceHelper2.cs
index 82b661138b..e6f91fc6f9 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IDragSourceHelper2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IDragSourceHelper2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("83E07D0D-0C5F-4163-BF1A-60B274051E40")]
[NativeTypeName("struct IDragSourceHelper2 : IDragSourceHelper")]
[NativeInheritance("IDragSourceHelper")]
-public unsafe partial struct IDragSourceHelper2 : IDragSourceHelper2.Interface
+public unsafe partial struct IDragSourceHelper2 : IDragSourceHelper2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDragSourceHelper2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IDynamicHWHandler.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IDynamicHWHandler.cs
index 061a017eab..6ddf07e92f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IDynamicHWHandler.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IDynamicHWHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DC2601D7-059E-42FC-A09D-2AFD21B6D5F7")]
[NativeTypeName("struct IDynamicHWHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDynamicHWHandler : IDynamicHWHandler.Interface
+public unsafe partial struct IDynamicHWHandler : IDynamicHWHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDynamicHWHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IENamespaceTreeControl.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IENamespaceTreeControl.cs
index 6ebe88f283..47672ecc70 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IENamespaceTreeControl.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IENamespaceTreeControl.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("ACE52D03-E5CD-4B20-82FF-E71B11BEAE1D")]
-public partial struct IENamespaceTreeControl
+public unsafe partial struct IENamespaceTreeControl : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IENamespaceTreeControl));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IEnumReadyCallback.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IEnumReadyCallback.cs
index 65a0752741..9740577ed0 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IEnumReadyCallback.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IEnumReadyCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("61E00D45-8FFF-4E60-924E-6537B61612DD")]
[NativeTypeName("struct IEnumReadyCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumReadyCallback : IEnumReadyCallback.Interface
+public unsafe partial struct IEnumReadyCallback : IEnumReadyCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumReadyCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IEnumerableView.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IEnumerableView.cs
index 9db881b1e1..a1bec77bd1 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IEnumerableView.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IEnumerableView.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8C8BF236-1AEC-495F-9894-91D57C3C686F")]
[NativeTypeName("struct IEnumerableView : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumerableView : IEnumerableView.Interface
+public unsafe partial struct IEnumerableView : IEnumerableView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumerableView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IFileDialog2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IFileDialog2.cs
index 121c6dde53..c5c3caaa8d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IFileDialog2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IFileDialog2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("61744FC7-85B5-4791-A9B0-272276309B13")]
[NativeTypeName("struct IFileDialog2 : IFileDialog")]
[NativeInheritance("IFileDialog")]
-public unsafe partial struct IFileDialog2 : IFileDialog2.Interface
+public unsafe partial struct IFileDialog2 : IFileDialog2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileDialog2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IFileDialogControlEvents.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IFileDialogControlEvents.cs
index 8da7007743..5edf668616 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IFileDialogControlEvents.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IFileDialogControlEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("36116642-D713-4B97-9B83-7484A9D00433")]
[NativeTypeName("struct IFileDialogControlEvents : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFileDialogControlEvents : IFileDialogControlEvents.Interface
+public unsafe partial struct IFileDialogControlEvents : IFileDialogControlEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileDialogControlEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderBandPriv.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderBandPriv.cs
index 3991e2ad1d..3fc8cedd81 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderBandPriv.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderBandPriv.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("47C01F95-E185-412C-B5C5-4F27DF965AEA")]
[NativeTypeName("struct IFolderBandPriv : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFolderBandPriv : IFolderBandPriv.Interface
+public unsafe partial struct IFolderBandPriv : IFolderBandPriv.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFolderBandPriv));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderViewHost.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderViewHost.cs
index 8cf2dc6280..c6d14ecbc5 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderViewHost.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderViewHost.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1EA58F02-D55A-411D-B09E-9E65AC21605B")]
[NativeTypeName("struct IFolderViewHost : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFolderViewHost : IFolderViewHost.Interface
+public unsafe partial struct IFolderViewHost : IFolderViewHost.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFolderViewHost));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderViewOptions.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderViewOptions.cs
index 8fa082d71a..d68466cd14 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderViewOptions.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IFolderViewOptions.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3CC974D2-B302-4D36-AD3E-06D93F695D3F")]
[NativeTypeName("struct IFolderViewOptions : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFolderViewOptions : IFolderViewOptions.Interface
+public unsafe partial struct IFolderViewOptions : IFolderViewOptions.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFolderViewOptions));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IHWEventHandler.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IHWEventHandler.cs
index 2aed7790ec..1f9d028faa 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IHWEventHandler.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IHWEventHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C1FB73D0-EC3A-4BA2-B512-8CDB9187B6D1")]
[NativeTypeName("struct IHWEventHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHWEventHandler : IHWEventHandler.Interface
+public unsafe partial struct IHWEventHandler : IHWEventHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHWEventHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IHWEventHandler2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IHWEventHandler2.cs
index d4f3d42d1c..062b364e52 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IHWEventHandler2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IHWEventHandler2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CFCC809F-295D-42E8-9FFC-424B33C487E6")]
[NativeTypeName("struct IHWEventHandler2 : IHWEventHandler")]
[NativeInheritance("IHWEventHandler")]
-public unsafe partial struct IHWEventHandler2 : IHWEventHandler2.Interface
+public unsafe partial struct IHWEventHandler2 : IHWEventHandler2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHWEventHandler2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IImageRecompress.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IImageRecompress.cs
index e0cfd3f223..bdcc2ee944 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IImageRecompress.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IImageRecompress.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("505F1513-6B3E-4892-A272-59F8889A4D3E")]
[NativeTypeName("struct IImageRecompress : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IImageRecompress : IImageRecompress.Interface
+public unsafe partial struct IImageRecompress : IImageRecompress.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IImageRecompress));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IInsertItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IInsertItem.cs
index 6bfb85574f..4b026dbd02 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IInsertItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IInsertItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D2B57227-3D23-4B95-93C0-492BD454C356")]
[NativeTypeName("struct IInsertItem : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInsertItem : IInsertItem.Interface
+public unsafe partial struct IInsertItem : IInsertItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInsertItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeAccessible.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeAccessible.cs
index 893311b27b..c87548ac20 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeAccessible.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeAccessible.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("71F312DE-43ED-4190-8477-E9536B82350B")]
[NativeTypeName("struct INameSpaceTreeAccessible : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INameSpaceTreeAccessible : INameSpaceTreeAccessible.Interface
+public unsafe partial struct INameSpaceTreeAccessible : INameSpaceTreeAccessible.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INameSpaceTreeAccessible));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControl2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControl2.cs
index 7d8fff1b27..880458b424 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControl2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControl2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7CC7AED8-290E-49BC-8945-C1401CC9306C")]
[NativeTypeName("struct INameSpaceTreeControl2 : INameSpaceTreeControl")]
[NativeInheritance("INameSpaceTreeControl")]
-public unsafe partial struct INameSpaceTreeControl2 : INameSpaceTreeControl2.Interface
+public unsafe partial struct INameSpaceTreeControl2 : INameSpaceTreeControl2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INameSpaceTreeControl2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlCustomDraw.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlCustomDraw.cs
index 0bb7f3ab42..539ef618a2 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlCustomDraw.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlCustomDraw.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2D3BA758-33EE-42D5-BB7B-5F3431D86C78")]
[NativeTypeName("struct INameSpaceTreeControlCustomDraw : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INameSpaceTreeControlCustomDraw : INameSpaceTreeControlCustomDraw.Interface
+public unsafe partial struct INameSpaceTreeControlCustomDraw : INameSpaceTreeControlCustomDraw.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INameSpaceTreeControlCustomDraw));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlDropHandler.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlDropHandler.cs
index 0f154d38eb..aa3ba3b755 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlDropHandler.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlDropHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F9C665D6-C2F2-4C19-BF33-8322D7352F51")]
[NativeTypeName("struct INameSpaceTreeControlDropHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INameSpaceTreeControlDropHandler : INameSpaceTreeControlDropHandler.Interface
+public unsafe partial struct INameSpaceTreeControlDropHandler : INameSpaceTreeControlDropHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INameSpaceTreeControlDropHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlEvents.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlEvents.cs
index c42f5b2c3e..b459335b46 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlEvents.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/INameSpaceTreeControlEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("93D77985-B3D8-4484-8318-672CDDA002CE")]
[NativeTypeName("struct INameSpaceTreeControlEvents : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INameSpaceTreeControlEvents : INameSpaceTreeControlEvents.Interface
+public unsafe partial struct INameSpaceTreeControlEvents : INameSpaceTreeControlEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INameSpaceTreeControlEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IPreviousVersionsInfo.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IPreviousVersionsInfo.cs
index 2d0b07e7d9..9643e84302 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IPreviousVersionsInfo.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IPreviousVersionsInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("76E54780-AD74-48E3-A695-3BA9A0AFF10D")]
[NativeTypeName("struct IPreviousVersionsInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPreviousVersionsInfo : IPreviousVersionsInfo.Interface
+public unsafe partial struct IPreviousVersionsInfo : IPreviousVersionsInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPreviousVersionsInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IPublishingWizard.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IPublishingWizard.cs
index d82bfbd8c0..0e4663b3d1 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IPublishingWizard.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IPublishingWizard.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("AA9198BB-CCEC-472D-BEED-19A4F6733F7A")]
[NativeTypeName("struct IPublishingWizard : IWizardExtension")]
[NativeInheritance("IWizardExtension")]
-public unsafe partial struct IPublishingWizard : IPublishingWizard.Interface
+public unsafe partial struct IPublishingWizard : IPublishingWizard.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPublishingWizard));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IQueryCancelAutoPlay.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IQueryCancelAutoPlay.cs
index e0c2cba7e5..caa3f74fa6 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IQueryCancelAutoPlay.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IQueryCancelAutoPlay.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DDEFE873-6997-4E68-BE26-39B633ADBE12")]
[NativeTypeName("struct IQueryCancelAutoPlay : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IQueryCancelAutoPlay : IQueryCancelAutoPlay.Interface
+public unsafe partial struct IQueryCancelAutoPlay : IQueryCancelAutoPlay.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IQueryCancelAutoPlay));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IQueryCodePage.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IQueryCodePage.cs
index b1bfb297dc..8e5d3e47d2 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IQueryCodePage.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IQueryCodePage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C7B236CE-EE80-11D0-985F-006008059382")]
[NativeTypeName("struct IQueryCodePage : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IQueryCodePage : IQueryCodePage.Interface
+public unsafe partial struct IQueryCodePage : IQueryCodePage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IQueryCodePage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IResultsFolder.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IResultsFolder.cs
index a31c7e1c1c..ea36e5f313 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IResultsFolder.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IResultsFolder.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("96E5AE6D-6AE1-4B1C-900C-C6480EAA8828")]
[NativeTypeName("struct IResultsFolder : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IResultsFolder : IResultsFolder.Interface
+public unsafe partial struct IResultsFolder : IResultsFolder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IResultsFolder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/ISearchBoxInfo.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/ISearchBoxInfo.cs
index 6213acc465..5985ec0e28 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/ISearchBoxInfo.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/ISearchBoxInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6AF6E03F-D664-4EF4-9626-F7E0ED36755E")]
[NativeTypeName("struct ISearchBoxInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISearchBoxInfo : ISearchBoxInfo.Interface
+public unsafe partial struct ISearchBoxInfo : ISearchBoxInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISearchBoxInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IShellRunDll.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IShellRunDll.cs
index 9ef22cc614..3d18b26c03 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IShellRunDll.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IShellRunDll.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FCE4BDE0-4B68-4B80-8E9C-7426315A7388")]
[NativeTypeName("struct IShellRunDll : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellRunDll : IShellRunDll.Interface
+public unsafe partial struct IShellRunDll : IShellRunDll.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellRunDll));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IShellView3.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IShellView3.cs
index 8925cc6c2b..f4adf17a30 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IShellView3.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IShellView3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EC39FA88-F8AF-41C5-8421-38BED28F4673")]
[NativeTypeName("struct IShellView3 : IShellView2")]
[NativeInheritance("IShellView2")]
-public unsafe partial struct IShellView3 : IShellView3.Interface
+public unsafe partial struct IShellView3 : IShellView3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellView3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IStartMenuPinnedList.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IStartMenuPinnedList.cs
index 61fe3948f6..4f64a3097a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IStartMenuPinnedList.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IStartMenuPinnedList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4CD19ADA-25A5-4A32-B3B7-347BEE5BE36B")]
[NativeTypeName("struct IStartMenuPinnedList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IStartMenuPinnedList : IStartMenuPinnedList.Interface
+public unsafe partial struct IStartMenuPinnedList : IStartMenuPinnedList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IStartMenuPinnedList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IStorageProviderBanners.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IStorageProviderBanners.cs
index aa77d64bbc..68a1f2fca5 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IStorageProviderBanners.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IStorageProviderBanners.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("5EFB46D7-47C0-4B68-ACDA-DED47C90EC91")]
[NativeTypeName("struct IStorageProviderBanners : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IStorageProviderBanners : IStorageProviderBanners.Interface
+public unsafe partial struct IStorageProviderBanners : IStorageProviderBanners.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IStorageProviderBanners));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IStorageProviderCopyHook.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IStorageProviderCopyHook.cs
index a23dec136a..247c9c6144 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IStorageProviderCopyHook.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IStorageProviderCopyHook.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7BF992A9-AF7A-4DBA-B2E5-4D080B1ECBC6")]
[NativeTypeName("struct IStorageProviderCopyHook : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IStorageProviderCopyHook : IStorageProviderCopyHook.Interface
+public unsafe partial struct IStorageProviderCopyHook : IStorageProviderCopyHook.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IStorageProviderCopyHook));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IStreamAsync.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IStreamAsync.cs
index 0691e47e82..8c6e83e63d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IStreamAsync.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IStreamAsync.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FE0B6665-E0CA-49B9-A178-2B5CB48D92A5")]
[NativeTypeName("struct IStreamAsync : IStream")]
[NativeInheritance("IStream")]
-public unsafe partial struct IStreamAsync : IStreamAsync.Interface
+public unsafe partial struct IStreamAsync : IStreamAsync.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IStreamAsync));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IStreamUnbufferedInfo.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IStreamUnbufferedInfo.cs
index 599130075d..ebac373802 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IStreamUnbufferedInfo.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IStreamUnbufferedInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8A68FDDA-1FDC-4C20-8CEB-416643B5A625")]
[NativeTypeName("struct IStreamUnbufferedInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IStreamUnbufferedInfo : IStreamUnbufferedInfo.Interface
+public unsafe partial struct IStreamUnbufferedInfo : IStreamUnbufferedInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IStreamUnbufferedInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/ITrayDeskBand.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/ITrayDeskBand.cs
index 0d920b64fe..b8b3c51107 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/ITrayDeskBand.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/ITrayDeskBand.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6D67E846-5B9C-4DB8-9CBC-DDE12F4254F1")]
[NativeTypeName("struct ITrayDeskBand : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITrayDeskBand : ITrayDeskBand.Interface
+public unsafe partial struct ITrayDeskBand : ITrayDeskBand.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITrayDeskBand));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IUseToBrowseItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IUseToBrowseItem.cs
index 5b8c7b3e7c..cfe0801ffb 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IUseToBrowseItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IUseToBrowseItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("05EDDA5C-98A3-4717-8ADB-C5E7DA991EB1")]
[NativeTypeName("struct IUseToBrowseItem : IRelatedItem")]
[NativeInheritance("IRelatedItem")]
-public unsafe partial struct IUseToBrowseItem : IUseToBrowseItem.Interface
+public unsafe partial struct IUseToBrowseItem : IUseToBrowseItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUseToBrowseItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IUserAccountChangeCallback.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IUserAccountChangeCallback.cs
index c0e9530df2..c2dd6f2a3d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IUserAccountChangeCallback.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IUserAccountChangeCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A561E69A-B4B8-4113-91A5-64C6BCCA3430")]
[NativeTypeName("struct IUserAccountChangeCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUserAccountChangeCallback : IUserAccountChangeCallback.Interface
+public unsafe partial struct IUserAccountChangeCallback : IUserAccountChangeCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserAccountChangeCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IUserNotification2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IUserNotification2.cs
index 8d1ab4dced..2561eecc95 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IUserNotification2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IUserNotification2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("215913CC-57EB-4FAB-AB5A-E5FA7BEA2A6C")]
[NativeTypeName("struct IUserNotification2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUserNotification2 : IUserNotification2.Interface
+public unsafe partial struct IUserNotification2 : IUserNotification2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserNotification2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IUserNotificationCallback.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IUserNotificationCallback.cs
index 23ff6a74e7..e71a2e0ad8 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IUserNotificationCallback.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IUserNotificationCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("19108294-0441-4AFF-8013-FA0A730B0BEA")]
[NativeTypeName("struct IUserNotificationCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUserNotificationCallback : IUserNotificationCallback.Interface
+public unsafe partial struct IUserNotificationCallback : IUserNotificationCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserNotificationCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IVisualProperties.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IVisualProperties.cs
index 0800707809..fa0e62b90b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IVisualProperties.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IVisualProperties.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E693CF68-D967-4112-8763-99172AEE5E5A")]
[NativeTypeName("struct IVisualProperties : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IVisualProperties : IVisualProperties.Interface
+public unsafe partial struct IVisualProperties : IVisualProperties.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVisualProperties));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IWebWizardExtension.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IWebWizardExtension.cs
index ebf80fdd4e..41c376d11c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IWebWizardExtension.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IWebWizardExtension.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0E6B3F66-98D1-48C0-A222-FBDE74E2FBC5")]
[NativeTypeName("struct IWebWizardExtension : IWizardExtension")]
[NativeInheritance("IWizardExtension")]
-public unsafe partial struct IWebWizardExtension : IWebWizardExtension.Interface
+public unsafe partial struct IWebWizardExtension : IWebWizardExtension.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebWizardExtension));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IWizardExtension.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IWizardExtension.cs
index e5a26ee233..bab7e992ea 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IWizardExtension.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IWizardExtension.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C02EA696-86CC-491E-9B23-74394A0444A8")]
[NativeTypeName("struct IWizardExtension : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWizardExtension : IWizardExtension.Interface
+public unsafe partial struct IWizardExtension : IWizardExtension.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWizardExtension));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/IWizardSite.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/IWizardSite.cs
index 5b03b695a4..fa68a97fb7 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/IWizardSite.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/IWizardSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("88960F5B-422F-4E7B-8013-73415381C3C3")]
[NativeTypeName("struct IWizardSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWizardSite : IWizardSite.Interface
+public unsafe partial struct IWizardSite : IWizardSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWizardSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/ImageProperties.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/ImageProperties.cs
index a5620b0d67..30fe27d368 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/ImageProperties.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/ImageProperties.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("7AB770C7-0E23-4D7A-8AA2-19BFAD479829")]
-public partial struct ImageProperties
+public unsafe partial struct ImageProperties : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ImageProperties));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/ImageRecompress.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/ImageRecompress.cs
index ea6ed51680..a2214464e2 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/ImageRecompress.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/ImageRecompress.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("6E33091C-D2F8-4740-B55E-2E11D1477A2C")]
-public partial struct ImageRecompress
+public unsafe partial struct ImageRecompress : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ImageRecompress));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/InternetPrintOrdering.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/InternetPrintOrdering.cs
index 01ab153d20..3c64b7f3e9 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/InternetPrintOrdering.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/InternetPrintOrdering.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("ADD36AA8-751A-4579-A266-D66F5202CCBB")]
-public partial struct InternetPrintOrdering
+public unsafe partial struct InternetPrintOrdering : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_InternetPrintOrdering));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/MergedCategorizer.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/MergedCategorizer.cs
index 08ad86744a..21938d5c04 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/MergedCategorizer.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/MergedCategorizer.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("8E827C11-33E7-4BC1-B242-8CD9A1C2B304")]
-public partial struct MergedCategorizer
+public unsafe partial struct MergedCategorizer : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_MergedCategorizer));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/NamespaceTreeControl.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/NamespaceTreeControl.cs
index 01f50f4d15..5599707689 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/NamespaceTreeControl.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/NamespaceTreeControl.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("AE054212-3535-4430-83ED-D501AA6680E6")]
-public partial struct NamespaceTreeControl
+public unsafe partial struct NamespaceTreeControl : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_NamespaceTreeControl));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/PreviousVersions.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/PreviousVersions.cs
index 4d188a3fba..42c76a8598 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/PreviousVersions.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/PreviousVersions.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("596AB062-B4D2-4215-9F74-E9109B0A8153")]
-public partial struct PreviousVersions
+public unsafe partial struct PreviousVersions : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_PreviousVersions));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/PublishDropTarget.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/PublishDropTarget.cs
index 947a8b2e20..725e160b35 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/PublishDropTarget.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/PublishDropTarget.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("CC6EEFFB-43F6-46C5-9619-51D571967F7D")]
-public partial struct PublishDropTarget
+public unsafe partial struct PublishDropTarget : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_PublishDropTarget));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/PublishingWizard.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/PublishingWizard.cs
index 010c0032cb..c1bd3b6344 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/PublishingWizard.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/PublishingWizard.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("6B33163C-76A5-4B6C-BF21-45DE9CD503A1")]
-public partial struct PublishingWizard
+public unsafe partial struct PublishingWizard : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_PublishingWizard));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/QueryCancelAutoPlay.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/QueryCancelAutoPlay.cs
index 125f6aefb0..a9abaf88eb 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/QueryCancelAutoPlay.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/QueryCancelAutoPlay.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("331F1768-05A9-4DDD-B86E-DAE34DDC998A")]
-public partial struct QueryCancelAutoPlay
+public unsafe partial struct QueryCancelAutoPlay : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_QueryCancelAutoPlay));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/StartMenuPin.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/StartMenuPin.cs
index dd3c9312db..461b6e32c7 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/StartMenuPin.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/StartMenuPin.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("A2A9545D-A0C2-42B4-9708-A0B2BADD77C8")]
-public partial struct StartMenuPin
+public unsafe partial struct StartMenuPin : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_StartMenuPin));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/StorageProviderBanners.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/StorageProviderBanners.cs
index c9dc96d43e..6e3172163a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/StorageProviderBanners.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/StorageProviderBanners.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("7CCDF9F4-E576-455A-8BC7-F6EC68D6F063")]
-public partial struct StorageProviderBanners
+public unsafe partial struct StorageProviderBanners : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_StorageProviderBanners));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/TimeCategorizer.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/TimeCategorizer.cs
index 85974ed2c5..46ea56c39f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/TimeCategorizer.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/TimeCategorizer.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3BB4118F-DDFD-4D30-A348-9FB5D6BF1AFE")]
-public partial struct TimeCategorizer
+public unsafe partial struct TimeCategorizer : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_TimeCategorizer));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/TrayBandSiteService.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/TrayBandSiteService.cs
index 90a07dc025..8ceef4cae8 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/TrayBandSiteService.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/TrayBandSiteService.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("F60AD0A0-E5E1-45CB-B51A-E15B9F8B2934")]
-public partial struct TrayBandSiteService
+public unsafe partial struct TrayBandSiteService : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_TrayBandSiteService));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/TrayDeskBand.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/TrayDeskBand.cs
index 9960a88d0b..07031f2a7f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/TrayDeskBand.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/TrayDeskBand.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("E6442437-6C68-4F52-94DD-2CFED267EFB9")]
-public partial struct TrayDeskBand
+public unsafe partial struct TrayDeskBand : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_TrayDeskBand));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/VirtualDesktopManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/VirtualDesktopManager.cs
index 3095967404..3699bd2c7a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/VirtualDesktopManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/VirtualDesktopManager.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("AA509086-5CA9-4C25-8F95-589D3C07B48A")]
-public partial struct VirtualDesktopManager
+public unsafe partial struct VirtualDesktopManager : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_VirtualDesktopManager));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl/WebWizardHost.cs b/sources/Interop/Windows/Windows/um/ShObjIdl/WebWizardHost.cs
index a4a4ee0a81..a31fac7327 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl/WebWizardHost.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl/WebWizardHost.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("C827F149-55C1-4D28-935E-57E47CAED973")]
-public partial struct WebWizardHost
+public unsafe partial struct WebWizardHost : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WebWizardHost));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppShellVerbHandler.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppShellVerbHandler.cs
index 4dbb353f08..c66e09e48e 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppShellVerbHandler.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppShellVerbHandler.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("4ED3A719-CEA8-4BD9-910D-E252F997AFC2")]
-public partial struct AppShellVerbHandler
+public unsafe partial struct AppShellVerbHandler : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AppShellVerbHandler));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppStartupLink.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppStartupLink.cs
index 578504ac8d..e51543dd00 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppStartupLink.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppStartupLink.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("273EB5E7-88B0-4843-BFEF-E2C81D43AAE5")]
-public partial struct AppStartupLink
+public unsafe partial struct AppStartupLink : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AppStartupLink));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppVisibility.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppVisibility.cs
index 34f5ea3cf1..f60c24fcc1 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppVisibility.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/AppVisibility.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("7E5FE3D9-985F-4908-91F9-EE19F9FD1514")]
-public partial struct AppVisibility
+public unsafe partial struct AppVisibility : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AppVisibility));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationActivationManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationActivationManager.cs
index 3124b9d046..eeb197e32a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationActivationManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationActivationManager.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("45BA127D-10A8-46EA-8AB7-56EA9078943C")]
-public partial struct ApplicationActivationManager
+public unsafe partial struct ApplicationActivationManager : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ApplicationActivationManager));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationAssociationRegistration.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationAssociationRegistration.cs
index 84c7615f1f..45602438d1 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationAssociationRegistration.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationAssociationRegistration.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("591209C7-767B-42B2-9FBA-44EE4615F2C7")]
-public partial struct ApplicationAssociationRegistration
+public unsafe partial struct ApplicationAssociationRegistration : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ApplicationAssociationRegistration));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDesignModeSettings.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDesignModeSettings.cs
index 51e0d04ba7..6c93a21e4d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDesignModeSettings.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDesignModeSettings.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("958A6FB5-DCB2-4FAF-AAFD-7FB054AD1A3B")]
-public partial struct ApplicationDesignModeSettings
+public unsafe partial struct ApplicationDesignModeSettings : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ApplicationDesignModeSettings));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDestinations.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDestinations.cs
index da7f19e22b..e9fe3d4a74 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDestinations.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDestinations.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("86C14003-4D6B-4EF3-A7B4-0506663B2E68")]
-public partial struct ApplicationDestinations
+public unsafe partial struct ApplicationDestinations : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ApplicationDestinations));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDocumentLists.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDocumentLists.cs
index 8384da7bd4..02c250135c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDocumentLists.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ApplicationDocumentLists.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("86BEC222-30F2-47E0-9F25-60D11CD75C28")]
-public partial struct ApplicationDocumentLists
+public unsafe partial struct ApplicationDocumentLists : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ApplicationDocumentLists));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DefFolderMenu.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DefFolderMenu.cs
index 3f522e0a40..7daf89c8b9 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DefFolderMenu.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DefFolderMenu.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("C63382BE-7933-48D0-9AC8-85FB46BE2FDD")]
-public partial struct DefFolderMenu
+public unsafe partial struct DefFolderMenu : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DefFolderMenu));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DesktopWallpaper.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DesktopWallpaper.cs
index 4a2ef60076..738501e186 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DesktopWallpaper.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DesktopWallpaper.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("C2CF3110-460E-4FC1-B9D0-8A1C0C9CC4BD")]
-public partial struct DesktopWallpaper
+public unsafe partial struct DesktopWallpaper : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DesktopWallpaper));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DestinationList.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DestinationList.cs
index aa0ceb53a6..e1db8c10db 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DestinationList.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DestinationList.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("77F10CF0-3DB5-4966-B520-B7C54FD35ED6")]
-public partial struct DestinationList
+public unsafe partial struct DestinationList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DestinationList));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DriveSizeCategorizer.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DriveSizeCategorizer.cs
index fc22c3648b..5ef72720e6 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DriveSizeCategorizer.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DriveSizeCategorizer.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("94357B53-CA29-4B78-83AE-E8FE7409134F")]
-public partial struct DriveSizeCategorizer
+public unsafe partial struct DriveSizeCategorizer : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DriveSizeCategorizer));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DriveTypeCategorizer.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DriveTypeCategorizer.cs
index 6b1fae5541..b9e75dd959 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/DriveTypeCategorizer.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/DriveTypeCategorizer.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("B0A8F3CF-4333-4BAB-8873-1CCB1CADA48B")]
-public partial struct DriveTypeCategorizer
+public unsafe partial struct DriveTypeCategorizer : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DriveTypeCategorizer));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/EnumerableObjectCollection.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/EnumerableObjectCollection.cs
index c8b2e8c3c6..95544449fd 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/EnumerableObjectCollection.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/EnumerableObjectCollection.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("2D3468C1-36A7-43B6-AC24-D3F02FD9607A")]
-public partial struct EnumerableObjectCollection
+public unsafe partial struct EnumerableObjectCollection : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_EnumerableObjectCollection));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ExecuteUnknown.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ExecuteUnknown.cs
index 5fc9a5d4e7..1f561ca048 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ExecuteUnknown.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ExecuteUnknown.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("E44E9428-BDBC-4987-A099-40DC8FD255E7")]
-public partial struct ExecuteUnknown
+public unsafe partial struct ExecuteUnknown : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ExecuteUnknown));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileOpenDialog.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileOpenDialog.cs
index 1e2663a73c..d8ec0fd284 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileOpenDialog.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileOpenDialog.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("DC1C5A9C-E88A-4DDE-A5A1-60F82A20AEF7")]
-public partial struct FileOpenDialog
+public unsafe partial struct FileOpenDialog : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FileOpenDialog));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileOperation.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileOperation.cs
index fe7dd93c95..aec8a03e31 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileOperation.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileOperation.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("3AD05575-8857-4850-9277-11B85BDB8E09")]
-public partial struct FileOperation
+public unsafe partial struct FileOperation : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FileOperation));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileSaveDialog.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileSaveDialog.cs
index 1dad7831f6..57f09402da 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileSaveDialog.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/FileSaveDialog.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("C0B4E2F3-BA21-4773-8DBA-335EC946EB8B")]
-public partial struct FileSaveDialog
+public unsafe partial struct FileSaveDialog : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FileSaveDialog));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/FrameworkInputPane.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/FrameworkInputPane.cs
index 9b26b5eb1e..17f1805448 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/FrameworkInputPane.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/FrameworkInputPane.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("D5120AA3-46BA-44C5-822D-CA8092C1FC72")]
-public partial struct FrameworkInputPane
+public unsafe partial struct FrameworkInputPane : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FrameworkInputPane));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/FreeSpaceCategorizer.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/FreeSpaceCategorizer.cs
index 21c815874a..9204ee0463 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/FreeSpaceCategorizer.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/FreeSpaceCategorizer.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("B5607793-24AC-44C7-82E2-831726AA6CB7")]
-public partial struct FreeSpaceCategorizer
+public unsafe partial struct FreeSpaceCategorizer : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FreeSpaceCategorizer));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/HomeGroup.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/HomeGroup.cs
index 7f49f261d4..a05b8fdc3a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/HomeGroup.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/HomeGroup.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("DE77BA04-3C92-4D11-A1A5-42352A53E0E3")]
-public partial struct HomeGroup
+public unsafe partial struct HomeGroup : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_HomeGroup));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IActionProgress.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IActionProgress.cs
index 8f7d48fd63..d542fadeaa 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IActionProgress.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IActionProgress.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("49FF1173-EADC-446D-9285-156453A6431C")]
[NativeTypeName("struct IActionProgress : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IActionProgress : IActionProgress.Interface
+public unsafe partial struct IActionProgress : IActionProgress.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IActionProgress));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IActionProgressDialog.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IActionProgressDialog.cs
index c95e7efe82..0ab5756ebb 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IActionProgressDialog.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IActionProgressDialog.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("49FF1172-EADC-446D-9285-156453A6431C")]
[NativeTypeName("struct IActionProgressDialog : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IActionProgressDialog : IActionProgressDialog.Interface
+public unsafe partial struct IActionProgressDialog : IActionProgressDialog.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IActionProgressDialog));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppActivationUIInfo.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppActivationUIInfo.cs
index 60d7a6fc58..ee8510ab1d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppActivationUIInfo.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppActivationUIInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("ABAD189D-9FA3-4278-B3CA-8CA448A88DCB")]
[NativeTypeName("struct IAppActivationUIInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppActivationUIInfo : IAppActivationUIInfo.Interface
+public unsafe partial struct IAppActivationUIInfo : IAppActivationUIInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppActivationUIInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppVisibility.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppVisibility.cs
index 746c44a299..7e9c93bd96 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppVisibility.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppVisibility.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2246EA2D-CAEA-4444-A3C4-6DE827E44313")]
[NativeTypeName("struct IAppVisibility : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppVisibility : IAppVisibility.Interface
+public unsafe partial struct IAppVisibility : IAppVisibility.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppVisibility));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppVisibilityEvents.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppVisibilityEvents.cs
index 7c097dd7d9..f820346566 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppVisibilityEvents.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAppVisibilityEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6584CE6B-7D82-49C2-89C9-C6BC02BA8C38")]
[NativeTypeName("struct IAppVisibilityEvents : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAppVisibilityEvents : IAppVisibilityEvents.Interface
+public unsafe partial struct IAppVisibilityEvents : IAppVisibilityEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAppVisibilityEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationActivationManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationActivationManager.cs
index 7643be0a25..3546d8853f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationActivationManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationActivationManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2E941141-7F97-4756-BA1D-9DECDE894A3D")]
[NativeTypeName("struct IApplicationActivationManager : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IApplicationActivationManager : IApplicationActivationManager.Interface
+public unsafe partial struct IApplicationActivationManager : IApplicationActivationManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IApplicationActivationManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationAssociationRegistration.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationAssociationRegistration.cs
index 80f0c2f379..389a8e4884 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationAssociationRegistration.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationAssociationRegistration.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4E530B0A-E611-4C77-A3AC-9031D022281B")]
[NativeTypeName("struct IApplicationAssociationRegistration : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IApplicationAssociationRegistration : IApplicationAssociationRegistration.Interface
+public unsafe partial struct IApplicationAssociationRegistration : IApplicationAssociationRegistration.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IApplicationAssociationRegistration));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDesignModeSettings.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDesignModeSettings.cs
index 0f4026be00..cccd3fbaf5 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDesignModeSettings.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDesignModeSettings.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2A3DEE9A-E31D-46D6-8508-BCC597DB3557")]
[NativeTypeName("struct IApplicationDesignModeSettings : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IApplicationDesignModeSettings : IApplicationDesignModeSettings.Interface
+public unsafe partial struct IApplicationDesignModeSettings : IApplicationDesignModeSettings.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IApplicationDesignModeSettings));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDesignModeSettings2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDesignModeSettings2.cs
index 72f15c2d10..ca2ab4817c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDesignModeSettings2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDesignModeSettings2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("490514E1-675A-4D6E-A58D-E54901B4CA2F")]
[NativeTypeName("struct IApplicationDesignModeSettings2 : IApplicationDesignModeSettings")]
[NativeInheritance("IApplicationDesignModeSettings")]
-public unsafe partial struct IApplicationDesignModeSettings2 : IApplicationDesignModeSettings2.Interface
+public unsafe partial struct IApplicationDesignModeSettings2 : IApplicationDesignModeSettings2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IApplicationDesignModeSettings2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDestinations.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDestinations.cs
index e16ad0c190..f0aed3e10b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDestinations.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDestinations.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("12337D35-94C6-48A0-BCE7-6A9C69D4D600")]
[NativeTypeName("struct IApplicationDestinations : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IApplicationDestinations : IApplicationDestinations.Interface
+public unsafe partial struct IApplicationDestinations : IApplicationDestinations.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IApplicationDestinations));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDocumentLists.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDocumentLists.cs
index 54275b5f1d..d0be2ae06f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDocumentLists.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IApplicationDocumentLists.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3C594F9F-9F30-47A1-979A-C9E83D3D0A06")]
[NativeTypeName("struct IApplicationDocumentLists : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IApplicationDocumentLists : IApplicationDocumentLists.Interface
+public unsafe partial struct IApplicationDocumentLists : IApplicationDocumentLists.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IApplicationDocumentLists));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAssocHandler.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAssocHandler.cs
index af267d13fa..1160e2971d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAssocHandler.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAssocHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F04061AC-1659-4A3F-A954-775AA57FC083")]
[NativeTypeName("struct IAssocHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAssocHandler : IAssocHandler.Interface
+public unsafe partial struct IAssocHandler : IAssocHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAssocHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAssocHandlerInvoker.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAssocHandlerInvoker.cs
index cac0499e29..ae0f6bfbc0 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAssocHandlerInvoker.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAssocHandlerInvoker.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("92218CAB-ECAA-4335-8133-807FD234C2EE")]
[NativeTypeName("struct IAssocHandlerInvoker : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAssocHandlerInvoker : IAssocHandlerInvoker.Interface
+public unsafe partial struct IAssocHandlerInvoker : IAssocHandlerInvoker.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAssocHandlerInvoker));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAttachmentExecute.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAttachmentExecute.cs
index 944d003818..035eda8373 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAttachmentExecute.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IAttachmentExecute.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("73DB1241-1E85-4581-8E4F-A81E1D0F8C57")]
[NativeTypeName("struct IAttachmentExecute : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAttachmentExecute : IAttachmentExecute.Interface
+public unsafe partial struct IAttachmentExecute : IAttachmentExecute.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAttachmentExecute));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBandSite.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBandSite.cs
index 0528fc71c6..8d5965726a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBandSite.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBandSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4CF504B0-DE96-11D0-8B3F-00A0C911E8E5")]
[NativeTypeName("struct IBandSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IBandSite : IBandSite.Interface
+public unsafe partial struct IBandSite : IBandSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IBandSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBannerNotificationHandler.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBannerNotificationHandler.cs
index acbc4673b1..48bf1efa27 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBannerNotificationHandler.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBannerNotificationHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8D7B2BA7-DB05-46A8-823C-D2B6DE08EE91")]
[NativeTypeName("struct IBannerNotificationHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IBannerNotificationHandler : IBannerNotificationHandler.Interface
+public unsafe partial struct IBannerNotificationHandler : IBannerNotificationHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IBannerNotificationHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBrowserFrameOptions.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBrowserFrameOptions.cs
index a9959206cc..eb3ef269f2 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBrowserFrameOptions.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IBrowserFrameOptions.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("10DF43C8-1DBE-11D3-8B34-006097DF5BD4")]
[NativeTypeName("struct IBrowserFrameOptions : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IBrowserFrameOptions : IBrowserFrameOptions.Interface
+public unsafe partial struct IBrowserFrameOptions : IBrowserFrameOptions.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IBrowserFrameOptions));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICategorizer.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICategorizer.cs
index 73ded2003c..e660cc16a9 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICategorizer.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICategorizer.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A3B14589-9174-49A8-89A3-06A1AE2B9BA7")]
[NativeTypeName("struct ICategorizer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICategorizer : ICategorizer.Interface
+public unsafe partial struct ICategorizer : ICategorizer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICategorizer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICategoryProvider.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICategoryProvider.cs
index 29d46dcc27..7767044003 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICategoryProvider.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICategoryProvider.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9AF64809-5864-4C26-A720-C1F78C086EE3")]
[NativeTypeName("struct ICategoryProvider : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICategoryProvider : ICategoryProvider.Interface
+public unsafe partial struct ICategoryProvider : ICategoryProvider.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICategoryProvider));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IColumnManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IColumnManager.cs
index 2df368e206..e8d8a7cfce 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IColumnManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IColumnManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D8EC27BB-3F3B-4042-B10A-4ACFD924D453")]
[NativeTypeName("struct IColumnManager : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IColumnManager : IColumnManager.Interface
+public unsafe partial struct IColumnManager : IColumnManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IColumnManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICommDlgBrowser.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICommDlgBrowser.cs
index 1f3f0d2446..c2f10d1af6 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICommDlgBrowser.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICommDlgBrowser.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214F1-0000-0000-C000-000000000046")]
[NativeTypeName("struct ICommDlgBrowser : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICommDlgBrowser : ICommDlgBrowser.Interface
+public unsafe partial struct ICommDlgBrowser : ICommDlgBrowser.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICommDlgBrowser));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICommDlgBrowser2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICommDlgBrowser2.cs
index a575d5a888..37fbfda348 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICommDlgBrowser2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICommDlgBrowser2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("10339516-2894-11D2-9039-00C04F8EEB3E")]
[NativeTypeName("struct ICommDlgBrowser2 : ICommDlgBrowser")]
[NativeInheritance("ICommDlgBrowser")]
-public unsafe partial struct ICommDlgBrowser2 : ICommDlgBrowser2.Interface
+public unsafe partial struct ICommDlgBrowser2 : ICommDlgBrowser2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICommDlgBrowser2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContactManagerInterop.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContactManagerInterop.cs
index 50a0a10134..f02aa95bbd 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContactManagerInterop.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContactManagerInterop.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("99EACBA7-E073-43B6-A896-55AFE48A0833")]
[NativeTypeName("struct IContactManagerInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IContactManagerInterop : IContactManagerInterop.Interface
+public unsafe partial struct IContactManagerInterop : IContactManagerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContactManagerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu.cs
index d1b02f88ed..785ddbfead 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214E4-0000-0000-C000-000000000046")]
[NativeTypeName("struct IContextMenu : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IContextMenu : IContextMenu.Interface
+public unsafe partial struct IContextMenu : IContextMenu.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContextMenu));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu2.cs
index e42a6f0ba8..cf62ac1fae 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214F4-0000-0000-C000-000000000046")]
[NativeTypeName("struct IContextMenu2 : IContextMenu")]
[NativeInheritance("IContextMenu")]
-public unsafe partial struct IContextMenu2 : IContextMenu2.Interface
+public unsafe partial struct IContextMenu2 : IContextMenu2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContextMenu2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu3.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu3.cs
index fbc3a844e3..0f8da6844c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu3.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenu3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BCFCE0A0-EC17-11D0-8D10-00A0C90F2719")]
[NativeTypeName("struct IContextMenu3 : IContextMenu2")]
[NativeInheritance("IContextMenu2")]
-public unsafe partial struct IContextMenu3 : IContextMenu3.Interface
+public unsafe partial struct IContextMenu3 : IContextMenu3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContextMenu3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenuCB.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenuCB.cs
index c7648fea50..90af1bbc32 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenuCB.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenuCB.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3409E930-5A39-11D1-83FA-00A0C90DC849")]
[NativeTypeName("struct IContextMenuCB : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IContextMenuCB : IContextMenuCB.Interface
+public unsafe partial struct IContextMenuCB : IContextMenuCB.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContextMenuCB));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenuSite.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenuSite.cs
index 24437caf3e..43144a6c1a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenuSite.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IContextMenuSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0811AEBE-0B87-4C54-9E72-548CF649016B")]
[NativeTypeName("struct IContextMenuSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IContextMenuSite : IContextMenuSite.Interface
+public unsafe partial struct IContextMenuSite : IContextMenuSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IContextMenuSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICreateProcessInputs.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICreateProcessInputs.cs
index 60b663d081..642ca82fd7 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICreateProcessInputs.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICreateProcessInputs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F6EF6140-E26F-4D82-BAC4-E9BA5FD239A8")]
[NativeTypeName("struct ICreateProcessInputs : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICreateProcessInputs : ICreateProcessInputs.Interface
+public unsafe partial struct ICreateProcessInputs : ICreateProcessInputs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICreateProcessInputs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICreatingProcess.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICreatingProcess.cs
index 5ce74cb2bc..e9905c045e 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICreatingProcess.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICreatingProcess.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C2B937A9-3110-4398-8A56-F34C6342D244")]
[NativeTypeName("struct ICreatingProcess : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICreatingProcess : ICreatingProcess.Interface
+public unsafe partial struct ICreatingProcess : ICreatingProcess.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICreatingProcess));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICurrentItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICurrentItem.cs
index 94818d185c..b8c18d35d3 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICurrentItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICurrentItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("240A7174-D653-4A1D-A6D3-D4943CFBFE3D")]
[NativeTypeName("struct ICurrentItem : IRelatedItem")]
[NativeInheritance("IRelatedItem")]
-public unsafe partial struct ICurrentItem : ICurrentItem.Interface
+public unsafe partial struct ICurrentItem : ICurrentItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICurrentItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICustomDestinationList.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICustomDestinationList.cs
index cdf717f19f..d558a425c5 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICustomDestinationList.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ICustomDestinationList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6332DEBF-87B5-4670-90C0-5E57B408A49E")]
[NativeTypeName("struct ICustomDestinationList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICustomDestinationList : ICustomDestinationList.Interface
+public unsafe partial struct ICustomDestinationList : ICustomDestinationList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICustomDestinationList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDataObjectProvider.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDataObjectProvider.cs
index f545614996..3704786b7f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDataObjectProvider.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDataObjectProvider.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3D25F6D6-4B2A-433C-9184-7C33AD35D001")]
[NativeTypeName("struct IDataObjectProvider : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDataObjectProvider : IDataObjectProvider.Interface
+public unsafe partial struct IDataObjectProvider : IDataObjectProvider.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDataObjectProvider));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDataTransferManagerInterop.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDataTransferManagerInterop.cs
index c6e3541c2a..79f201b064 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDataTransferManagerInterop.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDataTransferManagerInterop.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3A3DCD6C-3EAB-43DC-BCDE-45671CE800C8")]
[NativeTypeName("struct IDataTransferManagerInterop : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDataTransferManagerInterop : IDataTransferManagerInterop.Interface
+public unsafe partial struct IDataTransferManagerInterop : IDataTransferManagerInterop.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDataTransferManagerInterop));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDefaultExtractIconInit.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDefaultExtractIconInit.cs
index d1b901c5e3..c0678efa8e 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDefaultExtractIconInit.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDefaultExtractIconInit.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("41DED17D-D6B3-4261-997D-88C60E4B1D58")]
[NativeTypeName("struct IDefaultExtractIconInit : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDefaultExtractIconInit : IDefaultExtractIconInit.Interface
+public unsafe partial struct IDefaultExtractIconInit : IDefaultExtractIconInit.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDefaultExtractIconInit));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDefaultFolderMenuInitialize.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDefaultFolderMenuInitialize.cs
index 7129a7615f..6754b2f6e4 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDefaultFolderMenuInitialize.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDefaultFolderMenuInitialize.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7690AA79-F8FC-4615-A327-36F7D18F5D91")]
[NativeTypeName("struct IDefaultFolderMenuInitialize : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDefaultFolderMenuInitialize : IDefaultFolderMenuInitialize.Interface
+public unsafe partial struct IDefaultFolderMenuInitialize : IDefaultFolderMenuInitialize.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDefaultFolderMenuInitialize));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDelegateFolder.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDelegateFolder.cs
index f6f1e2660a..854e320a9e 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDelegateFolder.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDelegateFolder.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("ADD8BA80-002B-11D0-8F0F-00C04FD7D062")]
[NativeTypeName("struct IDelegateFolder : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDelegateFolder : IDelegateFolder.Interface
+public unsafe partial struct IDelegateFolder : IDelegateFolder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDelegateFolder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDelegateItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDelegateItem.cs
index 9aaf2d37ca..a4a7866b3b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDelegateItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDelegateItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3C5A1C94-C951-4CB7-BB6D-3B93F30CCE93")]
[NativeTypeName("struct IDelegateItem : IRelatedItem")]
[NativeInheritance("IRelatedItem")]
-public unsafe partial struct IDelegateItem : IDelegateItem.Interface
+public unsafe partial struct IDelegateItem : IDelegateItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDelegateItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBand.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBand.cs
index 1a7fa31e15..670ecb0b89 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBand.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBand.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EB0FE172-1A3A-11D0-89B3-00A0C90A90AC")]
[NativeTypeName("struct IDeskBand : IDockingWindow")]
[NativeInheritance("IDockingWindow")]
-public unsafe partial struct IDeskBand : IDeskBand.Interface
+public unsafe partial struct IDeskBand : IDeskBand.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDeskBand));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBandInfo.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBandInfo.cs
index 0d6953eb5f..58911dfd81 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBandInfo.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBandInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("77E425FC-CBF9-4307-BA6A-BB5727745661")]
[NativeTypeName("struct IDeskBandInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDeskBandInfo : IDeskBandInfo.Interface
+public unsafe partial struct IDeskBandInfo : IDeskBandInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDeskBandInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBar.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBar.cs
index 4a9f2a7caa..4420b9ee4a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBar.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDeskBar.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EB0FE173-1A3A-11D0-89B3-00A0C90A90AC")]
[NativeTypeName("struct IDeskBar : IOleWindow")]
[NativeInheritance("IOleWindow")]
-public unsafe partial struct IDeskBar : IDeskBar.Interface
+public unsafe partial struct IDeskBar : IDeskBar.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDeskBar));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDesktopWallpaper.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDesktopWallpaper.cs
index 0ec8188283..9fad1f4b86 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDesktopWallpaper.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDesktopWallpaper.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B92B56A9-8B55-4E14-9A89-0199BBB6F93B")]
[NativeTypeName("struct IDesktopWallpaper : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDesktopWallpaper : IDesktopWallpaper.Interface
+public unsafe partial struct IDesktopWallpaper : IDesktopWallpaper.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDesktopWallpaper));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDestinationStreamFactory.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDestinationStreamFactory.cs
index 40bcbb2098..670ff1a12b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDestinationStreamFactory.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDestinationStreamFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8A87781B-39A7-4A1F-AAB3-A39B9C34A7D9")]
[NativeTypeName("struct IDestinationStreamFactory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDestinationStreamFactory : IDestinationStreamFactory.Interface
+public unsafe partial struct IDestinationStreamFactory : IDestinationStreamFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDestinationStreamFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDisplayItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDisplayItem.cs
index b9a4afa6e5..42ec7a97c7 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDisplayItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDisplayItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C6FD5997-9F6B-4888-8703-94E80E8CDE3F")]
[NativeTypeName("struct IDisplayItem : IRelatedItem")]
[NativeInheritance("IRelatedItem")]
-public unsafe partial struct IDisplayItem : IDisplayItem.Interface
+public unsafe partial struct IDisplayItem : IDisplayItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDisplayItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDockingWindow.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDockingWindow.cs
index a91a0a7d24..1221b1e610 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDockingWindow.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDockingWindow.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("012DD920-7B26-11D0-8CA9-00A0C92DBFE8")]
[NativeTypeName("struct IDockingWindow : IOleWindow")]
[NativeInheritance("IOleWindow")]
-public unsafe partial struct IDockingWindow : IDockingWindow.Interface
+public unsafe partial struct IDockingWindow : IDockingWindow.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDockingWindow));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDragSourceHelper.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDragSourceHelper.cs
index c93a7d348b..b7438f9c66 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDragSourceHelper.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDragSourceHelper.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DE5BF786-477A-11D2-839D-00C04FD918D0")]
[NativeTypeName("struct IDragSourceHelper : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDragSourceHelper : IDragSourceHelper.Interface
+public unsafe partial struct IDragSourceHelper : IDragSourceHelper.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDragSourceHelper));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDropTargetHelper.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDropTargetHelper.cs
index 477f6752ca..52c151bdcf 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDropTargetHelper.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IDropTargetHelper.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4657278B-411B-11D2-839A-00C04FD918D0")]
[NativeTypeName("struct IDropTargetHelper : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDropTargetHelper : IDropTargetHelper.Interface
+public unsafe partial struct IDropTargetHelper : IDropTargetHelper.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDropTargetHelper));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumAssocHandlers.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumAssocHandlers.cs
index 499a9598d8..48fe4e0528 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumAssocHandlers.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumAssocHandlers.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("973810AE-9599-4B88-9E4D-6EE98C9552DA")]
[NativeTypeName("struct IEnumAssocHandlers : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumAssocHandlers : IEnumAssocHandlers.Interface
+public unsafe partial struct IEnumAssocHandlers : IEnumAssocHandlers.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumAssocHandlers));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumExplorerCommand.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumExplorerCommand.cs
index f9af3bd8ff..cad8e10337 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumExplorerCommand.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumExplorerCommand.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A88826F8-186F-4987-AADE-EA0CEF8FBFE8")]
[NativeTypeName("struct IEnumExplorerCommand : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumExplorerCommand : IEnumExplorerCommand.Interface
+public unsafe partial struct IEnumExplorerCommand : IEnumExplorerCommand.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumExplorerCommand));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumExtraSearch.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumExtraSearch.cs
index 561ffbefff..767e9acb46 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumExtraSearch.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumExtraSearch.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0E700BE1-9DB6-11D1-A1CE-00C04FD75D13")]
[NativeTypeName("struct IEnumExtraSearch : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumExtraSearch : IEnumExtraSearch.Interface
+public unsafe partial struct IEnumExtraSearch : IEnumExtraSearch.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumExtraSearch));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumFullIDList.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumFullIDList.cs
index 48bcc20c6f..a446a78320 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumFullIDList.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumFullIDList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D0191542-7954-4908-BC06-B2360BBE45BA")]
[NativeTypeName("struct IEnumFullIDList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumFullIDList : IEnumFullIDList.Interface
+public unsafe partial struct IEnumFullIDList : IEnumFullIDList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumFullIDList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumIDList.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumIDList.cs
index 8298acc25c..9f773a3c8f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumIDList.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumIDList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214F2-0000-0000-C000-000000000046")]
[NativeTypeName("struct IEnumIDList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumIDList : IEnumIDList.Interface
+public unsafe partial struct IEnumIDList : IEnumIDList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumIDList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumObjects.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumObjects.cs
index 756894fbb7..bc2a09b7cc 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumObjects.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumObjects.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2C1C7E2E-2D0E-4059-831E-1E6F82335C2E")]
[NativeTypeName("struct IEnumObjects : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumObjects : IEnumObjects.Interface
+public unsafe partial struct IEnumObjects : IEnumObjects.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumObjects));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumResources.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumResources.cs
index 9c2bdf5629..07e4d74851 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumResources.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumResources.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2DD81FE3-A83C-4DA9-A330-47249D345BA1")]
[NativeTypeName("struct IEnumResources : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumResources : IEnumResources.Interface
+public unsafe partial struct IEnumResources : IEnumResources.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumResources));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumShellItems.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumShellItems.cs
index ae71ea0ac6..5289774673 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumShellItems.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IEnumShellItems.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("70629033-E363-4A28-A567-0DB78006E6D7")]
[NativeTypeName("struct IEnumShellItems : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumShellItems : IEnumShellItems.Interface
+public unsafe partial struct IEnumShellItems : IEnumShellItems.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumShellItems));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommand.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommand.cs
index 3491d01613..e0908e1146 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommand.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommand.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7F9185B0-CB92-43C5-80A9-92277A4F7B54")]
[NativeTypeName("struct IExecuteCommand : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExecuteCommand : IExecuteCommand.Interface
+public unsafe partial struct IExecuteCommand : IExecuteCommand.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExecuteCommand));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommandApplicationHostEnvironment.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommandApplicationHostEnvironment.cs
index d3eefa3830..59a5bad9e2 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommandApplicationHostEnvironment.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommandApplicationHostEnvironment.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("18B21AA9-E184-4FF0-9F5E-F882D03771B3")]
[NativeTypeName("struct IExecuteCommandApplicationHostEnvironment : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExecuteCommandApplicationHostEnvironment : IExecuteCommandApplicationHostEnvironment.Interface
+public unsafe partial struct IExecuteCommandApplicationHostEnvironment : IExecuteCommandApplicationHostEnvironment.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExecuteCommandApplicationHostEnvironment));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommandHost.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommandHost.cs
index 00b4320c05..8e840ed037 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommandHost.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExecuteCommandHost.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4B6832A2-5F04-4C9D-B89D-727A15D103E7")]
[NativeTypeName("struct IExecuteCommandHost : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExecuteCommandHost : IExecuteCommandHost.Interface
+public unsafe partial struct IExecuteCommandHost : IExecuteCommandHost.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExecuteCommandHost));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerBrowser.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerBrowser.cs
index a9ac039a42..f8dbbbbe69 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerBrowser.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerBrowser.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DFD3B6B5-C10C-4BE9-85F6-A66969F402F6")]
[NativeTypeName("struct IExplorerBrowser : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExplorerBrowser : IExplorerBrowser.Interface
+public unsafe partial struct IExplorerBrowser : IExplorerBrowser.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExplorerBrowser));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerBrowserEvents.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerBrowserEvents.cs
index f7b54abea4..983b46058f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerBrowserEvents.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerBrowserEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("361BBDC7-E6EE-4E13-BE58-58E2240C810F")]
[NativeTypeName("struct IExplorerBrowserEvents : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExplorerBrowserEvents : IExplorerBrowserEvents.Interface
+public unsafe partial struct IExplorerBrowserEvents : IExplorerBrowserEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExplorerBrowserEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommand.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommand.cs
index 540ac0a545..2595c9ed2b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommand.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommand.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A08CE4D0-FA25-44AB-B57C-C7B1C323E0B9")]
[NativeTypeName("struct IExplorerCommand : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExplorerCommand : IExplorerCommand.Interface
+public unsafe partial struct IExplorerCommand : IExplorerCommand.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExplorerCommand));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommandProvider.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommandProvider.cs
index b18bd5255a..94c16f22f3 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommandProvider.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommandProvider.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("64961751-0835-43C0-8FFE-D57686530E64")]
[NativeTypeName("struct IExplorerCommandProvider : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExplorerCommandProvider : IExplorerCommandProvider.Interface
+public unsafe partial struct IExplorerCommandProvider : IExplorerCommandProvider.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExplorerCommandProvider));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommandState.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommandState.cs
index b4572d5a55..c972b588fc 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommandState.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerCommandState.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BDDACB60-7657-47AE-8445-D23E1ACF82AE")]
[NativeTypeName("struct IExplorerCommandState : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExplorerCommandState : IExplorerCommandState.Interface
+public unsafe partial struct IExplorerCommandState : IExplorerCommandState.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExplorerCommandState));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerPaneVisibility.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerPaneVisibility.cs
index 3ad8ded709..c9de0c208e 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerPaneVisibility.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExplorerPaneVisibility.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E07010EC-BC17-44C0-97B0-46C7C95B9EDC")]
[NativeTypeName("struct IExplorerPaneVisibility : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExplorerPaneVisibility : IExplorerPaneVisibility.Interface
+public unsafe partial struct IExplorerPaneVisibility : IExplorerPaneVisibility.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExplorerPaneVisibility));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExtractImage.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExtractImage.cs
index 718f6d793f..1020bd7e63 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExtractImage.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExtractImage.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BB2E617C-0920-11D1-9A0B-00C04FC2D6C1")]
[NativeTypeName("struct IExtractImage : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExtractImage : IExtractImage.Interface
+public unsafe partial struct IExtractImage : IExtractImage.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExtractImage));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExtractImage2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExtractImage2.cs
index 8acc773808..528578638a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExtractImage2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IExtractImage2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("953BB1EE-93B4-11D1-98A3-00C04FB687DA")]
[NativeTypeName("struct IExtractImage2 : IExtractImage")]
[NativeInheritance("IExtractImage")]
-public unsafe partial struct IExtractImage2 : IExtractImage2.Interface
+public unsafe partial struct IExtractImage2 : IExtractImage2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExtractImage2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialog.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialog.cs
index 838104a99d..59e51257c6 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialog.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialog.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("42F85136-DB7E-439C-85F1-E4075D135FC8")]
[NativeTypeName("struct IFileDialog : IModalWindow")]
[NativeInheritance("IModalWindow")]
-public unsafe partial struct IFileDialog : IFileDialog.Interface
+public unsafe partial struct IFileDialog : IFileDialog.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileDialog));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialogCustomize.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialogCustomize.cs
index 3ab75699f3..7be1ccf91d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialogCustomize.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialogCustomize.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E6FDD21A-163F-4975-9C8C-A69F1BA37034")]
[NativeTypeName("struct IFileDialogCustomize : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFileDialogCustomize : IFileDialogCustomize.Interface
+public unsafe partial struct IFileDialogCustomize : IFileDialogCustomize.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileDialogCustomize));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialogEvents.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialogEvents.cs
index 41ae4ee460..6cdb6ab4c8 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialogEvents.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileDialogEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("973510DB-7D7F-452B-8975-74A85828D354")]
[NativeTypeName("struct IFileDialogEvents : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFileDialogEvents : IFileDialogEvents.Interface
+public unsafe partial struct IFileDialogEvents : IFileDialogEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileDialogEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileIsInUse.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileIsInUse.cs
index 746f35436b..3217252104 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileIsInUse.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileIsInUse.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("64A1CBF0-3A1A-4461-9158-376969693950")]
[NativeTypeName("struct IFileIsInUse : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFileIsInUse : IFileIsInUse.Interface
+public unsafe partial struct IFileIsInUse : IFileIsInUse.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileIsInUse));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOpenDialog.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOpenDialog.cs
index 55ecd72fab..7510675896 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOpenDialog.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOpenDialog.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D57C7288-D4AD-4768-BE02-9D969532D960")]
[NativeTypeName("struct IFileOpenDialog : IFileDialog")]
[NativeInheritance("IFileDialog")]
-public unsafe partial struct IFileOpenDialog : IFileOpenDialog.Interface
+public unsafe partial struct IFileOpenDialog : IFileOpenDialog.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileOpenDialog));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperation.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperation.cs
index bd90bc3932..3f1efab397 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperation.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("947AAB5F-0A5C-4C13-B4D6-4BF7836FC9F8")]
[NativeTypeName("struct IFileOperation : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFileOperation : IFileOperation.Interface
+public unsafe partial struct IFileOperation : IFileOperation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileOperation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperation2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperation2.cs
index e3cd8fd689..31ac1cad4c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperation2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperation2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CD8F23C1-8F61-4916-909D-55BDD0918753")]
[NativeTypeName("struct IFileOperation2 : IFileOperation")]
[NativeInheritance("IFileOperation")]
-public unsafe partial struct IFileOperation2 : IFileOperation2.Interface
+public unsafe partial struct IFileOperation2 : IFileOperation2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileOperation2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperationProgressSink.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperationProgressSink.cs
index 91f7c414ec..53c1e80701 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperationProgressSink.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileOperationProgressSink.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("04B0F1A7-9490-44BC-96E1-4296A31252E2")]
[NativeTypeName("struct IFileOperationProgressSink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFileOperationProgressSink : IFileOperationProgressSink.Interface
+public unsafe partial struct IFileOperationProgressSink : IFileOperationProgressSink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileOperationProgressSink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSaveDialog.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSaveDialog.cs
index f22cfb1c31..1d1b6aae3a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSaveDialog.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSaveDialog.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("84BCCD23-5FDE-4CDB-AEA4-AF64B83D78AB")]
[NativeTypeName("struct IFileSaveDialog : IFileDialog")]
[NativeInheritance("IFileDialog")]
-public unsafe partial struct IFileSaveDialog : IFileSaveDialog.Interface
+public unsafe partial struct IFileSaveDialog : IFileSaveDialog.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileSaveDialog));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSyncMergeHandler.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSyncMergeHandler.cs
index b3b2c066c2..b6efa0e7d2 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSyncMergeHandler.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSyncMergeHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D97B5AAC-C792-433C-975D-35C4EADC7A9D")]
[NativeTypeName("struct IFileSyncMergeHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFileSyncMergeHandler : IFileSyncMergeHandler.Interface
+public unsafe partial struct IFileSyncMergeHandler : IFileSyncMergeHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileSyncMergeHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSystemBindData.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSystemBindData.cs
index 60182f338a..e76cf9c514 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSystemBindData.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSystemBindData.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("01E18D10-4D8B-11D2-855D-006008059367")]
[NativeTypeName("struct IFileSystemBindData : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFileSystemBindData : IFileSystemBindData.Interface
+public unsafe partial struct IFileSystemBindData : IFileSystemBindData.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileSystemBindData));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSystemBindData2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSystemBindData2.cs
index 007ea0af90..4e5a89feef 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSystemBindData2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFileSystemBindData2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3ACF075F-71DB-4AFA-81F0-3FC4FDF2A5B8")]
[NativeTypeName("struct IFileSystemBindData2 : IFileSystemBindData")]
[NativeInheritance("IFileSystemBindData")]
-public unsafe partial struct IFileSystemBindData2 : IFileSystemBindData2.Interface
+public unsafe partial struct IFileSystemBindData2 : IFileSystemBindData2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileSystemBindData2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderFilter.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderFilter.cs
index 3326ad1bc5..c2b305d68d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderFilter.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderFilter.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9CC22886-DC8E-11D2-B1D0-00C04F8EEB3E")]
[NativeTypeName("struct IFolderFilter : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFolderFilter : IFolderFilter.Interface
+public unsafe partial struct IFolderFilter : IFolderFilter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFolderFilter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderFilterSite.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderFilterSite.cs
index f4ff256179..883d1d4e66 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderFilterSite.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderFilterSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C0A651F5-B48B-11D2-B5ED-006097C686F6")]
[NativeTypeName("struct IFolderFilterSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFolderFilterSite : IFolderFilterSite.Interface
+public unsafe partial struct IFolderFilterSite : IFolderFilterSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFolderFilterSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView.cs
index 43889e9807..caedcb0c3c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CDE725B0-CCC9-4519-917E-325D72FAB4CE")]
[NativeTypeName("struct IFolderView : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFolderView : IFolderView.Interface
+public unsafe partial struct IFolderView : IFolderView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFolderView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView2.cs
index cf62f910d6..d34eecfbcf 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderView2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1AF3A467-214F-4298-908E-06B03E0B39F9")]
[NativeTypeName("struct IFolderView2 : IFolderView")]
[NativeInheritance("IFolderView")]
-public unsafe partial struct IFolderView2 : IFolderView2.Interface
+public unsafe partial struct IFolderView2 : IFolderView2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFolderView2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderViewSettings.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderViewSettings.cs
index 2a89a94db6..e52138ea2f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderViewSettings.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFolderViewSettings.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("AE8C987D-8797-4ED3-BE72-2A47DD938DB0")]
[NativeTypeName("struct IFolderViewSettings : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFolderViewSettings : IFolderViewSettings.Interface
+public unsafe partial struct IFolderViewSettings : IFolderViewSettings.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFolderViewSettings));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFrameworkInputPane.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFrameworkInputPane.cs
index 4389cc02f7..bf9ece988d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFrameworkInputPane.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFrameworkInputPane.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("5752238B-24F0-495A-82F1-2FD593056796")]
[NativeTypeName("struct IFrameworkInputPane : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFrameworkInputPane : IFrameworkInputPane.Interface
+public unsafe partial struct IFrameworkInputPane : IFrameworkInputPane.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFrameworkInputPane));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFrameworkInputPaneHandler.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFrameworkInputPaneHandler.cs
index bc60d53bb1..017697a4b0 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFrameworkInputPaneHandler.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IFrameworkInputPaneHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("226C537B-1E76-4D9E-A760-33DB29922F18")]
[NativeTypeName("struct IFrameworkInputPaneHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IFrameworkInputPaneHandler : IFrameworkInputPaneHandler.Interface
+public unsafe partial struct IFrameworkInputPaneHandler : IFrameworkInputPaneHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFrameworkInputPaneHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IGetServiceIds.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IGetServiceIds.cs
index 9e51317019..ac252630e1 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IGetServiceIds.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IGetServiceIds.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4A073526-6103-4E21-B7BC-F519D1524E5D")]
[NativeTypeName("struct IGetServiceIds : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IGetServiceIds : IGetServiceIds.Interface
+public unsafe partial struct IGetServiceIds : IGetServiceIds.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IGetServiceIds));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerActivationHost.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerActivationHost.cs
index cf00d12674..94b037f9ba 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerActivationHost.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerActivationHost.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("35094A87-8BB1-4237-96C6-C417EEBDB078")]
[NativeTypeName("struct IHandlerActivationHost : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHandlerActivationHost : IHandlerActivationHost.Interface
+public unsafe partial struct IHandlerActivationHost : IHandlerActivationHost.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHandlerActivationHost));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerInfo.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerInfo.cs
index f054214a06..71059dfd4a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerInfo.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("997706EF-F880-453B-8118-39E1A2D2655A")]
[NativeTypeName("struct IHandlerInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHandlerInfo : IHandlerInfo.Interface
+public unsafe partial struct IHandlerInfo : IHandlerInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHandlerInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerInfo2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerInfo2.cs
index 367dd74d9a..5005761112 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerInfo2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHandlerInfo2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("31CCA04C-04D3-4EA9-90DE-97B15E87A532")]
[NativeTypeName("struct IHandlerInfo2 : IHandlerInfo")]
[NativeInheritance("IHandlerInfo")]
-public unsafe partial struct IHandlerInfo2 : IHandlerInfo2.Interface
+public unsafe partial struct IHandlerInfo2 : IHandlerInfo2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHandlerInfo2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHomeGroup.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHomeGroup.cs
index e0bf62fb5b..cdf2589344 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHomeGroup.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IHomeGroup.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7A3BD1D9-35A9-4FB3-A467-F48CAC35E2D0")]
[NativeTypeName("struct IHomeGroup : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IHomeGroup : IHomeGroup.Interface
+public unsafe partial struct IHomeGroup : IHomeGroup.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IHomeGroup));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IIOCancelInformation.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IIOCancelInformation.cs
index 1b8236089a..260c4c93df 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IIOCancelInformation.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IIOCancelInformation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F5B0BF81-8CB5-4B1B-9449-1A159E0C733C")]
[NativeTypeName("struct IIOCancelInformation : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IIOCancelInformation : IIOCancelInformation.Interface
+public unsafe partial struct IIOCancelInformation : IIOCancelInformation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IIOCancelInformation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IIdentityName.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IIdentityName.cs
index fac54b7af7..55d6051d91 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IIdentityName.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IIdentityName.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7D903FCA-D6F9-4810-8332-946C0177E247")]
[NativeTypeName("struct IIdentityName : IRelatedItem")]
[NativeInheritance("IRelatedItem")]
-public unsafe partial struct IIdentityName : IIdentityName.Interface
+public unsafe partial struct IIdentityName : IIdentityName.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IIdentityName));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeCommand.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeCommand.cs
index 30742cf1ee..8dbf530063 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeCommand.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeCommand.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("85075ACF-231F-40EA-9610-D26B7B58F638")]
[NativeTypeName("struct IInitializeCommand : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInitializeCommand : IInitializeCommand.Interface
+public unsafe partial struct IInitializeCommand : IInitializeCommand.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInitializeCommand));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeNetworkFolder.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeNetworkFolder.cs
index e96ed5d073..5a17b8f72c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeNetworkFolder.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeNetworkFolder.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6E0F9881-42A8-4F2A-97F8-8AF4E026D92D")]
[NativeTypeName("struct IInitializeNetworkFolder : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInitializeNetworkFolder : IInitializeNetworkFolder.Interface
+public unsafe partial struct IInitializeNetworkFolder : IInitializeNetworkFolder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInitializeNetworkFolder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithBindCtx.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithBindCtx.cs
index e11f0e2738..1bf680ced8 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithBindCtx.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithBindCtx.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("71C0D2BC-726D-45CC-A6C0-2E31C1DB2159")]
[NativeTypeName("struct IInitializeWithBindCtx : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInitializeWithBindCtx : IInitializeWithBindCtx.Interface
+public unsafe partial struct IInitializeWithBindCtx : IInitializeWithBindCtx.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInitializeWithBindCtx));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithItem.cs
index 34872ede86..4af3198497 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7F73BE3F-FB79-493C-A6C7-7EE14E245841")]
[NativeTypeName("struct IInitializeWithItem : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInitializeWithItem : IInitializeWithItem.Interface
+public unsafe partial struct IInitializeWithItem : IInitializeWithItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInitializeWithItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithPropertyStore.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithPropertyStore.cs
index 4b8315c3e8..d8c12d58f4 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithPropertyStore.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithPropertyStore.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C3E12EB5-7D8D-44F8-B6DD-0E77B34D6DE4")]
[NativeTypeName("struct IInitializeWithPropertyStore : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInitializeWithPropertyStore : IInitializeWithPropertyStore.Interface
+public unsafe partial struct IInitializeWithPropertyStore : IInitializeWithPropertyStore.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInitializeWithPropertyStore));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithWindow.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithWindow.cs
index e5f8c3a06d..0f610d4ab1 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithWindow.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInitializeWithWindow.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3E68D4BD-7135-4D10-8018-9FB6D9F33FA1")]
[NativeTypeName("struct IInitializeWithWindow : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInitializeWithWindow : IInitializeWithWindow.Interface
+public unsafe partial struct IInitializeWithWindow : IInitializeWithWindow.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInitializeWithWindow));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObject.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObject.cs
index 5cc90f996d..a766d417fe 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObject.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObject.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("68284FAA-6A48-11D0-8C78-00C04FD918B4")]
[NativeTypeName("struct IInputObject : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInputObject : IInputObject.Interface
+public unsafe partial struct IInputObject : IInputObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInputObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObject2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObject2.cs
index c9448a3a92..be6dde8119 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObject2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObject2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6915C085-510B-44CD-94AF-28DFA56CF92B")]
[NativeTypeName("struct IInputObject2 : IInputObject")]
[NativeInheritance("IInputObject")]
-public unsafe partial struct IInputObject2 : IInputObject2.Interface
+public unsafe partial struct IInputObject2 : IInputObject2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInputObject2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObjectSite.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObjectSite.cs
index 6febccd657..6ffbddfca0 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObjectSite.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IInputObjectSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F1DB8392-7331-11D0-8C99-00A0C92DBFE8")]
[NativeTypeName("struct IInputObjectSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInputObjectSite : IInputObjectSite.Interface
+public unsafe partial struct IInputObjectSite : IInputObjectSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInputObjectSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IItemNameLimits.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IItemNameLimits.cs
index 4e33b9baa2..a573caafd5 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IItemNameLimits.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IItemNameLimits.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1DF0D7F1-B267-4D28-8B10-12E23202A5C4")]
[NativeTypeName("struct IItemNameLimits : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IItemNameLimits : IItemNameLimits.Interface
+public unsafe partial struct IItemNameLimits : IItemNameLimits.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IItemNameLimits));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IKnownFolder.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IKnownFolder.cs
index f9b968e4c1..de3554ebbc 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IKnownFolder.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IKnownFolder.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3AA7AF7E-9B36-420C-A8E3-F77D4674A488")]
[NativeTypeName("struct IKnownFolder : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IKnownFolder : IKnownFolder.Interface
+public unsafe partial struct IKnownFolder : IKnownFolder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IKnownFolder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IKnownFolderManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IKnownFolderManager.cs
index 21a150bd1c..bac16cb014 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IKnownFolderManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IKnownFolderManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8BE2D872-86AA-4D47-B776-32CCA40C7018")]
[NativeTypeName("struct IKnownFolderManager : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IKnownFolderManager : IKnownFolderManager.Interface
+public unsafe partial struct IKnownFolderManager : IKnownFolderManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IKnownFolderManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchSourceAppUserModelId.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchSourceAppUserModelId.cs
index 1c83920a30..55ba87625d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchSourceAppUserModelId.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchSourceAppUserModelId.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("989191AC-28FF-4CF0-9584-E0D078BC2396")]
[NativeTypeName("struct ILaunchSourceAppUserModelId : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ILaunchSourceAppUserModelId : ILaunchSourceAppUserModelId.Interface
+public unsafe partial struct ILaunchSourceAppUserModelId : ILaunchSourceAppUserModelId.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILaunchSourceAppUserModelId));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchSourceViewSizePreference.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchSourceViewSizePreference.cs
index 47a4608e94..7091db73c4 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchSourceViewSizePreference.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchSourceViewSizePreference.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E5AA01F7-1FB8-4830-8720-4E6734CBD5F3")]
[NativeTypeName("struct ILaunchSourceViewSizePreference : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ILaunchSourceViewSizePreference : ILaunchSourceViewSizePreference.Interface
+public unsafe partial struct ILaunchSourceViewSizePreference : ILaunchSourceViewSizePreference.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILaunchSourceViewSizePreference));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchTargetMonitor.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchTargetMonitor.cs
index 5f33bd37c0..ec9815affc 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchTargetMonitor.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchTargetMonitor.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("266FBC7E-490D-46ED-A96B-2274DB252003")]
[NativeTypeName("struct ILaunchTargetMonitor : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ILaunchTargetMonitor : ILaunchTargetMonitor.Interface
+public unsafe partial struct ILaunchTargetMonitor : ILaunchTargetMonitor.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILaunchTargetMonitor));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchTargetViewSizePreference.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchTargetViewSizePreference.cs
index 77c70c0b66..bb71d6c7f7 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchTargetViewSizePreference.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchTargetViewSizePreference.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2F0666C6-12F7-4360-B511-A394A0553725")]
[NativeTypeName("struct ILaunchTargetViewSizePreference : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ILaunchTargetViewSizePreference : ILaunchTargetViewSizePreference.Interface
+public unsafe partial struct ILaunchTargetViewSizePreference : ILaunchTargetViewSizePreference.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILaunchTargetViewSizePreference));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchUIContext.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchUIContext.cs
index 742beba0d5..3f8cb70d16 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchUIContext.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchUIContext.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1791E8F6-21C7-4340-882A-A6A93E3FD73B")]
[NativeTypeName("struct ILaunchUIContext : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ILaunchUIContext : ILaunchUIContext.Interface
+public unsafe partial struct ILaunchUIContext : ILaunchUIContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILaunchUIContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchUIContextProvider.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchUIContextProvider.cs
index df3375bf1c..6c4aa64d64 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchUIContextProvider.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ILaunchUIContextProvider.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0D12C4C8-A3D9-4E24-94C1-0E20C5A956C4")]
[NativeTypeName("struct ILaunchUIContextProvider : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ILaunchUIContextProvider : ILaunchUIContextProvider.Interface
+public unsafe partial struct ILaunchUIContextProvider : ILaunchUIContextProvider.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ILaunchUIContextProvider));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IMenuBand.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IMenuBand.cs
index 6f55e99550..be6e18461e 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IMenuBand.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IMenuBand.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("568804CD-CBD7-11D0-9816-00C04FD91972")]
[NativeTypeName("struct IMenuBand : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMenuBand : IMenuBand.Interface
+public unsafe partial struct IMenuBand : IMenuBand.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMenuBand));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IMenuPopup.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IMenuPopup.cs
index 4cc91cc1a8..c3ac770d32 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IMenuPopup.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IMenuPopup.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D1E7AFEB-6A2E-11D0-8C78-00C04FD918B4")]
[NativeTypeName("struct IMenuPopup : IDeskBar")]
[NativeInheritance("IDeskBar")]
-public unsafe partial struct IMenuPopup : IMenuPopup.Interface
+public unsafe partial struct IMenuPopup : IMenuPopup.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMenuPopup));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IModalWindow.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IModalWindow.cs
index c1db83dde3..17db0c7fb3 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IModalWindow.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IModalWindow.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B4DB1657-70D7-485E-8E3E-6FCB5A5C1802")]
[NativeTypeName("struct IModalWindow : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IModalWindow : IModalWindow.Interface
+public unsafe partial struct IModalWindow : IModalWindow.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IModalWindow));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INameSpaceTreeControl.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INameSpaceTreeControl.cs
index 64eda1afd2..8b9465c139 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INameSpaceTreeControl.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INameSpaceTreeControl.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("028212A3-B627-47E9-8856-C14265554E4F")]
[NativeTypeName("struct INameSpaceTreeControl : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INameSpaceTreeControl : INameSpaceTreeControl.Interface
+public unsafe partial struct INameSpaceTreeControl : INameSpaceTreeControl.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INameSpaceTreeControl));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INameSpaceTreeControlFolderCapabilities.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INameSpaceTreeControlFolderCapabilities.cs
index 32f442512c..58c3e25f84 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INameSpaceTreeControlFolderCapabilities.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INameSpaceTreeControlFolderCapabilities.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E9701183-E6B3-4FF2-8568-813615FEC7BE")]
[NativeTypeName("struct INameSpaceTreeControlFolderCapabilities : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INameSpaceTreeControlFolderCapabilities : INameSpaceTreeControlFolderCapabilities.Interface
+public unsafe partial struct INameSpaceTreeControlFolderCapabilities : INameSpaceTreeControlFolderCapabilities.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INameSpaceTreeControlFolderCapabilities));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalk.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalk.cs
index 897a0ee817..d1aa96a2c6 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalk.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalk.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("57CED8A7-3F4A-432C-9350-30F24483F74F")]
[NativeTypeName("struct INamespaceWalk : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INamespaceWalk : INamespaceWalk.Interface
+public unsafe partial struct INamespaceWalk : INamespaceWalk.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INamespaceWalk));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalkCB.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalkCB.cs
index 0beaee317e..523d79abda 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalkCB.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalkCB.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D92995F8-CF5E-4A76-BF59-EAD39EA2B97E")]
[NativeTypeName("struct INamespaceWalkCB : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INamespaceWalkCB : INamespaceWalkCB.Interface
+public unsafe partial struct INamespaceWalkCB : INamespaceWalkCB.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INamespaceWalkCB));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalkCB2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalkCB2.cs
index ab1e94ece1..8bdd48a875 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalkCB2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INamespaceWalkCB2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7AC7492B-C38E-438A-87DB-68737844FF70")]
[NativeTypeName("struct INamespaceWalkCB2 : INamespaceWalkCB")]
[NativeInheritance("INamespaceWalkCB")]
-public unsafe partial struct INamespaceWalkCB2 : INamespaceWalkCB2.Interface
+public unsafe partial struct INamespaceWalkCB2 : INamespaceWalkCB2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INamespaceWalkCB2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INetworkFolderInternal.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INetworkFolderInternal.cs
index 3c5a5fbab7..0944ff1314 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INetworkFolderInternal.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INetworkFolderInternal.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CEB38218-C971-47BB-A703-F0BC99CCDB81")]
[NativeTypeName("struct INetworkFolderInternal : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INetworkFolderInternal : INetworkFolderInternal.Interface
+public unsafe partial struct INetworkFolderInternal : INetworkFolderInternal.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INetworkFolderInternal));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INewMenuClient.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INewMenuClient.cs
index aff18a0ad5..41237ee5f3 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INewMenuClient.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INewMenuClient.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DCB07FDC-3BB5-451C-90BE-966644FED7B0")]
[NativeTypeName("struct INewMenuClient : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INewMenuClient : INewMenuClient.Interface
+public unsafe partial struct INewMenuClient : INewMenuClient.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INewMenuClient));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INewWindowManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INewWindowManager.cs
index b69ef9389f..cfb92328b1 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/INewWindowManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/INewWindowManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D2BC4C84-3F72-4A52-A604-7BCBF3982CBB")]
[NativeTypeName("struct INewWindowManager : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INewWindowManager : INewWindowManager.Interface
+public unsafe partial struct INewWindowManager : INewWindowManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INewWindowManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectProvider.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectProvider.cs
index 0861949aeb..de374fe23c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectProvider.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectProvider.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A6087428-3BE3-4D73-B308-7C04A540BF1A")]
[NativeTypeName("struct IObjectProvider : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IObjectProvider : IObjectProvider.Interface
+public unsafe partial struct IObjectProvider : IObjectProvider.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IObjectProvider));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithAppUserModelID.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithAppUserModelID.cs
index ebff2a48e0..d15917387c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithAppUserModelID.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithAppUserModelID.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("36DB0196-9665-46D1-9BA7-D3709EECF9ED")]
[NativeTypeName("struct IObjectWithAppUserModelID : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IObjectWithAppUserModelID : IObjectWithAppUserModelID.Interface
+public unsafe partial struct IObjectWithAppUserModelID : IObjectWithAppUserModelID.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IObjectWithAppUserModelID));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithBackReferences.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithBackReferences.cs
index afc09e4ab3..0fa1810eb8 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithBackReferences.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithBackReferences.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("321A6A6A-D61F-4BF3-97AE-14BE2986BB36")]
[NativeTypeName("struct IObjectWithBackReferences : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IObjectWithBackReferences : IObjectWithBackReferences.Interface
+public unsafe partial struct IObjectWithBackReferences : IObjectWithBackReferences.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IObjectWithBackReferences));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithCancelEvent.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithCancelEvent.cs
index d15dcfefa9..7880823dce 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithCancelEvent.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithCancelEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F279B885-0AE9-4B85-AC06-DDECF9408941")]
[NativeTypeName("struct IObjectWithCancelEvent : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IObjectWithCancelEvent : IObjectWithCancelEvent.Interface
+public unsafe partial struct IObjectWithCancelEvent : IObjectWithCancelEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IObjectWithCancelEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithFolderEnumMode.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithFolderEnumMode.cs
index 8607a7c38d..a5b6a9e86d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithFolderEnumMode.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithFolderEnumMode.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6A9D9026-0E6E-464C-B000-42ECC07DE673")]
[NativeTypeName("struct IObjectWithFolderEnumMode : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IObjectWithFolderEnumMode : IObjectWithFolderEnumMode.Interface
+public unsafe partial struct IObjectWithFolderEnumMode : IObjectWithFolderEnumMode.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IObjectWithFolderEnumMode));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithProgID.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithProgID.cs
index 5152115510..f3d8fb03c5 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithProgID.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithProgID.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("71E806FB-8DEE-46FC-BF8C-7748A8A1AE13")]
[NativeTypeName("struct IObjectWithProgID : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IObjectWithProgID : IObjectWithProgID.Interface
+public unsafe partial struct IObjectWithProgID : IObjectWithProgID.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IObjectWithProgID));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithSelection.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithSelection.cs
index 0b2306250f..f57ba61538 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithSelection.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IObjectWithSelection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1C9CD5BB-98E9-4491-A60F-31AACC72B83C")]
[NativeTypeName("struct IObjectWithSelection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IObjectWithSelection : IObjectWithSelection.Interface
+public unsafe partial struct IObjectWithSelection : IObjectWithSelection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IObjectWithSelection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOpenControlPanel.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOpenControlPanel.cs
index a54eda395a..978ad4b165 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOpenControlPanel.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOpenControlPanel.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D11AD862-66DE-4DF4-BF6C-1F5621996AF1")]
[NativeTypeName("struct IOpenControlPanel : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IOpenControlPanel : IOpenControlPanel.Interface
+public unsafe partial struct IOpenControlPanel : IOpenControlPanel.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IOpenControlPanel));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOpenSearchSource.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOpenSearchSource.cs
index f8532025b5..c9930567fd 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOpenSearchSource.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOpenSearchSource.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F0EE7333-E6FC-479B-9F25-A860C234A38E")]
[NativeTypeName("struct IOpenSearchSource : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IOpenSearchSource : IOpenSearchSource.Interface
+public unsafe partial struct IOpenSearchSource : IOpenSearchSource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IOpenSearchSource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOperationsProgressDialog.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOperationsProgressDialog.cs
index 65e6c6b81c..c71c57b427 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOperationsProgressDialog.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IOperationsProgressDialog.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0C9FB851-E5C9-43EB-A370-F0677B13874C")]
[NativeTypeName("struct IOperationsProgressDialog : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IOperationsProgressDialog : IOperationsProgressDialog.Interface
+public unsafe partial struct IOperationsProgressDialog : IOperationsProgressDialog.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IOperationsProgressDialog));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageDebugSettings.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageDebugSettings.cs
index 9bab9f4acd..cad9f09ae2 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageDebugSettings.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageDebugSettings.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F27C3930-8029-4AD1-94E3-3DBA417810C1")]
[NativeTypeName("struct IPackageDebugSettings : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPackageDebugSettings : IPackageDebugSettings.Interface
+public unsafe partial struct IPackageDebugSettings : IPackageDebugSettings.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPackageDebugSettings));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageDebugSettings2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageDebugSettings2.cs
index d17249728a..acb648906d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageDebugSettings2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageDebugSettings2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6E3194BB-AB82-4D22-93F5-FABDA40E7B16")]
[NativeTypeName("struct IPackageDebugSettings2 : IPackageDebugSettings")]
[NativeInheritance("IPackageDebugSettings")]
-public unsafe partial struct IPackageDebugSettings2 : IPackageDebugSettings2.Interface
+public unsafe partial struct IPackageDebugSettings2 : IPackageDebugSettings2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPackageDebugSettings2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageExecutionStateChangeNotification.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageExecutionStateChangeNotification.cs
index 4dea653419..7e7db8b402 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageExecutionStateChangeNotification.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPackageExecutionStateChangeNotification.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1BB12A62-2AD8-432B-8CCF-0C2C52AFCD5B")]
[NativeTypeName("struct IPackageExecutionStateChangeNotification : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPackageExecutionStateChangeNotification : IPackageExecutionStateChangeNotification.Interface
+public unsafe partial struct IPackageExecutionStateChangeNotification : IPackageExecutionStateChangeNotification.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPackageExecutionStateChangeNotification));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IParentAndItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IParentAndItem.cs
index 0830cab6b8..8de98cbec4 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IParentAndItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IParentAndItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B3A4B685-B685-4805-99D9-5DEAD2873236")]
[NativeTypeName("struct IParentAndItem : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IParentAndItem : IParentAndItem.Interface
+public unsafe partial struct IParentAndItem : IParentAndItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IParentAndItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IParseAndCreateItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IParseAndCreateItem.cs
index b4e904680b..5b944354ea 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IParseAndCreateItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IParseAndCreateItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("67EFED0E-E827-4408-B493-78F3982B685C")]
[NativeTypeName("struct IParseAndCreateItem : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IParseAndCreateItem : IParseAndCreateItem.Interface
+public unsafe partial struct IParseAndCreateItem : IParseAndCreateItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IParseAndCreateItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder.cs
index c41025987d..465afb746b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214EA-0000-0000-C000-000000000046")]
[NativeTypeName("struct IPersistFolder : IPersist")]
[NativeInheritance("IPersist")]
-public unsafe partial struct IPersistFolder : IPersistFolder.Interface
+public unsafe partial struct IPersistFolder : IPersistFolder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPersistFolder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder2.cs
index f1bfaca377..c4335025b2 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1AC3D9F0-175C-11D1-95BE-00609797EA4F")]
[NativeTypeName("struct IPersistFolder2 : IPersistFolder")]
[NativeInheritance("IPersistFolder")]
-public unsafe partial struct IPersistFolder2 : IPersistFolder2.Interface
+public unsafe partial struct IPersistFolder2 : IPersistFolder2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPersistFolder2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder3.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder3.cs
index 9e0669d140..1969eea8b9 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder3.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistFolder3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CEF04FDF-FE72-11D2-87A5-00C04F6837CF")]
[NativeTypeName("struct IPersistFolder3 : IPersistFolder2")]
[NativeInheritance("IPersistFolder2")]
-public unsafe partial struct IPersistFolder3 : IPersistFolder3.Interface
+public unsafe partial struct IPersistFolder3 : IPersistFolder3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPersistFolder3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistIDList.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistIDList.cs
index 6b2f98e51d..dfbf39c691 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistIDList.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPersistIDList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1079ACFC-29BD-11D3-8E0D-00C04F6837D5")]
[NativeTypeName("struct IPersistIDList : IPersist")]
[NativeInheritance("IPersist")]
-public unsafe partial struct IPersistIDList : IPersistIDList.Interface
+public unsafe partial struct IPersistIDList : IPersistIDList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPersistIDList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandler.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandler.cs
index b12248d0bc..bdb7541751 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandler.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8895B1C6-B41F-4C1C-A562-0D564250836F")]
[NativeTypeName("struct IPreviewHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPreviewHandler : IPreviewHandler.Interface
+public unsafe partial struct IPreviewHandler : IPreviewHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPreviewHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandlerFrame.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandlerFrame.cs
index d672ce93e5..5cf0f6ca34 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandlerFrame.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandlerFrame.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FEC87AAF-35F9-447A-ADB7-20234491401A")]
[NativeTypeName("struct IPreviewHandlerFrame : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPreviewHandlerFrame : IPreviewHandlerFrame.Interface
+public unsafe partial struct IPreviewHandlerFrame : IPreviewHandlerFrame.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPreviewHandlerFrame));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandlerVisuals.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandlerVisuals.cs
index b9283825d0..0e5cdeed1e 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandlerVisuals.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewHandlerVisuals.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("196BF9A5-B346-4EF0-AA1E-5DCDB76768B1")]
[NativeTypeName("struct IPreviewHandlerVisuals : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPreviewHandlerVisuals : IPreviewHandlerVisuals.Interface
+public unsafe partial struct IPreviewHandlerVisuals : IPreviewHandlerVisuals.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPreviewHandlerVisuals));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewItem.cs
index 81dfef75b9..d6682b811b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPreviewItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("36149969-0A8F-49C8-8B00-4AECB20222FB")]
[NativeTypeName("struct IPreviewItem : IRelatedItem")]
[NativeInheritance("IRelatedItem")]
-public unsafe partial struct IPreviewItem : IPreviewItem.Interface
+public unsafe partial struct IPreviewItem : IPreviewItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPreviewItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IProfferService.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IProfferService.cs
index 46411a204d..877a9a8648 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IProfferService.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IProfferService.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CB728B20-F786-11CE-92AD-00AA00A74CD0")]
[NativeTypeName("struct IProfferService : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IProfferService : IProfferService.Interface
+public unsafe partial struct IProfferService : IProfferService.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProfferService));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPropertyKeyStore.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPropertyKeyStore.cs
index 670dd28eda..ff527ff05a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPropertyKeyStore.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPropertyKeyStore.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("75BD59AA-F23B-4963-ABA4-0B355752A91B")]
[NativeTypeName("struct IPropertyKeyStore : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPropertyKeyStore : IPropertyKeyStore.Interface
+public unsafe partial struct IPropertyKeyStore : IPropertyKeyStore.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPropertyKeyStore));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPropertyUI.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPropertyUI.cs
index ddbc4dfd9a..b035831583 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPropertyUI.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IPropertyUI.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("757A7D9F-919A-4118-99D7-DBB208C8CC66")]
[NativeTypeName("struct IPropertyUI : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IPropertyUI : IPropertyUI.Interface
+public unsafe partial struct IPropertyUI : IPropertyUI.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IPropertyUI));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IQueryContinue.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IQueryContinue.cs
index 121d4a74f0..b118fe844e 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IQueryContinue.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IQueryContinue.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7307055C-B24A-486B-9F25-163E597A28A9")]
[NativeTypeName("struct IQueryContinue : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IQueryContinue : IQueryContinue.Interface
+public unsafe partial struct IQueryContinue : IQueryContinue.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IQueryContinue));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRegTreeItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRegTreeItem.cs
index 158d27883a..40096c4945 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRegTreeItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRegTreeItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A9521922-0812-4D44-9EC3-7FD38C726F3D")]
[NativeTypeName("struct IRegTreeItem : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IRegTreeItem : IRegTreeItem.Interface
+public unsafe partial struct IRegTreeItem : IRegTreeItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRegTreeItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRelatedItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRelatedItem.cs
index d6630ccc3d..521ff3d03c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRelatedItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRelatedItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A73CE67A-8AB1-44F1-8D43-D2FCBF6B1CD0")]
[NativeTypeName("struct IRelatedItem : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IRelatedItem : IRelatedItem.Interface
+public unsafe partial struct IRelatedItem : IRelatedItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRelatedItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRemoteComputer.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRemoteComputer.cs
index 283faefac8..d5dbc3fb7d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRemoteComputer.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRemoteComputer.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214FE-0000-0000-C000-000000000046")]
[NativeTypeName("struct IRemoteComputer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IRemoteComputer : IRemoteComputer.Interface
+public unsafe partial struct IRemoteComputer : IRemoteComputer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRemoteComputer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IResolveShellLink.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IResolveShellLink.cs
index 9bafcdda11..c8e1e55218 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IResolveShellLink.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IResolveShellLink.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("5CD52983-9449-11D2-963A-00C04F79ADF0")]
[NativeTypeName("struct IResolveShellLink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IResolveShellLink : IResolveShellLink.Interface
+public unsafe partial struct IResolveShellLink : IResolveShellLink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IResolveShellLink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRunnableTask.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRunnableTask.cs
index c84621ee97..ccc829c575 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRunnableTask.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IRunnableTask.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("85788D00-6807-11D0-B810-00C04FD706EC")]
[NativeTypeName("struct IRunnableTask : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IRunnableTask : IRunnableTask.Interface
+public unsafe partial struct IRunnableTask : IRunnableTask.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRunnableTask));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISearchFolderItemFactory.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISearchFolderItemFactory.cs
index f7f06f0485..02ded82bba 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISearchFolderItemFactory.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISearchFolderItemFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A0FFBC28-5482-4366-BE27-3E81E78E06C2")]
[NativeTypeName("struct ISearchFolderItemFactory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISearchFolderItemFactory : ISearchFolderItemFactory.Interface
+public unsafe partial struct ISearchFolderItemFactory : ISearchFolderItemFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISearchFolderItemFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISharingConfigurationManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISharingConfigurationManager.cs
index 50afce4e78..fa6d27ec60 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISharingConfigurationManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISharingConfigurationManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B4CD448A-9C86-4466-9201-2E62105B87AE")]
[NativeTypeName("struct ISharingConfigurationManager : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISharingConfigurationManager : ISharingConfigurationManager.Interface
+public unsafe partial struct ISharingConfigurationManager : ISharingConfigurationManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISharingConfigurationManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellBrowser.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellBrowser.cs
index 72071ca177..0300a1d75e 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellBrowser.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellBrowser.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214E2-0000-0000-C000-000000000046")]
[NativeTypeName("struct IShellBrowser : IOleWindow")]
[NativeInheritance("IOleWindow")]
-public unsafe partial struct IShellBrowser : IShellBrowser.Interface
+public unsafe partial struct IShellBrowser : IShellBrowser.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellBrowser));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellExtInit.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellExtInit.cs
index 2d8806d965..7b0a80b5b8 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellExtInit.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellExtInit.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214E8-0000-0000-C000-000000000046")]
[NativeTypeName("struct IShellExtInit : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellExtInit : IShellExtInit.Interface
+public unsafe partial struct IShellExtInit : IShellExtInit.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellExtInit));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellFolder.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellFolder.cs
index 2032daa841..34625b3512 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellFolder.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellFolder.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214E6-0000-0000-C000-000000000046")]
[NativeTypeName("struct IShellFolder : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellFolder : IShellFolder.Interface
+public unsafe partial struct IShellFolder : IShellFolder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellFolder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellFolder2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellFolder2.cs
index 47ccdc83f1..98df0ba281 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellFolder2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellFolder2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("93F2F68C-1D1B-11D3-A30E-00C04F79ABD1")]
[NativeTypeName("struct IShellFolder2 : IShellFolder")]
[NativeInheritance("IShellFolder")]
-public unsafe partial struct IShellFolder2 : IShellFolder2.Interface
+public unsafe partial struct IShellFolder2 : IShellFolder2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellFolder2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellIcon.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellIcon.cs
index 6413b5b74a..bebbe65b2f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellIcon.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellIcon.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214E5-0000-0000-C000-000000000046")]
[NativeTypeName("struct IShellIcon : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellIcon : IShellIcon.Interface
+public unsafe partial struct IShellIcon : IShellIcon.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellIcon));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellIconOverlayIdentifier.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellIconOverlayIdentifier.cs
index 78810e0128..dc1a4f70c9 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellIconOverlayIdentifier.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellIconOverlayIdentifier.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0C6C4200-C589-11D0-999A-00C04FD655E1")]
[NativeTypeName("struct IShellIconOverlayIdentifier : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellIconOverlayIdentifier : IShellIconOverlayIdentifier.Interface
+public unsafe partial struct IShellIconOverlayIdentifier : IShellIconOverlayIdentifier.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellIconOverlayIdentifier));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItem.cs
index e2722c99d6..1b8c05e9a5 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("43826D1E-E718-42EE-BC55-A1E261C37BFE")]
[NativeTypeName("struct IShellItem : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellItem : IShellItem.Interface
+public unsafe partial struct IShellItem : IShellItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItem2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItem2.cs
index 250aed9b9f..e7d05edeb5 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItem2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItem2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7E9FB0D3-919F-4307-AB2E-9B1860310C93")]
[NativeTypeName("struct IShellItem2 : IShellItem")]
[NativeInheritance("IShellItem")]
-public unsafe partial struct IShellItem2 : IShellItem2.Interface
+public unsafe partial struct IShellItem2 : IShellItem2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellItem2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemArray.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemArray.cs
index 232f45bc60..f8d7a99744 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemArray.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemArray.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B63EA76D-1F85-456F-A19C-48159EFA858B")]
[NativeTypeName("struct IShellItemArray : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellItemArray : IShellItemArray.Interface
+public unsafe partial struct IShellItemArray : IShellItemArray.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellItemArray));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemFilter.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemFilter.cs
index 971f26bd44..840d376f46 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemFilter.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemFilter.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2659B475-EEB8-48B7-8F07-B378810F48CF")]
[NativeTypeName("struct IShellItemFilter : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellItemFilter : IShellItemFilter.Interface
+public unsafe partial struct IShellItemFilter : IShellItemFilter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellItemFilter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemImageFactory.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemImageFactory.cs
index e12fa81732..1ee77f7af8 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemImageFactory.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemImageFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BCC18B79-BA16-442F-80C4-8A59C30C463B")]
[NativeTypeName("struct IShellItemImageFactory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellItemImageFactory : IShellItemImageFactory.Interface
+public unsafe partial struct IShellItemImageFactory : IShellItemImageFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellItemImageFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemResources.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemResources.cs
index 44e042276e..abfa9f8f2b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemResources.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellItemResources.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FF5693BE-2CE0-4D48-B5C5-40817D1ACDB9")]
[NativeTypeName("struct IShellItemResources : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellItemResources : IShellItemResources.Interface
+public unsafe partial struct IShellItemResources : IShellItemResources.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellItemResources));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLibrary.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLibrary.cs
index 421c4b7d40..2ed1b01240 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLibrary.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLibrary.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("11A66EFA-382E-451A-9234-1E0E12EF3085")]
[NativeTypeName("struct IShellLibrary : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellLibrary : IShellLibrary.Interface
+public unsafe partial struct IShellLibrary : IShellLibrary.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellLibrary));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkA.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkA.cs
index 573cd5c0f0..65b129dfd6 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkA.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkA.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214EE-0000-0000-C000-000000000046")]
[NativeTypeName("struct IShellLinkA : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellLinkA : IShellLinkA.Interface
+public unsafe partial struct IShellLinkA : IShellLinkA.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellLinkA));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkDataList.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkDataList.cs
index 338a2aa0e5..418a3caf31 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkDataList.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkDataList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("45E2B4AE-B1C3-11D0-B92F-00A0C90312E1")]
[NativeTypeName("struct IShellLinkDataList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellLinkDataList : IShellLinkDataList.Interface
+public unsafe partial struct IShellLinkDataList : IShellLinkDataList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellLinkDataList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkW.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkW.cs
index 058c742e4f..696a65384f 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkW.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellLinkW.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214F9-0000-0000-C000-000000000046")]
[NativeTypeName("struct IShellLinkW : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellLinkW : IShellLinkW.Interface
+public unsafe partial struct IShellLinkW : IShellLinkW.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellLinkW));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellMenu.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellMenu.cs
index 601f1137cb..a7b9cf243e 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellMenu.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellMenu.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EE1F7637-E138-11D1-8379-00C04FD918D0")]
[NativeTypeName("struct IShellMenu : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellMenu : IShellMenu.Interface
+public unsafe partial struct IShellMenu : IShellMenu.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellMenu));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellMenuCallback.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellMenuCallback.cs
index e32b77152c..f7e8e5f02a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellMenuCallback.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellMenuCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4CA300A1-9B8D-11D1-8B22-00C04FD918D0")]
[NativeTypeName("struct IShellMenuCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellMenuCallback : IShellMenuCallback.Interface
+public unsafe partial struct IShellMenuCallback : IShellMenuCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellMenuCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellPropSheetExt.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellPropSheetExt.cs
index 915eb4ab6b..45b17992c9 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellPropSheetExt.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellPropSheetExt.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214E9-0000-0000-C000-000000000046")]
[NativeTypeName("struct IShellPropSheetExt : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellPropSheetExt : IShellPropSheetExt.Interface
+public unsafe partial struct IShellPropSheetExt : IShellPropSheetExt.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellPropSheetExt));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellTaskScheduler.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellTaskScheduler.cs
index 61f1510d7d..68246c56e4 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellTaskScheduler.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellTaskScheduler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6CCB7BE0-6807-11D0-B810-00C04FD706EC")]
[NativeTypeName("struct IShellTaskScheduler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellTaskScheduler : IShellTaskScheduler.Interface
+public unsafe partial struct IShellTaskScheduler : IShellTaskScheduler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellTaskScheduler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellView.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellView.cs
index 4ed7b7a7b9..0973e527e6 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellView.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellView.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214E3-0000-0000-C000-000000000046")]
[NativeTypeName("struct IShellView : IOleWindow")]
[NativeInheritance("IOleWindow")]
-public unsafe partial struct IShellView : IShellView.Interface
+public unsafe partial struct IShellView : IShellView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellView2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellView2.cs
index 496d4bc840..3ce6440f21 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellView2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IShellView2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("88E39E80-3578-11CF-AE69-08002B2E1262")]
[NativeTypeName("struct IShellView2 : IShellView")]
[NativeInheritance("IShellView")]
-public unsafe partial struct IShellView2 : IShellView2.Interface
+public unsafe partial struct IShellView2 : IShellView2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellView2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISortColumnArray.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISortColumnArray.cs
index 3a665c75ab..886520019a 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISortColumnArray.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISortColumnArray.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6DFC60FB-F2E9-459B-BEB5-288F1A7C7D54")]
[NativeTypeName("struct ISortColumnArray : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISortColumnArray : ISortColumnArray.Interface
+public unsafe partial struct ISortColumnArray : ISortColumnArray.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISortColumnArray));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISuspensionDependencyManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISuspensionDependencyManager.cs
index 7605e2fbf9..01ec0c268b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISuspensionDependencyManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ISuspensionDependencyManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("52B83A42-2543-416A-81D9-C0DE7969C8B3")]
[NativeTypeName("struct ISuspensionDependencyManager : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISuspensionDependencyManager : ISuspensionDependencyManager.Interface
+public unsafe partial struct ISuspensionDependencyManager : ISuspensionDependencyManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISuspensionDependencyManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList.cs
index f9a38cf236..1dd4bdf467 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("56FDF342-FD6D-11D0-958A-006097C9A090")]
[NativeTypeName("struct ITaskbarList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITaskbarList : ITaskbarList.Interface
+public unsafe partial struct ITaskbarList : ITaskbarList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITaskbarList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList2.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList2.cs
index 71eb7c614a..dc2bfbbbb3 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList2.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("602D4995-B13A-429B-A66E-1935E44F4317")]
[NativeTypeName("struct ITaskbarList2 : ITaskbarList")]
[NativeInheritance("ITaskbarList")]
-public unsafe partial struct ITaskbarList2 : ITaskbarList2.Interface
+public unsafe partial struct ITaskbarList2 : ITaskbarList2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITaskbarList2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList3.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList3.cs
index e39fb2a959..013a563ec6 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList3.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EA1AFB91-9E28-4B86-90E9-9E9F8A5EEFAF")]
[NativeTypeName("struct ITaskbarList3 : ITaskbarList2")]
[NativeInheritance("ITaskbarList2")]
-public unsafe partial struct ITaskbarList3 : ITaskbarList3.Interface
+public unsafe partial struct ITaskbarList3 : ITaskbarList3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITaskbarList3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList4.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList4.cs
index d51f443357..db828b38f3 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList4.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITaskbarList4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C43DC798-95D1-4BEA-9030-BB99E2983A1A")]
[NativeTypeName("struct ITaskbarList4 : ITaskbarList3")]
[NativeInheritance("ITaskbarList3")]
-public unsafe partial struct ITaskbarList4 : ITaskbarList4.Interface
+public unsafe partial struct ITaskbarList4 : ITaskbarList4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITaskbarList4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IThumbnailHandlerFactory.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IThumbnailHandlerFactory.cs
index c7163d9eb8..d924deec2b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IThumbnailHandlerFactory.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IThumbnailHandlerFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E35B4B2E-00DA-4BC1-9F13-38BC11F5D417")]
[NativeTypeName("struct IThumbnailHandlerFactory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IThumbnailHandlerFactory : IThumbnailHandlerFactory.Interface
+public unsafe partial struct IThumbnailHandlerFactory : IThumbnailHandlerFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IThumbnailHandlerFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferAdviseSink.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferAdviseSink.cs
index e35bb938f3..03db8a76d1 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferAdviseSink.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferAdviseSink.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D594D0D8-8DA7-457B-B3B4-CE5DBAAC0B88")]
[NativeTypeName("struct ITransferAdviseSink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITransferAdviseSink : ITransferAdviseSink.Interface
+public unsafe partial struct ITransferAdviseSink : ITransferAdviseSink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITransferAdviseSink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferDestination.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferDestination.cs
index 5d209d7a12..d69626c768 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferDestination.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferDestination.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("48ADDD32-3CA5-4124-ABE3-B5A72531B207")]
[NativeTypeName("struct ITransferDestination : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITransferDestination : ITransferDestination.Interface
+public unsafe partial struct ITransferDestination : ITransferDestination.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITransferDestination));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferMediumItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferMediumItem.cs
index b4cd20aae0..9bf370e3e2 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferMediumItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferMediumItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("77F295D5-2D6F-4E19-B8AE-322F3E721AB5")]
[NativeTypeName("struct ITransferMediumItem : IRelatedItem")]
[NativeInheritance("IRelatedItem")]
-public unsafe partial struct ITransferMediumItem : ITransferMediumItem.Interface
+public unsafe partial struct ITransferMediumItem : ITransferMediumItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITransferMediumItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferSource.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferSource.cs
index 8cf46917c5..b6c505ab6e 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferSource.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ITransferSource.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("00ADB003-BDE9-45C6-8E29-D09F9353E108")]
[NativeTypeName("struct ITransferSource : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITransferSource : ITransferSource.Interface
+public unsafe partial struct ITransferSource : ITransferSource.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITransferSource));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IUpdateIDList.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IUpdateIDList.cs
index 065cf5139c..cc28e51086 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IUpdateIDList.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IUpdateIDList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6589B6D2-5F8D-4B9E-B7E0-23CDD9717D8C")]
[NativeTypeName("struct IUpdateIDList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUpdateIDList : IUpdateIDList.Interface
+public unsafe partial struct IUpdateIDList : IUpdateIDList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUpdateIDList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IUserNotification.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IUserNotification.cs
index 19844c5afb..264e983855 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IUserNotification.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IUserNotification.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BA9711BA-5893-4787-A7E1-41277151550B")]
[NativeTypeName("struct IUserNotification : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUserNotification : IUserNotification.Interface
+public unsafe partial struct IUserNotification : IUserNotification.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUserNotification));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IViewStateIdentityItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IViewStateIdentityItem.cs
index b10cf1d915..5d286ce3e7 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IViewStateIdentityItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IViewStateIdentityItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9D264146-A94F-4195-9F9F-3BB12CE0C955")]
[NativeTypeName("struct IViewStateIdentityItem : IRelatedItem")]
[NativeInheritance("IRelatedItem")]
-public unsafe partial struct IViewStateIdentityItem : IViewStateIdentityItem.Interface
+public unsafe partial struct IViewStateIdentityItem : IViewStateIdentityItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IViewStateIdentityItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IVirtualDesktopManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IVirtualDesktopManager.cs
index 3ebb4ab54c..4cbdc13224 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/IVirtualDesktopManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/IVirtualDesktopManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A5CD92FF-29BE-454C-8D04-D82879FB3F1B")]
[NativeTypeName("struct IVirtualDesktopManager : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IVirtualDesktopManager : IVirtualDesktopManager.Interface
+public unsafe partial struct IVirtualDesktopManager : IVirtualDesktopManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IVirtualDesktopManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/KnownFolderManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/KnownFolderManager.cs
index 4878a696f3..c0cc3d6bd6 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/KnownFolderManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/KnownFolderManager.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("4DF0C730-DF9D-4AE3-9153-AA6B82E9795A")]
-public partial struct KnownFolderManager
+public unsafe partial struct KnownFolderManager : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_KnownFolderManager));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/MailRecipient.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/MailRecipient.cs
index 97299b4f7f..24947995ff 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/MailRecipient.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/MailRecipient.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("9E56BE60-C50F-11CF-9A2C-00A0C90A90CE")]
-public partial struct MailRecipient
+public unsafe partial struct MailRecipient : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_MailRecipient));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/NamespaceWalker.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/NamespaceWalker.cs
index 1858e098a8..1c0fd7c06d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/NamespaceWalker.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/NamespaceWalker.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("72EB61E0-8672-4303-9175-F2E4C68B2E7C")]
-public partial struct NamespaceWalker
+public unsafe partial struct NamespaceWalker : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_NamespaceWalker));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkConnections.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkConnections.cs
index c6e3922b4d..fcc6aab223 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkConnections.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkConnections.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("7007ACC7-3202-11D1-AAD2-00805FC1270E")]
-public partial struct NetworkConnections
+public unsafe partial struct NetworkConnections : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_NetworkConnections));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkExplorerFolder.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkExplorerFolder.cs
index a8db76e1e0..ac84e197b1 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkExplorerFolder.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkExplorerFolder.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("F02C1A0D-BE21-4350-88B0-7367FC96EF3C")]
-public partial struct NetworkExplorerFolder
+public unsafe partial struct NetworkExplorerFolder : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_NetworkExplorerFolder));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkPlaces.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkPlaces.cs
index 939e11503e..f9da8a6272 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkPlaces.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/NetworkPlaces.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("208D2C60-3AEA-1069-A2D7-08002B30309D")]
-public partial struct NetworkPlaces
+public unsafe partial struct NetworkPlaces : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_NetworkPlaces));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/OpenControlPanel.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/OpenControlPanel.cs
index cfeb690b8a..3902df9696 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/OpenControlPanel.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/OpenControlPanel.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("06622D85-6856-4460-8DE1-A81921B41C4B")]
-public partial struct OpenControlPanel
+public unsafe partial struct OpenControlPanel : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_OpenControlPanel));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/PackageDebugSettings.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/PackageDebugSettings.cs
index 40c502d9cd..aba6186cdb 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/PackageDebugSettings.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/PackageDebugSettings.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("B1AEC16F-2383-4852-B0E9-8F0B1DC66B4D")]
-public partial struct PackageDebugSettings
+public unsafe partial struct PackageDebugSettings : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_PackageDebugSettings));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/PropertiesUI.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/PropertiesUI.cs
index c897e52fa1..1aca3a0b1c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/PropertiesUI.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/PropertiesUI.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("D912F8CF-0396-4915-884E-FB425D32943B")]
-public partial struct PropertiesUI
+public unsafe partial struct PropertiesUI : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_PropertiesUI));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ScheduledTasks.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ScheduledTasks.cs
index e3afb105ab..9fd3ecb0d9 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ScheduledTasks.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ScheduledTasks.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("D6277990-4C6A-11CF-8D87-00AA0060F5BF")]
-public partial struct ScheduledTasks
+public unsafe partial struct ScheduledTasks : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ScheduledTasks));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/SearchFolderItemFactory.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/SearchFolderItemFactory.cs
index 03b0efff0c..8d3f4189b7 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/SearchFolderItemFactory.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/SearchFolderItemFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("14010E02-BBBD-41F0-88E3-EDA371216584")]
-public partial struct SearchFolderItemFactory
+public unsafe partial struct SearchFolderItemFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SearchFolderItemFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/SharingConfigurationManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/SharingConfigurationManager.cs
index a07df4d377..d3d6077c41 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/SharingConfigurationManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/SharingConfigurationManager.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("49F371E1-8C5C-4D9C-9A3B-54A6827F513C")]
-public partial struct SharingConfigurationManager
+public unsafe partial struct SharingConfigurationManager : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SharingConfigurationManager));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellDesktop.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellDesktop.cs
index 865609b407..f083c514ac 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellDesktop.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellDesktop.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("00021400-0000-0000-C000-000000000046")]
-public partial struct ShellDesktop
+public unsafe partial struct ShellDesktop : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellDesktop));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellFSFolder.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellFSFolder.cs
index c87457d5f1..7e96523483 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellFSFolder.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellFSFolder.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("F3364BA0-65B9-11CE-A9BA-00AA004AE837")]
-public partial struct ShellFSFolder
+public unsafe partial struct ShellFSFolder : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellFSFolder));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellItem.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellItem.cs
index 89f70d8076..11edfc37fd 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellItem.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("9AC9FBE1-E0A2-4AD6-B4EE-E212013EA917")]
-public partial struct ShellItem
+public unsafe partial struct ShellItem : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellItem));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellLibrary.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellLibrary.cs
index b06bfb2aea..c4999ab2cd 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellLibrary.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellLibrary.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("D9B3211D-E57F-4426-AAEF-30A806ADD397")]
-public partial struct ShellLibrary
+public unsafe partial struct ShellLibrary : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellLibrary));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellLink.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellLink.cs
index bd5b0e3179..22facc0ca3 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellLink.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/ShellLink.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("00021401-0000-0000-C000-000000000046")]
-public partial struct ShellLink
+public unsafe partial struct ShellLink : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellLink));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/SizeCategorizer.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/SizeCategorizer.cs
index e7bd99150d..1b4bc7915c 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/SizeCategorizer.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/SizeCategorizer.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("55D7B852-F6D1-42F2-AA75-8728A1B2D264")]
-public partial struct SizeCategorizer
+public unsafe partial struct SizeCategorizer : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SizeCategorizer));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/SuspensionDependencyManager.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/SuspensionDependencyManager.cs
index c9f000cf69..d48a5d04b6 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/SuspensionDependencyManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/SuspensionDependencyManager.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("6B273FC5-61FD-4918-95A2-C3B5E9D7F581")]
-public partial struct SuspensionDependencyManager
+public unsafe partial struct SuspensionDependencyManager : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SuspensionDependencyManager));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/TaskbarList.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/TaskbarList.cs
index 621ed8aede..d832de9cc6 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/TaskbarList.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/TaskbarList.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("56FDF344-FD6D-11D0-958A-006097C9A090")]
-public partial struct TaskbarList
+public unsafe partial struct TaskbarList : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_TaskbarList));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/UserNotification.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/UserNotification.cs
index 5c53f9b784..b65577a24d 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/UserNotification.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/UserNotification.cs
@@ -3,12 +3,16 @@
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("0010890E-8789-413C-ADBC-48F5B511B3AF")]
-public partial struct UserNotification
+public unsafe partial struct UserNotification : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_UserNotification));
}
diff --git a/sources/Interop/Windows/Windows/um/ShObjIdl_core/Windows.cs b/sources/Interop/Windows/Windows/um/ShObjIdl_core/Windows.cs
index 8b5cdb37cb..3d8e12c32b 100644
--- a/sources/Interop/Windows/Windows/um/ShObjIdl_core/Windows.cs
+++ b/sources/Interop/Windows/Windows/um/ShObjIdl_core/Windows.cs
@@ -143,13 +143,13 @@ public static void FreeKnownFolderDefinitionFields(KNOWNFOLDER_DEFINITION* pKFD)
public static extern HRESULT SHAssocEnumHandlersForProtocolByApplication([NativeTypeName("PCWSTR")] ushort* protocol, [NativeTypeName("const IID &")] Guid* riid, void** enumHandlers);
[NativeTypeName("#define CMDSTR_NEWFOLDERA \"NewFolder\"")]
- public static ReadOnlySpan CMDSTR_NEWFOLDERA => new byte[] { 0x4E, 0x65, 0x77, 0x46, 0x6F, 0x6C, 0x64, 0x65, 0x72, 0x00 };
+ public static ReadOnlySpan CMDSTR_NEWFOLDERA => "NewFolder"u8;
[NativeTypeName("#define CMDSTR_VIEWLISTA \"ViewList\"")]
- public static ReadOnlySpan CMDSTR_VIEWLISTA => new byte[] { 0x56, 0x69, 0x65, 0x77, 0x4C, 0x69, 0x73, 0x74, 0x00 };
+ public static ReadOnlySpan CMDSTR_VIEWLISTA => "ViewList"u8;
[NativeTypeName("#define CMDSTR_VIEWDETAILSA \"ViewDetails\"")]
- public static ReadOnlySpan CMDSTR_VIEWDETAILSA => new byte[] { 0x56, 0x69, 0x65, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6C, 0x73, 0x00 };
+ public static ReadOnlySpan CMDSTR_VIEWDETAILSA => "ViewDetails"u8;
[NativeTypeName("#define CMDSTR_NEWFOLDERW L\"NewFolder\"")]
public const string CMDSTR_NEWFOLDERW = "NewFolder";
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/DFConstraint.cs b/sources/Interop/Windows/Windows/um/ShlDisp/DFConstraint.cs
index d5cb0cd5fe..f3c76115a3 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/DFConstraint.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/DFConstraint.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4A3DF050-23BD-11D2-939F-00A0C91EEDBA")]
[NativeTypeName("struct DFConstraint : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DFConstraint : DFConstraint.Interface
+public unsafe partial struct DFConstraint : DFConstraint.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DFConstraint));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/DShellFolderViewEvents.cs b/sources/Interop/Windows/Windows/um/ShlDisp/DShellFolderViewEvents.cs
index f7afb8cc47..65fbf492cf 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/DShellFolderViewEvents.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/DShellFolderViewEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("62112AA2-EBE4-11CF-A5FB-0020AFE7292D")]
[NativeTypeName("struct DShellFolderViewEvents : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct DShellFolderViewEvents : DShellFolderViewEvents.Interface
+public unsafe partial struct DShellFolderViewEvents : DShellFolderViewEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_DShellFolderViewEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/FileSearchBand.cs b/sources/Interop/Windows/Windows/um/ShlDisp/FileSearchBand.cs
index 125ad1b76a..a5dc4a0bf3 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/FileSearchBand.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/FileSearchBand.cs
@@ -3,12 +3,16 @@
// Ported from um/ShlDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("C4EE31F3-4768-11D2-BE5C-00A0C9A83DA1")]
-public partial struct FileSearchBand
+public unsafe partial struct FileSearchBand : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FileSearchBand));
}
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/Folder.cs b/sources/Interop/Windows/Windows/um/ShlDisp/Folder.cs
index 97305feb82..ed59d8ffcb 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/Folder.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/Folder.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BBCBDE60-C3FF-11CE-8350-444553540000")]
[NativeTypeName("struct Folder : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct Folder : Folder.Interface
+public unsafe partial struct Folder : Folder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_Folder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/Folder2.cs b/sources/Interop/Windows/Windows/um/ShlDisp/Folder2.cs
index a82d5645e6..c50401d9ef 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/Folder2.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/Folder2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F0D2D8EF-3890-11D2-BF8B-00C04FB93661")]
[NativeTypeName("struct Folder2 : Folder")]
[NativeInheritance("Folder")]
-public unsafe partial struct Folder2 : Folder2.Interface
+public unsafe partial struct Folder2 : Folder2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_Folder2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/Folder3.cs b/sources/Interop/Windows/Windows/um/ShlDisp/Folder3.cs
index a29db903ef..2ced64da39 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/Folder3.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/Folder3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A7AE5F64-C4D7-4D7F-9307-4D24EE54B841")]
[NativeTypeName("struct Folder3 : Folder2")]
[NativeInheritance("Folder2")]
-public unsafe partial struct Folder3 : Folder3.Interface
+public unsafe partial struct Folder3 : Folder3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_Folder3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItem.cs b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItem.cs
index d9900a18d0..84f0b5d706 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FAC32C80-CBE4-11CE-8350-444553540000")]
[NativeTypeName("struct FolderItem : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct FolderItem : FolderItem.Interface
+public unsafe partial struct FolderItem : FolderItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FolderItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItem2.cs b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItem2.cs
index bfd8f645c7..6c5e7c3452 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItem2.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItem2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EDC817AA-92B8-11D1-B075-00C04FC33AA5")]
[NativeTypeName("struct FolderItem2 : FolderItem")]
[NativeInheritance("FolderItem")]
-public unsafe partial struct FolderItem2 : FolderItem2.Interface
+public unsafe partial struct FolderItem2 : FolderItem2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FolderItem2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItemVerb.cs b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItemVerb.cs
index c4972bc117..2becc6df89 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItemVerb.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItemVerb.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("08EC3E00-50B0-11CF-960C-0080C7F4EE85")]
[NativeTypeName("struct FolderItemVerb : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct FolderItemVerb : FolderItemVerb.Interface
+public unsafe partial struct FolderItemVerb : FolderItemVerb.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FolderItemVerb));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItemVerbs.cs b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItemVerbs.cs
index 3d94b9c94e..651a3323bc 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItemVerbs.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItemVerbs.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1F8352C0-50B0-11CF-960C-0080C7F4EE85")]
[NativeTypeName("struct FolderItemVerbs : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct FolderItemVerbs : FolderItemVerbs.Interface
+public unsafe partial struct FolderItemVerbs : FolderItemVerbs.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FolderItemVerbs));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems.cs b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems.cs
index 26a0a10ffe..10bfdd8fdd 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("744129E0-CBE5-11CE-8350-444553540000")]
[NativeTypeName("struct FolderItems : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct FolderItems : FolderItems.Interface
+public unsafe partial struct FolderItems : FolderItems.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FolderItems));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems2.cs b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems2.cs
index f11643f3b5..28b02afe3e 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems2.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C94F0AD0-F363-11D2-A327-00C04F8EEC7F")]
[NativeTypeName("struct FolderItems2 : FolderItems")]
[NativeInheritance("FolderItems")]
-public unsafe partial struct FolderItems2 : FolderItems2.Interface
+public unsafe partial struct FolderItems2 : FolderItems2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FolderItems2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems3.cs b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems3.cs
index bff0d1fe99..a338a2f403 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems3.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/FolderItems3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EAA7C309-BBEC-49D5-821D-64D966CB667F")]
[NativeTypeName("struct FolderItems3 : FolderItems2")]
[NativeInheritance("FolderItems2")]
-public unsafe partial struct FolderItems3 : FolderItems3.Interface
+public unsafe partial struct FolderItems3 : FolderItems3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_FolderItems3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IAutoComplete.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IAutoComplete.cs
index 09eca0262d..6f2d8ac7b3 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IAutoComplete.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IAutoComplete.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("00BB2762-6A77-11D0-A535-00C04FD7D062")]
[NativeTypeName("struct IAutoComplete : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAutoComplete : IAutoComplete.Interface
+public unsafe partial struct IAutoComplete : IAutoComplete.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAutoComplete));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IAutoComplete2.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IAutoComplete2.cs
index 4ab02a252b..8b3cd9463b 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IAutoComplete2.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IAutoComplete2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EAC04BC0-3791-11D2-BB95-0060977B464C")]
[NativeTypeName("struct IAutoComplete2 : IAutoComplete")]
[NativeInheritance("IAutoComplete")]
-public unsafe partial struct IAutoComplete2 : IAutoComplete2.Interface
+public unsafe partial struct IAutoComplete2 : IAutoComplete2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAutoComplete2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IDataObjectAsyncCapability.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IDataObjectAsyncCapability.cs
index 536391f7d8..3bc0b45c06 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IDataObjectAsyncCapability.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IDataObjectAsyncCapability.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct IDataObjectAsyncCapability : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct IDataObjectAsyncCapability : IDataObjectAsyncCapability.Interface
+public unsafe partial struct IDataObjectAsyncCapability : IDataObjectAsyncCapability.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDataObjectAsyncCapability));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IEnumACString.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IEnumACString.cs
index 36a867111a..c3aa2f1425 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IEnumACString.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IEnumACString.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8E74C210-CF9D-4EAF-A403-7356428F0A5A")]
[NativeTypeName("struct IEnumACString : IEnumString")]
[NativeInheritance("IEnumString")]
-public unsafe partial struct IEnumACString : IEnumACString.Interface
+public unsafe partial struct IEnumACString : IEnumACString.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumACString));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IFileSearchBand.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IFileSearchBand.cs
index 9527746596..33fd539161 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IFileSearchBand.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IFileSearchBand.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2D91EEA1-9932-11D2-BE86-00A0C9A83DA1")]
[NativeTypeName("struct IFileSearchBand : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IFileSearchBand : IFileSearchBand.Interface
+public unsafe partial struct IFileSearchBand : IFileSearchBand.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFileSearchBand));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IFolderViewOC.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IFolderViewOC.cs
index 0efab06642..d2be6a8341 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IFolderViewOC.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IFolderViewOC.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9BA05970-F6A8-11CF-A442-00A0C90A8F39")]
[NativeTypeName("struct IFolderViewOC : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IFolderViewOC : IFolderViewOC.Interface
+public unsafe partial struct IFolderViewOC : IFolderViewOC.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IFolderViewOC));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/INewWDEvents.cs b/sources/Interop/Windows/Windows/um/ShlDisp/INewWDEvents.cs
index 138d9a5c8e..4a35372188 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/INewWDEvents.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/INewWDEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0751C551-7568-41C9-8E5B-E22E38919236")]
[NativeTypeName("struct INewWDEvents : IWebWizardHost")]
[NativeInheritance("IWebWizardHost")]
-public unsafe partial struct INewWDEvents : INewWDEvents.Interface
+public unsafe partial struct INewWDEvents : INewWDEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INewWDEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch.cs
index 0e65a03e5e..90360446bb 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D8F015C0-C278-11CE-A49E-444553540000")]
[NativeTypeName("struct IShellDispatch : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IShellDispatch : IShellDispatch.Interface
+public unsafe partial struct IShellDispatch : IShellDispatch.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellDispatch));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch2.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch2.cs
index c4c3410f98..f381620190 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch2.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A4C6892C-3BA9-11D2-9DEA-00C04FB16162")]
[NativeTypeName("struct IShellDispatch2 : IShellDispatch")]
[NativeInheritance("IShellDispatch")]
-public unsafe partial struct IShellDispatch2 : IShellDispatch2.Interface
+public unsafe partial struct IShellDispatch2 : IShellDispatch2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellDispatch2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch3.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch3.cs
index d70567c738..ce4fe546ca 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch3.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("177160CA-BB5A-411C-841D-BD38FACDEAA0")]
[NativeTypeName("struct IShellDispatch3 : IShellDispatch2")]
[NativeInheritance("IShellDispatch2")]
-public unsafe partial struct IShellDispatch3 : IShellDispatch3.Interface
+public unsafe partial struct IShellDispatch3 : IShellDispatch3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellDispatch3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch4.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch4.cs
index 1898dd2bb5..23aefc9bf3 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch4.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch4.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EFD84B2D-4BCF-4298-BE25-EB542A59FBDA")]
[NativeTypeName("struct IShellDispatch4 : IShellDispatch3")]
[NativeInheritance("IShellDispatch3")]
-public unsafe partial struct IShellDispatch4 : IShellDispatch4.Interface
+public unsafe partial struct IShellDispatch4 : IShellDispatch4.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellDispatch4));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch5.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch5.cs
index 43c6a9b4a7..1c6f773a0b 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch5.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch5.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("866738B9-6CF2-4DE8-8767-F794EBE74F4E")]
[NativeTypeName("struct IShellDispatch5 : IShellDispatch4")]
[NativeInheritance("IShellDispatch4")]
-public unsafe partial struct IShellDispatch5 : IShellDispatch5.Interface
+public unsafe partial struct IShellDispatch5 : IShellDispatch5.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellDispatch5));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch6.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch6.cs
index 2947ca1c8a..a087e0cb8f 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch6.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IShellDispatch6.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("286E6F1B-7113-4355-9562-96B7E9D64C54")]
[NativeTypeName("struct IShellDispatch6 : IShellDispatch5")]
[NativeInheritance("IShellDispatch5")]
-public unsafe partial struct IShellDispatch6 : IShellDispatch6.Interface
+public unsafe partial struct IShellDispatch6 : IShellDispatch6.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellDispatch6));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual.cs
index 0e451d2df2..3034626ea3 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E7A1AF80-4D96-11CF-960C-0080C7F4EE85")]
[NativeTypeName("struct IShellFolderViewDual : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IShellFolderViewDual : IShellFolderViewDual.Interface
+public unsafe partial struct IShellFolderViewDual : IShellFolderViewDual.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellFolderViewDual));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual2.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual2.cs
index f692ad215e..2f18a9c382 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual2.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("31C147B6-0ADE-4A3C-B514-DDF932EF6D17")]
[NativeTypeName("struct IShellFolderViewDual2 : IShellFolderViewDual")]
[NativeInheritance("IShellFolderViewDual")]
-public unsafe partial struct IShellFolderViewDual2 : IShellFolderViewDual2.Interface
+public unsafe partial struct IShellFolderViewDual2 : IShellFolderViewDual2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellFolderViewDual2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual3.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual3.cs
index 7611d6643c..74217bba92 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual3.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IShellFolderViewDual3.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("29EC8E6C-46D3-411F-BAAA-611A6C9CAC66")]
[NativeTypeName("struct IShellFolderViewDual3 : IShellFolderViewDual2")]
[NativeInheritance("IShellFolderViewDual2")]
-public unsafe partial struct IShellFolderViewDual3 : IShellFolderViewDual3.Interface
+public unsafe partial struct IShellFolderViewDual3 : IShellFolderViewDual3.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellFolderViewDual3));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IShellLinkDual.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IShellLinkDual.cs
index df8ba60aad..ba286fdb53 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IShellLinkDual.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IShellLinkDual.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("88A05C00-F000-11CE-8350-444553540000")]
[NativeTypeName("struct IShellLinkDual : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IShellLinkDual : IShellLinkDual.Interface
+public unsafe partial struct IShellLinkDual : IShellLinkDual.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellLinkDual));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IShellLinkDual2.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IShellLinkDual2.cs
index 99ee402215..8186840d38 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IShellLinkDual2.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IShellLinkDual2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("317EE249-F12E-11D2-B1E4-00C04F8EEB3E")]
[NativeTypeName("struct IShellLinkDual2 : IShellLinkDual")]
[NativeInheritance("IShellLinkDual")]
-public unsafe partial struct IShellLinkDual2 : IShellLinkDual2.Interface
+public unsafe partial struct IShellLinkDual2 : IShellLinkDual2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellLinkDual2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IWebWizardHost.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IWebWizardHost.cs
index 9b21bd26c7..e226df2d11 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IWebWizardHost.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IWebWizardHost.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("18BCC359-4990-4BFB-B951-3C83702BE5F9")]
[NativeTypeName("struct IWebWizardHost : IDispatch")]
[NativeInheritance("IDispatch")]
-public unsafe partial struct IWebWizardHost : IWebWizardHost.Interface
+public unsafe partial struct IWebWizardHost : IWebWizardHost.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebWizardHost));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/IWebWizardHost2.cs b/sources/Interop/Windows/Windows/um/ShlDisp/IWebWizardHost2.cs
index 7a4b6c005e..c13bb9093b 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/IWebWizardHost2.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/IWebWizardHost2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F9C013DC-3C23-4041-8E39-CFB402F7EA59")]
[NativeTypeName("struct IWebWizardHost2 : IWebWizardHost")]
[NativeInheritance("IWebWizardHost")]
-public unsafe partial struct IWebWizardHost2 : IWebWizardHost2.Interface
+public unsafe partial struct IWebWizardHost2 : IWebWizardHost2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWebWizardHost2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/Shell.cs b/sources/Interop/Windows/Windows/um/ShlDisp/Shell.cs
index f0e3ffa298..1b791f7f11 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/Shell.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/Shell.cs
@@ -3,12 +3,16 @@
// Ported from um/ShlDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("13709620-C279-11CE-A49E-444553540000")]
-public partial struct Shell
+public unsafe partial struct Shell : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_Shell));
}
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/ShellDispatchInproc.cs b/sources/Interop/Windows/Windows/um/ShlDisp/ShellDispatchInproc.cs
index 8d06e52b55..e035192f97 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/ShellDispatchInproc.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/ShellDispatchInproc.cs
@@ -3,12 +3,16 @@
// Ported from um/ShlDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("0A89A860-D7B1-11CE-8350-444553540000")]
-public partial struct ShellDispatchInproc
+public unsafe partial struct ShellDispatchInproc : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellDispatchInproc));
}
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderItem.cs b/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderItem.cs
index 0b6fc27fbd..c747249eab 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderItem.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderItem.cs
@@ -3,12 +3,16 @@
// Ported from um/ShlDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("2FE352EA-FD1F-11D2-B1F4-00C04F8EEB3E")]
-public partial struct ShellFolderItem
+public unsafe partial struct ShellFolderItem : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellFolderItem));
}
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderView.cs b/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderView.cs
index 9bae825baa..11b47a54c7 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderView.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderView.cs
@@ -3,12 +3,16 @@
// Ported from um/ShlDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("62112AA1-EBE4-11CF-A5FB-0020AFE7292D")]
-public partial struct ShellFolderView
+public unsafe partial struct ShellFolderView : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellFolderView));
}
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderViewOC.cs b/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderViewOC.cs
index fbd68f58c9..c38261b061 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderViewOC.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/ShellFolderViewOC.cs
@@ -3,12 +3,16 @@
// Ported from um/ShlDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("9BA05971-F6A8-11CF-A442-00A0C90A8F39")]
-public partial struct ShellFolderViewOC
+public unsafe partial struct ShellFolderViewOC : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellFolderViewOC));
}
diff --git a/sources/Interop/Windows/Windows/um/ShlDisp/ShellLinkObject.cs b/sources/Interop/Windows/Windows/um/ShlDisp/ShellLinkObject.cs
index d223fa90af..7464a0633e 100644
--- a/sources/Interop/Windows/Windows/um/ShlDisp/ShellLinkObject.cs
+++ b/sources/Interop/Windows/Windows/um/ShlDisp/ShellLinkObject.cs
@@ -3,12 +3,16 @@
// Ported from um/ShlDisp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("11219420-1768-11D1-95BE-00609797EA4F")]
-public partial struct ShellLinkObject
+public unsafe partial struct ShellLinkObject : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ShellLinkObject));
}
diff --git a/sources/Interop/Windows/Windows/um/ShlGuid/STR.cs b/sources/Interop/Windows/Windows/um/ShlGuid/STR.cs
index 4a05f5258e..cab6219984 100644
--- a/sources/Interop/Windows/Windows/um/ShlGuid/STR.cs
+++ b/sources/Interop/Windows/Windows/um/ShlGuid/STR.cs
@@ -10,5 +10,5 @@ namespace TerraFX.Interop.Windows;
public static partial class STR
{
[NativeTypeName("#define STR_MYDOCS_CLSID \"{450D8FBA-AD25-11D0-98A8-0800361B1103}\"")]
- public static ReadOnlySpan STR_MYDOCS_CLSID => new byte[] { 0x7B, 0x34, 0x35, 0x30, 0x44, 0x38, 0x46, 0x42, 0x41, 0x2D, 0x41, 0x44, 0x32, 0x35, 0x2D, 0x31, 0x31, 0x44, 0x30, 0x2D, 0x39, 0x38, 0x41, 0x38, 0x2D, 0x30, 0x38, 0x30, 0x30, 0x33, 0x36, 0x31, 0x42, 0x31, 0x31, 0x30, 0x33, 0x7D, 0x00 };
+ public static ReadOnlySpan STR_MYDOCS_CLSID => "{450D8FBA-AD25-11D0-98A8-0800361B1103}"u8;
}
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/IADesktopP2.cs b/sources/Interop/Windows/Windows/um/ShlObj/IADesktopP2.cs
index 46a163bb71..aab087158a 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/IADesktopP2.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/IADesktopP2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B22754E2-4574-11D1-9888-006097DEACF9")]
[NativeTypeName("struct IADesktopP2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IADesktopP2 : IADesktopP2.Interface
+public unsafe partial struct IADesktopP2 : IADesktopP2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IADesktopP2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/IActiveDesktopP.cs b/sources/Interop/Windows/Windows/um/ShlObj/IActiveDesktopP.cs
index 752c615087..5b4f37060e 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/IActiveDesktopP.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/IActiveDesktopP.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("52502EE0-EC80-11D0-89AB-00C04FC2972D")]
[NativeTypeName("struct IActiveDesktopP : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IActiveDesktopP : IActiveDesktopP.Interface
+public unsafe partial struct IActiveDesktopP : IActiveDesktopP.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IActiveDesktopP));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/IBanneredBar.cs b/sources/Interop/Windows/Windows/um/ShlObj/IBanneredBar.cs
index 34034548e6..19a6a5c0f3 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/IBanneredBar.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/IBanneredBar.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("596A9A94-013E-11D1-8D34-00A0C90F2719")]
[NativeTypeName("struct IBanneredBar : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IBanneredBar : IBanneredBar.Interface
+public unsafe partial struct IBanneredBar : IBanneredBar.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IBanneredBar));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/IColumnProvider.cs b/sources/Interop/Windows/Windows/um/ShlObj/IColumnProvider.cs
index 41b9ed1933..f60a387478 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/IColumnProvider.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/IColumnProvider.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E8025004-1C42-11D2-BE2C-00A0C9A83DA1")]
[NativeTypeName("struct IColumnProvider : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IColumnProvider : IColumnProvider.Interface
+public unsafe partial struct IColumnProvider : IColumnProvider.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IColumnProvider));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/ICopyHookA.cs b/sources/Interop/Windows/Windows/um/ShlObj/ICopyHookA.cs
index 7c95fd77df..1b73705d8f 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/ICopyHookA.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/ICopyHookA.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214EF-0000-0000-C000-000000000046")]
[NativeTypeName("struct ICopyHookA : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICopyHookA : ICopyHookA.Interface
+public unsafe partial struct ICopyHookA : ICopyHookA.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICopyHookA));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/ICopyHookW.cs b/sources/Interop/Windows/Windows/um/ShlObj/ICopyHookW.cs
index 10d0a35c19..4ca6b66784 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/ICopyHookW.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/ICopyHookW.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214FC-0000-0000-C000-000000000046")]
[NativeTypeName("struct ICopyHookW : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICopyHookW : ICopyHookW.Interface
+public unsafe partial struct ICopyHookW : ICopyHookW.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICopyHookW));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/ICurrentWorkingDirectory.cs b/sources/Interop/Windows/Windows/um/ShlObj/ICurrentWorkingDirectory.cs
index 8b930e9489..d181bcd4a2 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/ICurrentWorkingDirectory.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/ICurrentWorkingDirectory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("91956D21-9276-11D1-921A-006097DF5BD4")]
[NativeTypeName("struct ICurrentWorkingDirectory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ICurrentWorkingDirectory : ICurrentWorkingDirectory.Interface
+public unsafe partial struct ICurrentWorkingDirectory : ICurrentWorkingDirectory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICurrentWorkingDirectory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/IDeskBarClient.cs b/sources/Interop/Windows/Windows/um/ShlObj/IDeskBarClient.cs
index 92dedb4ada..4fc3a96808 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/IDeskBarClient.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/IDeskBarClient.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EB0FE175-1A3A-11D0-89B3-00A0C90A90AC")]
[NativeTypeName("struct IDeskBarClient : IOleWindow")]
[NativeInheritance("IOleWindow")]
-public unsafe partial struct IDeskBarClient : IDeskBarClient.Interface
+public unsafe partial struct IDeskBarClient : IDeskBarClient.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDeskBarClient));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/IDocViewSite.cs b/sources/Interop/Windows/Windows/um/ShlObj/IDocViewSite.cs
index 423659a108..c62678830d 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/IDocViewSite.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/IDocViewSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("87D605E0-C511-11CF-89A9-00A0C9054129")]
[NativeTypeName("struct IDocViewSite : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IDocViewSite : IDocViewSite.Interface
+public unsafe partial struct IDocViewSite : IDocViewSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDocViewSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/IDockingWindowFrame.cs b/sources/Interop/Windows/Windows/um/ShlObj/IDockingWindowFrame.cs
index d8c082d8e4..367ed2b8df 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/IDockingWindowFrame.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/IDockingWindowFrame.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("47D2657A-7B27-11D0-8CA9-00A0C92DBFE8")]
[NativeTypeName("struct IDockingWindowFrame : IOleWindow")]
[NativeInheritance("IOleWindow")]
-public unsafe partial struct IDockingWindowFrame : IDockingWindowFrame.Interface
+public unsafe partial struct IDockingWindowFrame : IDockingWindowFrame.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDockingWindowFrame));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/IInitializeObject.cs b/sources/Interop/Windows/Windows/um/ShlObj/IInitializeObject.cs
index 32a42ec2b2..62506bdc7a 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/IInitializeObject.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/IInitializeObject.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4622AD16-FF23-11D0-8D34-00A0C90F2719")]
[NativeTypeName("struct IInitializeObject : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IInitializeObject : IInitializeObject.Interface
+public unsafe partial struct IInitializeObject : IInitializeObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IInitializeObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/INewShortcutHookA.cs b/sources/Interop/Windows/Windows/um/ShlObj/INewShortcutHookA.cs
index 1764e95c52..da543e5b44 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/INewShortcutHookA.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/INewShortcutHookA.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214E1-0000-0000-C000-000000000046")]
[NativeTypeName("struct INewShortcutHookA : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INewShortcutHookA : INewShortcutHookA.Interface
+public unsafe partial struct INewShortcutHookA : INewShortcutHookA.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INewShortcutHookA));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/INewShortcutHookW.cs b/sources/Interop/Windows/Windows/um/ShlObj/INewShortcutHookW.cs
index 6b0cfd4103..1a9376d7f4 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/INewShortcutHookW.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/INewShortcutHookW.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214F7-0000-0000-C000-000000000046")]
[NativeTypeName("struct INewShortcutHookW : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INewShortcutHookW : INewShortcutHookW.Interface
+public unsafe partial struct INewShortcutHookW : INewShortcutHookW.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INewShortcutHookW));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/IShellFolderBand.cs b/sources/Interop/Windows/Windows/um/ShlObj/IShellFolderBand.cs
index aef9d6b800..d590c80030 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/IShellFolderBand.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/IShellFolderBand.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7FE80CC8-C247-11D0-B93A-00A0C90312E1")]
[NativeTypeName("struct IShellFolderBand : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellFolderBand : IShellFolderBand.Interface
+public unsafe partial struct IShellFolderBand : IShellFolderBand.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellFolderBand));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj/IThumbnailCapture.cs b/sources/Interop/Windows/Windows/um/ShlObj/IThumbnailCapture.cs
index 5b8d6f0f88..d1e5660752 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj/IThumbnailCapture.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj/IThumbnailCapture.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4EA39266-7211-409F-B622-F63DBD16C533")]
[NativeTypeName("struct IThumbnailCapture : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IThumbnailCapture : IThumbnailCapture.Interface
+public unsafe partial struct IThumbnailCapture : IThumbnailCapture.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IThumbnailCapture));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/AUTO_SCROLL_DATA.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/AUTO_SCROLL_DATA.cs
index 3c8337a7bf..55afea30fd 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/AUTO_SCROLL_DATA.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/AUTO_SCROLL_DATA.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -39,6 +40,7 @@ public partial struct _pts_e__FixedBuffer
public POINT e1;
public POINT e2;
+ [UnscopedRef]
public ref POINT this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -49,6 +51,7 @@ public ref POINT this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 3);
}
}
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORA.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORA.cs
index 740e7857a4..0d22f94801 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORA.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORA.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -26,6 +27,7 @@ public partial struct _fgd_e__FixedBuffer
{
public FILEDESCRIPTORA e0;
+ [UnscopedRef]
public ref FILEDESCRIPTORA this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -36,6 +38,7 @@ public ref FILEDESCRIPTORA this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORW.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORW.cs
index cd484e9ecf..2dcd658de8 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORW.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/FILEGROUPDESCRIPTORW.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -26,6 +27,7 @@ public partial struct _fgd_e__FixedBuffer
{
public FILEDESCRIPTORW e0;
+ [UnscopedRef]
public ref FILEDESCRIPTORW this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -36,6 +38,7 @@ public ref FILEDESCRIPTORW this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IACList.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IACList.cs
index e6c66ec4b2..16c08817d8 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IACList.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IACList.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("77A130B0-94FD-11D0-A544-00C04FD7D062")]
[NativeTypeName("struct IACList : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IACList : IACList.Interface
+public unsafe partial struct IACList : IACList.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IACList));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IACList2.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IACList2.cs
index 2deab00e12..e32b35955b 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IACList2.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IACList2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("470141A0-5186-11D2-BBB6-0060977B464C")]
[NativeTypeName("struct IACList2 : IACList")]
[NativeInheritance("IACList")]
-public unsafe partial struct IACList2 : IACList2.Interface
+public unsafe partial struct IACList2 : IACList2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IACList2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IDockingWindowSite.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IDockingWindowSite.cs
index af9c5441dc..48fae7cd6b 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IDockingWindowSite.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IDockingWindowSite.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2A342FC2-7B26-11D0-8CA9-00A0C92DBFE8")]
[NativeTypeName("struct IDockingWindowSite : IOleWindow")]
[NativeInheritance("IOleWindow")]
-public unsafe partial struct IDockingWindowSite : IDockingWindowSite.Interface
+public unsafe partial struct IDockingWindowSite : IDockingWindowSite.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDockingWindowSite));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IExtractIconA.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IExtractIconA.cs
index 9efbbeab73..b662d80bcb 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IExtractIconA.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IExtractIconA.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214EB-0000-0000-C000-000000000046")]
[NativeTypeName("struct IExtractIconA : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExtractIconA : IExtractIconA.Interface
+public unsafe partial struct IExtractIconA : IExtractIconA.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExtractIconA));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IExtractIconW.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IExtractIconW.cs
index 68dc221e4f..0f8bfda9da 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IExtractIconW.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IExtractIconW.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214FA-0000-0000-C000-000000000046")]
[NativeTypeName("struct IExtractIconW : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IExtractIconW : IExtractIconW.Interface
+public unsafe partial struct IExtractIconW : IExtractIconW.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IExtractIconW));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/INamedPropertyBag.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/INamedPropertyBag.cs
index 806656912b..6264f7a461 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/INamedPropertyBag.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/INamedPropertyBag.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FB700430-952C-11D1-946F-000000000000")]
[NativeTypeName("struct INamedPropertyBag : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct INamedPropertyBag : INamedPropertyBag.Interface
+public unsafe partial struct INamedPropertyBag : INamedPropertyBag.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_INamedPropertyBag));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IObjMgr.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IObjMgr.cs
index e7644edbf2..08ca1fbed7 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IObjMgr.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IObjMgr.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("00BB2761-6A77-11D0-A535-00C04FD7D062")]
[NativeTypeName("struct IObjMgr : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IObjMgr : IObjMgr.Interface
+public unsafe partial struct IObjMgr : IObjMgr.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IObjMgr));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IProgressDialog.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IProgressDialog.cs
index 20dd6a0bc5..c6c4be4a4c 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IProgressDialog.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IProgressDialog.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EBBC7C04-315E-11D2-B62F-006097DF5BD4")]
[NativeTypeName("struct IProgressDialog : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IProgressDialog : IProgressDialog.Interface
+public unsafe partial struct IProgressDialog : IProgressDialog.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IProgressDialog));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IQueryInfo.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IQueryInfo.cs
index facc01ee69..d3238bc76a 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IQueryInfo.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IQueryInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("00021500-0000-0000-C000-000000000046")]
[NativeTypeName("struct IQueryInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IQueryInfo : IQueryInfo.Interface
+public unsafe partial struct IQueryInfo : IQueryInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IQueryInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/ISearchContext.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/ISearchContext.cs
index c40e09204f..a938cc73e2 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/ISearchContext.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/ISearchContext.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("09F656A2-41AF-480C-88F7-16CC0D164615")]
[NativeTypeName("struct ISearchContext : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISearchContext : ISearchContext.Interface
+public unsafe partial struct ISearchContext : ISearchContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISearchContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellChangeNotify.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellChangeNotify.cs
index 7959e973ca..c280ec6847 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellChangeNotify.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellChangeNotify.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D82BE2B1-5764-11D0-A96E-00C04FD705A2")]
[NativeTypeName("struct IShellChangeNotify : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellChangeNotify : IShellChangeNotify.Interface
+public unsafe partial struct IShellChangeNotify : IShellChangeNotify.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellChangeNotify));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellDetails.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellDetails.cs
index b10b6e1124..97ba743289 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellDetails.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellDetails.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214EC-0000-0000-C000-000000000046")]
[NativeTypeName("struct IShellDetails : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellDetails : IShellDetails.Interface
+public unsafe partial struct IShellDetails : IShellDetails.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellDetails));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellExecuteHookA.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellExecuteHookA.cs
index 2fd19eda4b..adae0d4091 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellExecuteHookA.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellExecuteHookA.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214F5-0000-0000-C000-000000000046")]
[NativeTypeName("struct IShellExecuteHookA : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellExecuteHookA : IShellExecuteHookA.Interface
+public unsafe partial struct IShellExecuteHookA : IShellExecuteHookA.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellExecuteHookA));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellExecuteHookW.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellExecuteHookW.cs
index c36fc62742..8283e17ee8 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellExecuteHookW.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellExecuteHookW.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000214FB-0000-0000-C000-000000000046")]
[NativeTypeName("struct IShellExecuteHookW : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellExecuteHookW : IShellExecuteHookW.Interface
+public unsafe partial struct IShellExecuteHookW : IShellExecuteHookW.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellExecuteHookW));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellFolderView.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellFolderView.cs
index 0d3f88df75..71b551a7d0 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellFolderView.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellFolderView.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("37A378C0-F82D-11CE-AE65-08002B2E1262")]
[NativeTypeName("struct IShellFolderView : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellFolderView : IShellFolderView.Interface
+public unsafe partial struct IShellFolderView : IShellFolderView.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellFolderView));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellFolderViewCB.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellFolderViewCB.cs
index 6abd78f67c..82640a40b5 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellFolderViewCB.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellFolderViewCB.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2047E320-F2A9-11CE-AE65-08002B2E1262")]
[NativeTypeName("struct IShellFolderViewCB : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellFolderViewCB : IShellFolderViewCB.Interface
+public unsafe partial struct IShellFolderViewCB : IShellFolderViewCB.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellFolderViewCB));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellIconOverlay.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellIconOverlay.cs
index fa24d3e32c..207e0c2e58 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellIconOverlay.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellIconOverlay.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7D688A70-C613-11D0-999B-00C04FD655E1")]
[NativeTypeName("struct IShellIconOverlay : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellIconOverlay : IShellIconOverlay.Interface
+public unsafe partial struct IShellIconOverlay : IShellIconOverlay.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellIconOverlay));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellIconOverlayManager.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellIconOverlayManager.cs
index 8301a4cfd8..e87d9377a8 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IShellIconOverlayManager.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IShellIconOverlayManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F10B5E34-DD3B-42A7-AA7D-2F4EC54BB09B")]
[NativeTypeName("struct IShellIconOverlayManager : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IShellIconOverlayManager : IShellIconOverlayManager.Interface
+public unsafe partial struct IShellIconOverlayManager : IShellIconOverlayManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IShellIconOverlayManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IURLSearchHook.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IURLSearchHook.cs
index f1f6ce6c83..384b990363 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IURLSearchHook.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IURLSearchHook.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("AC60F6A0-0FD9-11D0-99CB-00C04FD64497")]
[NativeTypeName("struct IURLSearchHook : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IURLSearchHook : IURLSearchHook.Interface
+public unsafe partial struct IURLSearchHook : IURLSearchHook.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IURLSearchHook));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/IURLSearchHook2.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/IURLSearchHook2.cs
index 51a024d1b4..6eac8cd87e 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/IURLSearchHook2.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/IURLSearchHook2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("5EE44DA4-6D32-46E3-86BC-07540DEDD0E0")]
[NativeTypeName("struct IURLSearchHook2 : IURLSearchHook")]
[NativeInheritance("IURLSearchHook")]
-public unsafe partial struct IURLSearchHook2 : IURLSearchHook2.Interface
+public unsafe partial struct IURLSearchHook2 : IURLSearchHook2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IURLSearchHook2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/NRESARRAY.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/NRESARRAY.cs
index 82dc04d57d..57bc74a27b 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/NRESARRAY.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/NRESARRAY.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -24,6 +25,7 @@ public partial struct _nr_e__FixedBuffer
{
public NETRESOURCEW e0;
+ [UnscopedRef]
public ref NETRESOURCEW this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -34,6 +36,7 @@ public ref NETRESOURCEW this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/NT_CONSOLE_PROPS.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/NT_CONSOLE_PROPS.cs
index ba3c6e48e4..5ea72af42c 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/NT_CONSOLE_PROPS.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/NT_CONSOLE_PROPS.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -103,6 +104,7 @@ public partial struct _ColorTable_e__FixedBuffer
public COLORREF e14;
public COLORREF e15;
+ [UnscopedRef]
public ref COLORREF this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -113,6 +115,7 @@ public ref COLORREF this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan() => MemoryMarshal.CreateSpan(ref e0, 16);
}
}
diff --git a/sources/Interop/Windows/Windows/um/ShlObj_core/QCMINFO_IDMAP.cs b/sources/Interop/Windows/Windows/um/ShlObj_core/QCMINFO_IDMAP.cs
index 957e3d0243..e0d201571e 100644
--- a/sources/Interop/Windows/Windows/um/ShlObj_core/QCMINFO_IDMAP.cs
+++ b/sources/Interop/Windows/Windows/um/ShlObj_core/QCMINFO_IDMAP.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -24,6 +25,7 @@ public partial struct _pIdList_e__FixedBuffer
{
public QCMINFO_IDMAP_PLACEMENT e0;
+ [UnscopedRef]
public ref QCMINFO_IDMAP_PLACEMENT this[int index]
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -34,6 +36,7 @@ public ref QCMINFO_IDMAP_PLACEMENT this[int index]
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
+ [UnscopedRef]
public Span AsSpan(int length) => MemoryMarshal.CreateSpan(ref e0, length);
}
}
diff --git a/sources/Interop/Windows/Windows/um/Shlwapi/IQueryAssociations.cs b/sources/Interop/Windows/Windows/um/Shlwapi/IQueryAssociations.cs
index 385cc1f840..73ca765556 100644
--- a/sources/Interop/Windows/Windows/um/Shlwapi/IQueryAssociations.cs
+++ b/sources/Interop/Windows/Windows/um/Shlwapi/IQueryAssociations.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C46CA590-3C3F-11D2-BEE6-0000F805CA57")]
[NativeTypeName("struct IQueryAssociations : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IQueryAssociations : IQueryAssociations.Interface
+public unsafe partial struct IQueryAssociations : IQueryAssociations.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IQueryAssociations));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Shlwapi/SZ.cs b/sources/Interop/Windows/Windows/um/Shlwapi/SZ.cs
index 5c6092aef1..5445c9fd90 100644
--- a/sources/Interop/Windows/Windows/um/Shlwapi/SZ.cs
+++ b/sources/Interop/Windows/Windows/um/Shlwapi/SZ.cs
@@ -10,13 +10,13 @@ namespace TerraFX.Interop.Windows;
public static partial class SZ
{
[NativeTypeName("#define SZ_CONTENTTYPE_HTMLA \"text/html\"")]
- public static ReadOnlySpan SZ_CONTENTTYPE_HTMLA => new byte[] { 0x74, 0x65, 0x78, 0x74, 0x2F, 0x68, 0x74, 0x6D, 0x6C, 0x00 };
+ public static ReadOnlySpan SZ_CONTENTTYPE_HTMLA => "text/html"u8;
[NativeTypeName("#define SZ_CONTENTTYPE_HTMLW L\"text/html\"")]
public const string SZ_CONTENTTYPE_HTMLW = "text/html";
[NativeTypeName("#define SZ_CONTENTTYPE_CDFA \"application/x-cdf\"")]
- public static ReadOnlySpan SZ_CONTENTTYPE_CDFA => new byte[] { 0x61, 0x70, 0x70, 0x6C, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x2F, 0x78, 0x2D, 0x63, 0x64, 0x66, 0x00 };
+ public static ReadOnlySpan SZ_CONTENTTYPE_CDFA => "application/x-cdf"u8;
[NativeTypeName("#define SZ_CONTENTTYPE_CDFW L\"application/x-cdf\"")]
public const string SZ_CONTENTTYPE_CDFW = "application/x-cdf";
diff --git a/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_CREATE_INFO.cs b/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_CREATE_INFO.cs
index 3470c6198b..b671b9f7e6 100644
--- a/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_CREATE_INFO.cs
+++ b/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_CREATE_INFO.cs
@@ -3,6 +3,7 @@
// Ported from um/SoftPub.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -30,22 +31,24 @@ public unsafe partial struct WTD_GENERIC_CHAIN_POLICY_CREATE_INFO
public void* pvReserved;
///
+ [UnscopedRef]
public ref uint cbStruct
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.cbStruct, 1));
+ return ref Anonymous.cbStruct;
}
}
///
+ [UnscopedRef]
public ref uint cbSize
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.cbSize, 1));
+ return ref Anonymous.cbSize;
}
}
diff --git a/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_DATA.cs b/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_DATA.cs
index 836beff6e9..50393ab868 100644
--- a/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_DATA.cs
+++ b/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_DATA.cs
@@ -3,6 +3,7 @@
// Ported from um/SoftPub.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -31,22 +32,24 @@ public unsafe partial struct WTD_GENERIC_CHAIN_POLICY_DATA
public void* pvPolicyArg;
///
+ [UnscopedRef]
public ref uint cbStruct
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.cbStruct, 1));
+ return ref Anonymous.cbStruct;
}
}
///
+ [UnscopedRef]
public ref uint cbSize
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.cbSize, 1));
+ return ref Anonymous.cbSize;
}
}
diff --git a/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO.cs b/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO.cs
index 06de62e515..20de603fe8 100644
--- a/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO.cs
+++ b/sources/Interop/Windows/Windows/um/SoftPub/WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO.cs
@@ -3,6 +3,7 @@
// Ported from um/SoftPub.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -40,22 +41,24 @@ public unsafe partial struct WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO
public WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO** rgpCounterSigner;
///
+ [UnscopedRef]
public ref uint cbStruct
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.cbStruct, 1));
+ return ref Anonymous.cbStruct;
}
}
///
+ [UnscopedRef]
public ref uint cbSize
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.cbSize, 1));
+ return ref Anonymous.cbSize;
}
}
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioClient/IAudioFormatEnumerator.cs b/sources/Interop/Windows/Windows/um/SpatialAudioClient/IAudioFormatEnumerator.cs
index 24035d49a4..53f36ea24e 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioClient/IAudioFormatEnumerator.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioClient/IAudioFormatEnumerator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DCDAA858-895A-4A22-A5EB-67BDA506096D")]
[NativeTypeName("struct IAudioFormatEnumerator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAudioFormatEnumerator : IAudioFormatEnumerator.Interface
+public unsafe partial struct IAudioFormatEnumerator : IAudioFormatEnumerator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAudioFormatEnumerator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioClient.cs b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioClient.cs
index f3d51c978e..dd812a78a0 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioClient.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioClient.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BBF8E066-AAAA-49BE-9A4D-FD2A858EA27F")]
[NativeTypeName("struct ISpatialAudioClient : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISpatialAudioClient : ISpatialAudioClient.Interface
+public unsafe partial struct ISpatialAudioClient : ISpatialAudioClient.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioClient));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObject.cs b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObject.cs
index 400c89bb63..4f09b830b1 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObject.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObject.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DDE28967-521B-46E5-8F00-BD6F2BC8AB1D")]
[NativeTypeName("struct ISpatialAudioObject : ISpatialAudioObjectBase")]
[NativeInheritance("ISpatialAudioObjectBase")]
-public unsafe partial struct ISpatialAudioObject : ISpatialAudioObject.Interface
+public unsafe partial struct ISpatialAudioObject : ISpatialAudioObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectBase.cs b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectBase.cs
index 7e5dd00d6a..75ae58c74c 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectBase.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectBase.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CCE0B8F2-8D4D-4EFB-A8CF-3D6ECF1C30E0")]
[NativeTypeName("struct ISpatialAudioObjectBase : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISpatialAudioObjectBase : ISpatialAudioObjectBase.Interface
+public unsafe partial struct ISpatialAudioObjectBase : ISpatialAudioObjectBase.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioObjectBase));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStream.cs b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStream.cs
index 3e4efb4135..636468b5e5 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStream.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStream.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BAB5F473-B423-477B-85F5-B5A332A04153")]
[NativeTypeName("struct ISpatialAudioObjectRenderStream : ISpatialAudioObjectRenderStreamBase")]
[NativeInheritance("ISpatialAudioObjectRenderStreamBase")]
-public unsafe partial struct ISpatialAudioObjectRenderStream : ISpatialAudioObjectRenderStream.Interface
+public unsafe partial struct ISpatialAudioObjectRenderStream : ISpatialAudioObjectRenderStream.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioObjectRenderStream));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStreamBase.cs b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStreamBase.cs
index ca60668e18..5e08c79c4f 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStreamBase.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStreamBase.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FEAAF403-C1D8-450D-AA05-E0CCEE7502A8")]
[NativeTypeName("struct ISpatialAudioObjectRenderStreamBase : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISpatialAudioObjectRenderStreamBase : ISpatialAudioObjectRenderStreamBase.Interface
+public unsafe partial struct ISpatialAudioObjectRenderStreamBase : ISpatialAudioObjectRenderStreamBase.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioObjectRenderStreamBase));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStreamNotify.cs b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStreamNotify.cs
index a9936c953f..19c3def61a 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStreamNotify.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioClient/ISpatialAudioObjectRenderStreamNotify.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DDDF83E6-68D7-4C70-883F-A1836AFB4A50")]
[NativeTypeName("struct ISpatialAudioObjectRenderStreamNotify : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISpatialAudioObjectRenderStreamNotify : ISpatialAudioObjectRenderStreamNotify.Interface
+public unsafe partial struct ISpatialAudioObjectRenderStreamNotify : ISpatialAudioObjectRenderStreamNotify.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioObjectRenderStreamNotify));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioHrtf/ISpatialAudioObjectForHrtf.cs b/sources/Interop/Windows/Windows/um/SpatialAudioHrtf/ISpatialAudioObjectForHrtf.cs
index 554f349b6c..2b7e8d971f 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioHrtf/ISpatialAudioObjectForHrtf.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioHrtf/ISpatialAudioObjectForHrtf.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ISpatialAudioObjectForHrtf : ISpatialAudioObjectBase")]
[NativeInheritance("ISpatialAudioObjectBase")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialAudioObjectForHrtf : ISpatialAudioObjectForHrtf.Interface
+public unsafe partial struct ISpatialAudioObjectForHrtf : ISpatialAudioObjectForHrtf.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioObjectForHrtf));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioHrtf/ISpatialAudioObjectRenderStreamForHrtf.cs b/sources/Interop/Windows/Windows/um/SpatialAudioHrtf/ISpatialAudioObjectRenderStreamForHrtf.cs
index f10ed86ed2..ce9cc1ca50 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioHrtf/ISpatialAudioObjectRenderStreamForHrtf.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioHrtf/ISpatialAudioObjectRenderStreamForHrtf.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ISpatialAudioObjectRenderStreamForHrtf : ISpatialAudioObjectRenderStreamBase")]
[NativeInheritance("ISpatialAudioObjectRenderStreamBase")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialAudioObjectRenderStreamForHrtf : ISpatialAudioObjectRenderStreamForHrtf.Interface
+public unsafe partial struct ISpatialAudioObjectRenderStreamForHrtf : ISpatialAudioObjectRenderStreamForHrtf.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioObjectRenderStreamForHrtf));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataClient.cs b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataClient.cs
index ab510ee69e..c44efcdc3d 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataClient.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataClient.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ISpatialAudioMetadataClient : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialAudioMetadataClient : ISpatialAudioMetadataClient.Interface
+public unsafe partial struct ISpatialAudioMetadataClient : ISpatialAudioMetadataClient.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioMetadataClient));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataCopier.cs b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataCopier.cs
index a1ddd47e80..13bad40716 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataCopier.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataCopier.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ISpatialAudioMetadataCopier : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialAudioMetadataCopier : ISpatialAudioMetadataCopier.Interface
+public unsafe partial struct ISpatialAudioMetadataCopier : ISpatialAudioMetadataCopier.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioMetadataCopier));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataItems.cs b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataItems.cs
index 44d0ee8340..b143120576 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataItems.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataItems.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ISpatialAudioMetadataItems : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialAudioMetadataItems : ISpatialAudioMetadataItems.Interface
+public unsafe partial struct ISpatialAudioMetadataItems : ISpatialAudioMetadataItems.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioMetadataItems));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataItemsBuffer.cs b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataItemsBuffer.cs
index 339e1bb6e7..110ca7e1a0 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataItemsBuffer.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataItemsBuffer.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ISpatialAudioMetadataItemsBuffer : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialAudioMetadataItemsBuffer : ISpatialAudioMetadataItemsBuffer.Interface
+public unsafe partial struct ISpatialAudioMetadataItemsBuffer : ISpatialAudioMetadataItemsBuffer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioMetadataItemsBuffer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataReader.cs b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataReader.cs
index 129cd92003..e18630c4ef 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataReader.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataReader.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ISpatialAudioMetadataReader : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialAudioMetadataReader : ISpatialAudioMetadataReader.Interface
+public unsafe partial struct ISpatialAudioMetadataReader : ISpatialAudioMetadataReader.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioMetadataReader));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataWriter.cs b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataWriter.cs
index 3cca277a87..e9be352d7b 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataWriter.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataWriter.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ISpatialAudioMetadataWriter : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialAudioMetadataWriter : ISpatialAudioMetadataWriter.Interface
+public unsafe partial struct ISpatialAudioMetadataWriter : ISpatialAudioMetadataWriter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioMetadataWriter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectForMetadataCommands.cs b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectForMetadataCommands.cs
index 09c289230c..aa99ccaaaa 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectForMetadataCommands.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectForMetadataCommands.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ISpatialAudioObjectForMetadataCommands : ISpatialAudioObjectBase")]
[NativeInheritance("ISpatialAudioObjectBase")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialAudioObjectForMetadataCommands : ISpatialAudioObjectForMetadataCommands.Interface
+public unsafe partial struct ISpatialAudioObjectForMetadataCommands : ISpatialAudioObjectForMetadataCommands.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioObjectForMetadataCommands));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectForMetadataItems.cs b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectForMetadataItems.cs
index e377d5a9db..18aa4760d3 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectForMetadataItems.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectForMetadataItems.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ISpatialAudioObjectForMetadataItems : ISpatialAudioObjectBase")]
[NativeInheritance("ISpatialAudioObjectBase")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialAudioObjectForMetadataItems : ISpatialAudioObjectForMetadataItems.Interface
+public unsafe partial struct ISpatialAudioObjectForMetadataItems : ISpatialAudioObjectForMetadataItems.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioObjectForMetadataItems));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectRenderStreamForMetadata.cs b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectRenderStreamForMetadata.cs
index 5a56cba839..dd18e33f53 100644
--- a/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectRenderStreamForMetadata.cs
+++ b/sources/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioObjectRenderStreamForMetadata.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ISpatialAudioObjectRenderStreamForMetadata : ISpatialAudioObjectRenderStreamBase")]
[NativeInheritance("ISpatialAudioObjectRenderStreamBase")]
[SupportedOSPlatform("windows10.0.15063.0")]
-public unsafe partial struct ISpatialAudioObjectRenderStreamForMetadata : ISpatialAudioObjectRenderStreamForMetadata.Interface
+public unsafe partial struct ISpatialAudioObjectRenderStreamForMetadata : ISpatialAudioObjectRenderStreamForMetadata.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISpatialAudioObjectRenderStreamForMetadata));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/StorageProvider/IStorageProviderHandler.cs b/sources/Interop/Windows/Windows/um/StorageProvider/IStorageProviderHandler.cs
index 0a19d76b2e..ec10ba7f8b 100644
--- a/sources/Interop/Windows/Windows/um/StorageProvider/IStorageProviderHandler.cs
+++ b/sources/Interop/Windows/Windows/um/StorageProvider/IStorageProviderHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("162C6FB5-44D3-435B-903D-E613FA093FB5")]
[NativeTypeName("struct IStorageProviderHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IStorageProviderHandler : IStorageProviderHandler.Interface
+public unsafe partial struct IStorageProviderHandler : IStorageProviderHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IStorageProviderHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/StorageProvider/IStorageProviderPropertyHandler.cs b/sources/Interop/Windows/Windows/um/StorageProvider/IStorageProviderPropertyHandler.cs
index 38e9259425..1053d8c8db 100644
--- a/sources/Interop/Windows/Windows/um/StorageProvider/IStorageProviderPropertyHandler.cs
+++ b/sources/Interop/Windows/Windows/um/StorageProvider/IStorageProviderPropertyHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("301DFBE5-524C-4B0F-8B2D-21C40B3A2988")]
[NativeTypeName("struct IStorageProviderPropertyHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IStorageProviderPropertyHandler : IStorageProviderPropertyHandler.Interface
+public unsafe partial struct IStorageProviderPropertyHandler : IStorageProviderPropertyHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IStorageProviderPropertyHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/StructuredQueryCondition/ICondition.cs b/sources/Interop/Windows/Windows/um/StructuredQueryCondition/ICondition.cs
index 2726637faa..f654c0e02d 100644
--- a/sources/Interop/Windows/Windows/um/StructuredQueryCondition/ICondition.cs
+++ b/sources/Interop/Windows/Windows/um/StructuredQueryCondition/ICondition.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0FC988D4-C935-4B97-A973-46282EA175C8")]
[NativeTypeName("struct ICondition : IPersistStream")]
[NativeInheritance("IPersistStream")]
-public unsafe partial struct ICondition : ICondition.Interface
+public unsafe partial struct ICondition : ICondition.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICondition));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/StructuredQueryCondition/ICondition2.cs b/sources/Interop/Windows/Windows/um/StructuredQueryCondition/ICondition2.cs
index 842ab43b74..dcf4b0c120 100644
--- a/sources/Interop/Windows/Windows/um/StructuredQueryCondition/ICondition2.cs
+++ b/sources/Interop/Windows/Windows/um/StructuredQueryCondition/ICondition2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0DB8851D-2E5B-47EB-9208-D28C325A01D7")]
[NativeTypeName("struct ICondition2 : ICondition")]
[NativeInheritance("ICondition")]
-public unsafe partial struct ICondition2 : ICondition2.Interface
+public unsafe partial struct ICondition2 : ICondition2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ICondition2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/StructuredQueryCondition/IRichChunk.cs b/sources/Interop/Windows/Windows/um/StructuredQueryCondition/IRichChunk.cs
index 528d009d77..336b9f757b 100644
--- a/sources/Interop/Windows/Windows/um/StructuredQueryCondition/IRichChunk.cs
+++ b/sources/Interop/Windows/Windows/um/StructuredQueryCondition/IRichChunk.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4FDEF69C-DBC9-454E-9910-B34F3C64B510")]
[NativeTypeName("struct IRichChunk : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IRichChunk : IRichChunk.Interface
+public unsafe partial struct IRichChunk : IRichChunk.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IRichChunk));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ConflictFolder.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ConflictFolder.cs
index 3dc0c8898f..327caf3025 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ConflictFolder.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ConflictFolder.cs
@@ -3,12 +3,16 @@
// Ported from um/SyncMgr.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("289978AC-A101-4341-A817-21EBA7FD046D")]
-public partial struct ConflictFolder
+public unsafe partial struct ConflictFolder : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ConflictFolder));
}
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrConflict.cs b/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrConflict.cs
index 84faae7bdb..5e8fc6fd0f 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrConflict.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrConflict.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("82705914-DDA3-4893-BA99-49DE6C8C8036")]
[NativeTypeName("struct IEnumSyncMgrConflict : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumSyncMgrConflict : IEnumSyncMgrConflict.Interface
+public unsafe partial struct IEnumSyncMgrConflict : IEnumSyncMgrConflict.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumSyncMgrConflict));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrEvents.cs b/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrEvents.cs
index fbf2753d20..1c42b4fa38 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrEvents.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrEvents.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C81A1D4E-8CF7-4683-80E0-BCAE88D677B6")]
[NativeTypeName("struct IEnumSyncMgrEvents : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumSyncMgrEvents : IEnumSyncMgrEvents.Interface
+public unsafe partial struct IEnumSyncMgrEvents : IEnumSyncMgrEvents.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumSyncMgrEvents));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrSyncItems.cs b/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrSyncItems.cs
index 985a31a2a3..66176429f5 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrSyncItems.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/IEnumSyncMgrSyncItems.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("54B3ABF3-F085-4181-B546-E29C403C726B")]
[NativeTypeName("struct IEnumSyncMgrSyncItems : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumSyncMgrSyncItems : IEnumSyncMgrSyncItems.Interface
+public unsafe partial struct IEnumSyncMgrSyncItems : IEnumSyncMgrSyncItems.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumSyncMgrSyncItems));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflict.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflict.cs
index 1bd16d4dfc..31b347b2b6 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflict.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflict.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9C204249-C443-4BA4-85ED-C972681DB137")]
[NativeTypeName("struct ISyncMgrConflict : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrConflict : ISyncMgrConflict.Interface
+public unsafe partial struct ISyncMgrConflict : ISyncMgrConflict.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrConflict));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictFolder.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictFolder.cs
index 3871af90e7..337e478d03 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictFolder.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictFolder.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("59287F5E-BC81-4FCA-A7F1-E5A8ECDB1D69")]
[NativeTypeName("struct ISyncMgrConflictFolder : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrConflictFolder : ISyncMgrConflictFolder.Interface
+public unsafe partial struct ISyncMgrConflictFolder : ISyncMgrConflictFolder.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrConflictFolder));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictItems.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictItems.cs
index 41350b8933..5fc06f45df 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictItems.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictItems.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9C7EAD52-8023-4936-A4DB-D2A9A99E436A")]
[NativeTypeName("struct ISyncMgrConflictItems : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrConflictItems : ISyncMgrConflictItems.Interface
+public unsafe partial struct ISyncMgrConflictItems : ISyncMgrConflictItems.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrConflictItems));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictPresenter.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictPresenter.cs
index e529e290a9..a9446f6fae 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictPresenter.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictPresenter.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0B4F5353-FD2B-42CD-8763-4779F2D508A3")]
[NativeTypeName("struct ISyncMgrConflictPresenter : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrConflictPresenter : ISyncMgrConflictPresenter.Interface
+public unsafe partial struct ISyncMgrConflictPresenter : ISyncMgrConflictPresenter.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrConflictPresenter));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictResolutionItems.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictResolutionItems.cs
index 2c91c15078..a894b7d470 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictResolutionItems.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictResolutionItems.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("458725B9-129D-4135-A998-9CEAFEC27007")]
[NativeTypeName("struct ISyncMgrConflictResolutionItems : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrConflictResolutionItems : ISyncMgrConflictResolutionItems.Interface
+public unsafe partial struct ISyncMgrConflictResolutionItems : ISyncMgrConflictResolutionItems.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrConflictResolutionItems));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictResolveInfo.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictResolveInfo.cs
index d73c6de643..eec2c7c117 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictResolveInfo.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictResolveInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C405A219-25A2-442E-8743-B845A2CEE93F")]
[NativeTypeName("struct ISyncMgrConflictResolveInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrConflictResolveInfo : ISyncMgrConflictResolveInfo.Interface
+public unsafe partial struct ISyncMgrConflictResolveInfo : ISyncMgrConflictResolveInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrConflictResolveInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictStore.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictStore.cs
index 69ad596869..8134441413 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictStore.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrConflictStore.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CF8FC579-C396-4774-85F1-D908A831156E")]
[NativeTypeName("struct ISyncMgrConflictStore : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrConflictStore : ISyncMgrConflictStore.Interface
+public unsafe partial struct ISyncMgrConflictStore : ISyncMgrConflictStore.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrConflictStore));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrControl.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrControl.cs
index d5de80cf5f..ba817602de 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrControl.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrControl.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9B63616C-36B2-46BC-959F-C1593952D19B")]
[NativeTypeName("struct ISyncMgrControl : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrControl : ISyncMgrControl.Interface
+public unsafe partial struct ISyncMgrControl : ISyncMgrControl.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrControl));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEvent.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEvent.cs
index 48e50a733b..8e5bda3fc2 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEvent.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEvent.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FEE0EF8B-46BD-4DB4-B7E6-FF2C687313BC")]
[NativeTypeName("struct ISyncMgrEvent : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrEvent : ISyncMgrEvent.Interface
+public unsafe partial struct ISyncMgrEvent : ISyncMgrEvent.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrEvent));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEventLinkUIOperation.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEventLinkUIOperation.cs
index 050dee45f7..f1f73f37e1 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEventLinkUIOperation.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEventLinkUIOperation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("64522E52-848B-4015-89CE-5A36F00B94FF")]
[NativeTypeName("struct ISyncMgrEventLinkUIOperation : ISyncMgrUIOperation")]
[NativeInheritance("ISyncMgrUIOperation")]
-public unsafe partial struct ISyncMgrEventLinkUIOperation : ISyncMgrEventLinkUIOperation.Interface
+public unsafe partial struct ISyncMgrEventLinkUIOperation : ISyncMgrEventLinkUIOperation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrEventLinkUIOperation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEventStore.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEventStore.cs
index e70d060989..525ca4873d 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEventStore.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrEventStore.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("37E412F9-016E-44C2-81FF-DB3ADD774266")]
[NativeTypeName("struct ISyncMgrEventStore : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrEventStore : ISyncMgrEventStore.Interface
+public unsafe partial struct ISyncMgrEventStore : ISyncMgrEventStore.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrEventStore));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandler.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandler.cs
index 8f1064fa40..1410d0f8e9 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandler.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("04EC2E43-AC77-49F9-9B98-0307EF7A72A2")]
[NativeTypeName("struct ISyncMgrHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrHandler : ISyncMgrHandler.Interface
+public unsafe partial struct ISyncMgrHandler : ISyncMgrHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandlerCollection.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandlerCollection.cs
index 52ac62b800..87f63c35bc 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandlerCollection.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandlerCollection.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A7F337A3-D20B-45CB-9ED7-87D094CA5045")]
[NativeTypeName("struct ISyncMgrHandlerCollection : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrHandlerCollection : ISyncMgrHandlerCollection.Interface
+public unsafe partial struct ISyncMgrHandlerCollection : ISyncMgrHandlerCollection.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrHandlerCollection));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandlerInfo.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandlerInfo.cs
index a8a368242d..ff4d552a0c 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandlerInfo.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrHandlerInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4FF1D798-ECF7-4524-AA81-1E362A0AEF3A")]
[NativeTypeName("struct ISyncMgrHandlerInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrHandlerInfo : ISyncMgrHandlerInfo.Interface
+public unsafe partial struct ISyncMgrHandlerInfo : ISyncMgrHandlerInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrHandlerInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrResolutionHandler.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrResolutionHandler.cs
index e8cb7526df..0aca10b366 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrResolutionHandler.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrResolutionHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("40A3D052-8BFF-4C4B-A338-D4A395700DE9")]
[NativeTypeName("struct ISyncMgrResolutionHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrResolutionHandler : ISyncMgrResolutionHandler.Interface
+public unsafe partial struct ISyncMgrResolutionHandler : ISyncMgrResolutionHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrResolutionHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrScheduleWizardUIOperation.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrScheduleWizardUIOperation.cs
index 4101ded2e5..60bb360062 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrScheduleWizardUIOperation.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrScheduleWizardUIOperation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("459A6C84-21D2-4DDC-8A53-F023A46066F2")]
[NativeTypeName("struct ISyncMgrScheduleWizardUIOperation : ISyncMgrUIOperation")]
[NativeInheritance("ISyncMgrUIOperation")]
-public unsafe partial struct ISyncMgrScheduleWizardUIOperation : ISyncMgrScheduleWizardUIOperation.Interface
+public unsafe partial struct ISyncMgrScheduleWizardUIOperation : ISyncMgrScheduleWizardUIOperation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrScheduleWizardUIOperation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSessionCreator.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSessionCreator.cs
index 30adea7972..5b2632d935 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSessionCreator.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSessionCreator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("17F48517-F305-4321-A08D-B25A834918FD")]
[NativeTypeName("struct ISyncMgrSessionCreator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrSessionCreator : ISyncMgrSessionCreator.Interface
+public unsafe partial struct ISyncMgrSessionCreator : ISyncMgrSessionCreator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrSessionCreator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncCallback.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncCallback.cs
index e5909f0776..f41c03952a 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncCallback.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncCallback.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("884CCD87-B139-4937-A4BA-4F8E19513FBE")]
[NativeTypeName("struct ISyncMgrSyncCallback : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrSyncCallback : ISyncMgrSyncCallback.Interface
+public unsafe partial struct ISyncMgrSyncCallback : ISyncMgrSyncCallback.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrSyncCallback));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItem.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItem.cs
index e3d7000df3..3d7636dad3 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItem.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItem.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B20B24CE-2593-4F04-BD8B-7AD6C45051CD")]
[NativeTypeName("struct ISyncMgrSyncItem : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrSyncItem : ISyncMgrSyncItem.Interface
+public unsafe partial struct ISyncMgrSyncItem : ISyncMgrSyncItem.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrSyncItem));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItemContainer.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItemContainer.cs
index db33d0bf22..02243a15e5 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItemContainer.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItemContainer.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("90701133-BE32-4129-A65C-99E616CAFFF4")]
[NativeTypeName("struct ISyncMgrSyncItemContainer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrSyncItemContainer : ISyncMgrSyncItemContainer.Interface
+public unsafe partial struct ISyncMgrSyncItemContainer : ISyncMgrSyncItemContainer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrSyncItemContainer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItemInfo.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItemInfo.cs
index 021d7ddd9c..6cb9fd5e0b 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItemInfo.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncItemInfo.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E7FD9502-BE0C-4464-90A1-2B5277031232")]
[NativeTypeName("struct ISyncMgrSyncItemInfo : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrSyncItemInfo : ISyncMgrSyncItemInfo.Interface
+public unsafe partial struct ISyncMgrSyncItemInfo : ISyncMgrSyncItemInfo.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrSyncItemInfo));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncResult.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncResult.cs
index f64bad7e77..8df660ca3a 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncResult.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrSyncResult.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2B90F17E-5A3E-4B33-BB7F-1BC48056B94D")]
[NativeTypeName("struct ISyncMgrSyncResult : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrSyncResult : ISyncMgrSyncResult.Interface
+public unsafe partial struct ISyncMgrSyncResult : ISyncMgrSyncResult.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrSyncResult));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrUIOperation.cs b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrUIOperation.cs
index 7e7903a21d..3907504f2b 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrUIOperation.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/ISyncMgrUIOperation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FC7CFA47-DFE1-45B5-A049-8CFD82BEC271")]
[NativeTypeName("struct ISyncMgrUIOperation : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ISyncMgrUIOperation : ISyncMgrUIOperation.Interface
+public unsafe partial struct ISyncMgrUIOperation : ISyncMgrUIOperation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ISyncMgrUIOperation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/SimpleConflictPresenter.cs b/sources/Interop/Windows/Windows/um/SyncMgr/SimpleConflictPresenter.cs
index c9ab9ebc9c..ab011939f7 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/SimpleConflictPresenter.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/SimpleConflictPresenter.cs
@@ -3,12 +3,16 @@
// Ported from um/SyncMgr.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("7A0F6AB7-ED84-46B6-B47E-02AA159A152B")]
-public partial struct SimpleConflictPresenter
+public unsafe partial struct SimpleConflictPresenter : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SimpleConflictPresenter));
}
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrClient.cs b/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrClient.cs
index 3115144ef2..4c35704abc 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrClient.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrClient.cs
@@ -3,12 +3,16 @@
// Ported from um/SyncMgr.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("1202DB60-1DAC-42C5-AED5-1ABDD432248E")]
-public partial struct SyncMgrClient
+public unsafe partial struct SyncMgrClient : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SyncMgrClient));
}
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrControl.cs b/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrControl.cs
index fef927e611..dab87ab108 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrControl.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrControl.cs
@@ -3,12 +3,16 @@
// Ported from um/SyncMgr.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("1A1F4206-0688-4E7F-BE03-D82EC69DF9A5")]
-public partial struct SyncMgrControl
+public unsafe partial struct SyncMgrControl : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SyncMgrControl));
}
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrFolder.cs b/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrFolder.cs
index 6dc5c17061..2777450cdd 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrFolder.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrFolder.cs
@@ -3,12 +3,16 @@
// Ported from um/SyncMgr.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("9C73F5E5-7AE7-4E32-A8E8-8D23B85255BF")]
-public partial struct SyncMgrFolder
+public unsafe partial struct SyncMgrFolder : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SyncMgrFolder));
}
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrScheduleWizard.cs b/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrScheduleWizard.cs
index 0dfc20e1bc..57a92c3e82 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrScheduleWizard.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/SyncMgrScheduleWizard.cs
@@ -3,12 +3,16 @@
// Ported from um/SyncMgr.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("8D8B8E30-C451-421B-8553-D2976AFA648C")]
-public partial struct SyncMgrScheduleWizard
+public unsafe partial struct SyncMgrScheduleWizard : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SyncMgrScheduleWizard));
}
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/SyncResultsFolder.cs b/sources/Interop/Windows/Windows/um/SyncMgr/SyncResultsFolder.cs
index 70506a2bb6..e93763b8c0 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/SyncResultsFolder.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/SyncResultsFolder.cs
@@ -3,12 +3,16 @@
// Ported from um/SyncMgr.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("71D99464-3B6B-475C-B241-E15883207529")]
-public partial struct SyncResultsFolder
+public unsafe partial struct SyncResultsFolder : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SyncResultsFolder));
}
diff --git a/sources/Interop/Windows/Windows/um/SyncMgr/SyncSetupFolder.cs b/sources/Interop/Windows/Windows/um/SyncMgr/SyncSetupFolder.cs
index 5126d3afa1..424dc0c22f 100644
--- a/sources/Interop/Windows/Windows/um/SyncMgr/SyncSetupFolder.cs
+++ b/sources/Interop/Windows/Windows/um/SyncMgr/SyncSetupFolder.cs
@@ -3,12 +3,16 @@
// Ported from um/SyncMgr.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("2E9E59C0-B437-4981-A647-9C34B9B90891")]
-public partial struct SyncSetupFolder
+public unsafe partial struct SyncSetupFolder : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_SyncSetupFolder));
}
diff --git a/sources/Interop/Windows/Windows/um/TextStor/IAnchor.cs b/sources/Interop/Windows/Windows/um/TextStor/IAnchor.cs
index 707925ad10..0566f095a9 100644
--- a/sources/Interop/Windows/Windows/um/TextStor/IAnchor.cs
+++ b/sources/Interop/Windows/Windows/um/TextStor/IAnchor.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("0FEB7E34-5A60-4356-8EF7-ABDEC2FF7CF8")]
[NativeTypeName("struct IAnchor : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IAnchor : IAnchor.Interface
+public unsafe partial struct IAnchor : IAnchor.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IAnchor));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACP.cs b/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACP.cs
index c5c3948d1f..ec5e72594e 100644
--- a/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACP.cs
+++ b/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACP.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("28888FE3-C2A0-483A-A3EA-8CB1CE51FF3D")]
[NativeTypeName("struct ITextStoreACP : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITextStoreACP : ITextStoreACP.Interface
+public unsafe partial struct ITextStoreACP : ITextStoreACP.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITextStoreACP));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACP2.cs b/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACP2.cs
index f9dfae34b7..47b850973b 100644
--- a/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACP2.cs
+++ b/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACP2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -15,8 +16,10 @@ namespace TerraFX.Interop.Windows;
[NativeTypeName("struct ITextStoreACP2 : IUnknown")]
[NativeInheritance("IUnknown")]
[SupportedOSPlatform("windows6.2")]
-public unsafe partial struct ITextStoreACP2 : ITextStoreACP2.Interface
+public unsafe partial struct ITextStoreACP2 : ITextStoreACP2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITextStoreACP2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACPSink.cs b/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACPSink.cs
index b3b7538ca9..154112ddd4 100644
--- a/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACPSink.cs
+++ b/sources/Interop/Windows/Windows/um/TextStor/ITextStoreACPSink.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("22D44C94-A419-4542-A272-AE26093ECECF")]
[NativeTypeName("struct ITextStoreACPSink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITextStoreACPSink : ITextStoreACPSink.Interface
+public unsafe partial struct ITextStoreACPSink : ITextStoreACPSink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITextStoreACPSink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/TextStor/ITextStoreAnchor.cs b/sources/Interop/Windows/Windows/um/TextStor/ITextStoreAnchor.cs
index bca3259aa0..f788ab27bb 100644
--- a/sources/Interop/Windows/Windows/um/TextStor/ITextStoreAnchor.cs
+++ b/sources/Interop/Windows/Windows/um/TextStor/ITextStoreAnchor.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9B2077B0-5F18-4DEC-BEE9-3CC722F5DFE0")]
[NativeTypeName("struct ITextStoreAnchor : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITextStoreAnchor : ITextStoreAnchor.Interface
+public unsafe partial struct ITextStoreAnchor : ITextStoreAnchor.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITextStoreAnchor));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/TextStor/ITextStoreAnchorSink.cs b/sources/Interop/Windows/Windows/um/TextStor/ITextStoreAnchorSink.cs
index 641b55ae6b..4d6c754617 100644
--- a/sources/Interop/Windows/Windows/um/TextStor/ITextStoreAnchorSink.cs
+++ b/sources/Interop/Windows/Windows/um/TextStor/ITextStoreAnchorSink.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("AA80E905-2021-11D2-93E0-0060B067B86E")]
[NativeTypeName("struct ITextStoreAnchorSink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct ITextStoreAnchorSink : ITextStoreAnchorSink.Interface
+public unsafe partial struct ITextStoreAnchorSink : ITextStoreAnchorSink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ITextStoreAnchorSink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationInterpolator.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationInterpolator.cs
index cd85dbc645..92d173b3fd 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationInterpolator.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationInterpolator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7815CBBA-DDF7-478C-A46C-7B6C738B7978")]
[NativeTypeName("struct IUIAnimationInterpolator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationInterpolator : IUIAnimationInterpolator.Interface
+public unsafe partial struct IUIAnimationInterpolator : IUIAnimationInterpolator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationInterpolator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationInterpolator2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationInterpolator2.cs
index cf73dd8093..2ceb718202 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationInterpolator2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationInterpolator2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EA76AFF8-EA22-4A23-A0EF-A6A966703518")]
[NativeTypeName("struct IUIAnimationInterpolator2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationInterpolator2 : IUIAnimationInterpolator2.Interface
+public unsafe partial struct IUIAnimationInterpolator2 : IUIAnimationInterpolator2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationInterpolator2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationLoopIterationChangeHandler2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationLoopIterationChangeHandler2.cs
index 170f06db3a..0692b652b4 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationLoopIterationChangeHandler2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationLoopIterationChangeHandler2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2D3B15A4-4762-47AB-A030-B23221DF3AE0")]
[NativeTypeName("struct IUIAnimationLoopIterationChangeHandler2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationLoopIterationChangeHandler2 : IUIAnimationLoopIterationChangeHandler2.Interface
+public unsafe partial struct IUIAnimationLoopIterationChangeHandler2 : IUIAnimationLoopIterationChangeHandler2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationLoopIterationChangeHandler2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManager.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManager.cs
index 9cf53c5f39..b59fb8c3b5 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManager.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManager.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9169896C-AC8D-4E7D-94E5-67FA4DC2F2E8")]
[NativeTypeName("struct IUIAnimationManager : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationManager : IUIAnimationManager.Interface
+public unsafe partial struct IUIAnimationManager : IUIAnimationManager.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationManager));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManager2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManager2.cs
index 4b3c657196..bf337a2991 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManager2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManager2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("D8B6F7D4-4109-4D3F-ACEE-879926968CB1")]
[NativeTypeName("struct IUIAnimationManager2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationManager2 : IUIAnimationManager2.Interface
+public unsafe partial struct IUIAnimationManager2 : IUIAnimationManager2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationManager2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManagerEventHandler.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManagerEventHandler.cs
index 40038fdbbd..022664f4ba 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManagerEventHandler.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManagerEventHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("783321ED-78A3-4366-B574-6AF607A64788")]
[NativeTypeName("struct IUIAnimationManagerEventHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationManagerEventHandler : IUIAnimationManagerEventHandler.Interface
+public unsafe partial struct IUIAnimationManagerEventHandler : IUIAnimationManagerEventHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationManagerEventHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManagerEventHandler2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManagerEventHandler2.cs
index 397a183281..2836ed6f32 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManagerEventHandler2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationManagerEventHandler2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("F6E022BA-BFF3-42EC-9033-E073F33E83C3")]
[NativeTypeName("struct IUIAnimationManagerEventHandler2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationManagerEventHandler2 : IUIAnimationManagerEventHandler2.Interface
+public unsafe partial struct IUIAnimationManagerEventHandler2 : IUIAnimationManagerEventHandler2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationManagerEventHandler2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPrimitiveInterpolation.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPrimitiveInterpolation.cs
index 0b80b85b39..0cd8e613e6 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPrimitiveInterpolation.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPrimitiveInterpolation.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BAB20D63-4361-45DA-A24F-AB8508846B5B")]
[NativeTypeName("struct IUIAnimationPrimitiveInterpolation : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationPrimitiveInterpolation : IUIAnimationPrimitiveInterpolation.Interface
+public unsafe partial struct IUIAnimationPrimitiveInterpolation : IUIAnimationPrimitiveInterpolation.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationPrimitiveInterpolation));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPriorityComparison.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPriorityComparison.cs
index f317bbd6e6..453b009fbf 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPriorityComparison.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPriorityComparison.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("83FA9B74-5F86-4618-BC6A-A2FAC19B3F44")]
[NativeTypeName("struct IUIAnimationPriorityComparison : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationPriorityComparison : IUIAnimationPriorityComparison.Interface
+public unsafe partial struct IUIAnimationPriorityComparison : IUIAnimationPriorityComparison.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationPriorityComparison));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPriorityComparison2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPriorityComparison2.cs
index 238d692544..e7f919f294 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPriorityComparison2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationPriorityComparison2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("5B6D7A37-4621-467C-8B05-70131DE62DDB")]
[NativeTypeName("struct IUIAnimationPriorityComparison2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationPriorityComparison2 : IUIAnimationPriorityComparison2.Interface
+public unsafe partial struct IUIAnimationPriorityComparison2 : IUIAnimationPriorityComparison2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationPriorityComparison2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboard.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboard.cs
index c687600e02..b8ef078691 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboard.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboard.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A8FF128F-9BF9-4AF1-9E67-E5E410DEFB84")]
[NativeTypeName("struct IUIAnimationStoryboard : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationStoryboard : IUIAnimationStoryboard.Interface
+public unsafe partial struct IUIAnimationStoryboard : IUIAnimationStoryboard.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationStoryboard));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboard2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboard2.cs
index 3b8ef484ef..1f842c7b5c 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboard2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboard2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("AE289CD2-12D4-4945-9419-9E41BE034DF2")]
[NativeTypeName("struct IUIAnimationStoryboard2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationStoryboard2 : IUIAnimationStoryboard2.Interface
+public unsafe partial struct IUIAnimationStoryboard2 : IUIAnimationStoryboard2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationStoryboard2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboardEventHandler.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboardEventHandler.cs
index 09bf5a6f49..592413341a 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboardEventHandler.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboardEventHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("3D5C9008-EC7C-4364-9F8A-9AF3C58CBAE6")]
[NativeTypeName("struct IUIAnimationStoryboardEventHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationStoryboardEventHandler : IUIAnimationStoryboardEventHandler.Interface
+public unsafe partial struct IUIAnimationStoryboardEventHandler : IUIAnimationStoryboardEventHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationStoryboardEventHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboardEventHandler2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboardEventHandler2.cs
index 8503bdb1af..c34c8c466c 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboardEventHandler2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationStoryboardEventHandler2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BAC5F55A-BA7C-414C-B599-FBF850F553C6")]
[NativeTypeName("struct IUIAnimationStoryboardEventHandler2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationStoryboardEventHandler2 : IUIAnimationStoryboardEventHandler2.Interface
+public unsafe partial struct IUIAnimationStoryboardEventHandler2 : IUIAnimationStoryboardEventHandler2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationStoryboardEventHandler2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimer.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimer.cs
index 409b997859..440b47e6e6 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimer.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimer.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6B0EFAD1-A053-41D6-9085-33A689144665")]
[NativeTypeName("struct IUIAnimationTimer : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationTimer : IUIAnimationTimer.Interface
+public unsafe partial struct IUIAnimationTimer : IUIAnimationTimer.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationTimer));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerClientEventHandler.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerClientEventHandler.cs
index 83a2204dd1..101772bdc6 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerClientEventHandler.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerClientEventHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BEDB4DB6-94FA-4BFB-A47F-EF2D9E408C25")]
[NativeTypeName("struct IUIAnimationTimerClientEventHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationTimerClientEventHandler : IUIAnimationTimerClientEventHandler.Interface
+public unsafe partial struct IUIAnimationTimerClientEventHandler : IUIAnimationTimerClientEventHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationTimerClientEventHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerEventHandler.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerEventHandler.cs
index 8d23d8a4b4..bc211f1ab1 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerEventHandler.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerEventHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("274A7DEA-D771-4095-ABBD-8DF7ABD23CE3")]
[NativeTypeName("struct IUIAnimationTimerEventHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationTimerEventHandler : IUIAnimationTimerEventHandler.Interface
+public unsafe partial struct IUIAnimationTimerEventHandler : IUIAnimationTimerEventHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationTimerEventHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerUpdateHandler.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerUpdateHandler.cs
index 2c378d18c4..5c674664e8 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerUpdateHandler.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTimerUpdateHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("195509B7-5D5E-4E3E-B278-EE3759B367AD")]
[NativeTypeName("struct IUIAnimationTimerUpdateHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationTimerUpdateHandler : IUIAnimationTimerUpdateHandler.Interface
+public unsafe partial struct IUIAnimationTimerUpdateHandler : IUIAnimationTimerUpdateHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationTimerUpdateHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransition.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransition.cs
index e6e1c02fde..6de052dd2f 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransition.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransition.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DC6CE252-F731-41CF-B610-614B6CA049AD")]
[NativeTypeName("struct IUIAnimationTransition : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationTransition : IUIAnimationTransition.Interface
+public unsafe partial struct IUIAnimationTransition : IUIAnimationTransition.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationTransition));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransition2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransition2.cs
index 99694afd50..4e02108d08 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransition2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransition2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("62FF9123-A85A-4E9B-A218-435A93E268FD")]
[NativeTypeName("struct IUIAnimationTransition2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationTransition2 : IUIAnimationTransition2.Interface
+public unsafe partial struct IUIAnimationTransition2 : IUIAnimationTransition2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationTransition2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionFactory.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionFactory.cs
index 3bd2c55581..a93096c24d 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionFactory.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("FCD91E03-3E3B-45AD-BBB1-6DFC8153743D")]
[NativeTypeName("struct IUIAnimationTransitionFactory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationTransitionFactory : IUIAnimationTransitionFactory.Interface
+public unsafe partial struct IUIAnimationTransitionFactory : IUIAnimationTransitionFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationTransitionFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionFactory2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionFactory2.cs
index dc085ad027..456c02ce95 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionFactory2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionFactory2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("937D4916-C1A6-42D5-88D8-30344D6EFE31")]
[NativeTypeName("struct IUIAnimationTransitionFactory2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationTransitionFactory2 : IUIAnimationTransitionFactory2.Interface
+public unsafe partial struct IUIAnimationTransitionFactory2 : IUIAnimationTransitionFactory2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationTransitionFactory2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionLibrary.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionLibrary.cs
index 030e19a100..fe0a7b9425 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionLibrary.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionLibrary.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("CA5A14B1-D24F-48B8-8FE4-C78169BA954E")]
[NativeTypeName("struct IUIAnimationTransitionLibrary : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationTransitionLibrary : IUIAnimationTransitionLibrary.Interface
+public unsafe partial struct IUIAnimationTransitionLibrary : IUIAnimationTransitionLibrary.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationTransitionLibrary));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionLibrary2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionLibrary2.cs
index 2163c53b84..e4e7db755a 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionLibrary2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationTransitionLibrary2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("03CFAE53-9580-4EE3-B363-2ECE51B4AF6A")]
[NativeTypeName("struct IUIAnimationTransitionLibrary2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationTransitionLibrary2 : IUIAnimationTransitionLibrary2.Interface
+public unsafe partial struct IUIAnimationTransitionLibrary2 : IUIAnimationTransitionLibrary2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationTransitionLibrary2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariable.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariable.cs
index f4643eb46b..d05e826ac7 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariable.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariable.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("8CEEB155-2849-4CE5-9448-91FF70E1E4D9")]
[NativeTypeName("struct IUIAnimationVariable : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationVariable : IUIAnimationVariable.Interface
+public unsafe partial struct IUIAnimationVariable : IUIAnimationVariable.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationVariable));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariable2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariable2.cs
index 3417de0970..21de9193ec 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariable2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariable2.cs
@@ -7,6 +7,7 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using TerraFX.Interop.DirectX;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -14,8 +15,10 @@ namespace TerraFX.Interop.Windows;
[Guid("4914B304-96AB-44D9-9E77-D5109B7E7466")]
[NativeTypeName("struct IUIAnimationVariable2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationVariable2 : IUIAnimationVariable2.Interface
+public unsafe partial struct IUIAnimationVariable2 : IUIAnimationVariable2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationVariable2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableChangeHandler.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableChangeHandler.cs
index 72501e9e90..80fe407cff 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableChangeHandler.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableChangeHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6358B7BA-87D2-42D5-BF71-82E919DD5862")]
[NativeTypeName("struct IUIAnimationVariableChangeHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationVariableChangeHandler : IUIAnimationVariableChangeHandler.Interface
+public unsafe partial struct IUIAnimationVariableChangeHandler : IUIAnimationVariableChangeHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationVariableChangeHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableChangeHandler2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableChangeHandler2.cs
index fd22228256..a8e9632c22 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableChangeHandler2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableChangeHandler2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("63ACC8D2-6EAE-4BB0-B879-586DD8CFBE42")]
[NativeTypeName("struct IUIAnimationVariableChangeHandler2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationVariableChangeHandler2 : IUIAnimationVariableChangeHandler2.Interface
+public unsafe partial struct IUIAnimationVariableChangeHandler2 : IUIAnimationVariableChangeHandler2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationVariableChangeHandler2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableCurveChangeHandler2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableCurveChangeHandler2.cs
index bc6556d0bb..b2c3f667c9 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableCurveChangeHandler2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableCurveChangeHandler2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("72895E91-0145-4C21-9192-5AAB40EDDF80")]
[NativeTypeName("struct IUIAnimationVariableCurveChangeHandler2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationVariableCurveChangeHandler2 : IUIAnimationVariableCurveChangeHandler2.Interface
+public unsafe partial struct IUIAnimationVariableCurveChangeHandler2 : IUIAnimationVariableCurveChangeHandler2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationVariableCurveChangeHandler2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableIntegerChangeHandler.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableIntegerChangeHandler.cs
index 81dfebaba5..90f0aea523 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableIntegerChangeHandler.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableIntegerChangeHandler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BB3E1550-356E-44B0-99DA-85AC6017865E")]
[NativeTypeName("struct IUIAnimationVariableIntegerChangeHandler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationVariableIntegerChangeHandler : IUIAnimationVariableIntegerChangeHandler.Interface
+public unsafe partial struct IUIAnimationVariableIntegerChangeHandler : IUIAnimationVariableIntegerChangeHandler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationVariableIntegerChangeHandler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableIntegerChangeHandler2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableIntegerChangeHandler2.cs
index edba41068a..543b07369e 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableIntegerChangeHandler2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/IUIAnimationVariableIntegerChangeHandler2.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("829B6CF1-4F3A-4412-AE09-B243EB4C6B58")]
[NativeTypeName("struct IUIAnimationVariableIntegerChangeHandler2 : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUIAnimationVariableIntegerChangeHandler2 : IUIAnimationVariableIntegerChangeHandler2.Interface
+public unsafe partial struct IUIAnimationVariableIntegerChangeHandler2 : IUIAnimationVariableIntegerChangeHandler2.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUIAnimationVariableIntegerChangeHandler2));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationManager.cs b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationManager.cs
index 2043aa4390..baedda88f5 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationManager.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationManager.cs
@@ -3,12 +3,16 @@
// Ported from um/UIAnimation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("4C1FC63A-695C-47E8-A339-1A194BE3D0B8")]
-public partial struct UIAnimationManager
+public unsafe partial struct UIAnimationManager : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_UIAnimationManager));
}
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationManager2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationManager2.cs
index 45d3648e65..c4e8470a4b 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationManager2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationManager2.cs
@@ -3,12 +3,16 @@
// Ported from um/UIAnimation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("D25D8842-8884-4A4A-B321-091314379BDD")]
-public partial struct UIAnimationManager2
+public unsafe partial struct UIAnimationManager2 : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_UIAnimationManager2));
}
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTimer.cs b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTimer.cs
index a28c3d9d27..a6d0af1468 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTimer.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTimer.cs
@@ -3,12 +3,16 @@
// Ported from um/UIAnimation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("BFCD4A0C-06B6-4384-B768-0DAA792C380E")]
-public partial struct UIAnimationTimer
+public unsafe partial struct UIAnimationTimer : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_UIAnimationTimer));
}
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionFactory.cs b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionFactory.cs
index 233b346ab6..883658d03b 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionFactory.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionFactory.cs
@@ -3,12 +3,16 @@
// Ported from um/UIAnimation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("8A9B1CDD-FCD7-419C-8B44-42FD17DB1887")]
-public partial struct UIAnimationTransitionFactory
+public unsafe partial struct UIAnimationTransitionFactory : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_UIAnimationTransitionFactory));
}
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionFactory2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionFactory2.cs
index 652335101e..8959d977a4 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionFactory2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionFactory2.cs
@@ -3,12 +3,16 @@
// Ported from um/UIAnimation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("84302F97-7F7B-4040-B190-72AC9D18E420")]
-public partial struct UIAnimationTransitionFactory2
+public unsafe partial struct UIAnimationTransitionFactory2 : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_UIAnimationTransitionFactory2));
}
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionLibrary.cs b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionLibrary.cs
index 9c7f425dca..42cb65b311 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionLibrary.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionLibrary.cs
@@ -3,12 +3,16 @@
// Ported from um/UIAnimation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("1D6322AD-AA85-4EF5-A828-86D71067D145")]
-public partial struct UIAnimationTransitionLibrary
+public unsafe partial struct UIAnimationTransitionLibrary : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_UIAnimationTransitionLibrary));
}
diff --git a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionLibrary2.cs b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionLibrary2.cs
index b837da065c..c0aeedc5e7 100644
--- a/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionLibrary2.cs
+++ b/sources/Interop/Windows/Windows/um/UIAnimation/UIAnimationTransitionLibrary2.cs
@@ -3,12 +3,16 @@
// Ported from um/UIAnimation.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.CLSID;
namespace TerraFX.Interop.Windows;
///
[Guid("812F944A-C5C8-4CD9-B0A6-B3DA802F228D")]
-public partial struct UIAnimationTransitionLibrary2
+public unsafe partial struct UIAnimationTransitionLibrary2 : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in CLSID_UIAnimationTransitionLibrary2));
}
diff --git a/sources/Interop/Windows/Windows/um/Unknwnbase/AsyncIUnknown.cs b/sources/Interop/Windows/Windows/um/Unknwnbase/AsyncIUnknown.cs
index 3d860b121d..78923bf3b9 100644
--- a/sources/Interop/Windows/Windows/um/Unknwnbase/AsyncIUnknown.cs
+++ b/sources/Interop/Windows/Windows/um/Unknwnbase/AsyncIUnknown.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("000E0000-0000-0000-C000-000000000046")]
[NativeTypeName("struct AsyncIUnknown : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct AsyncIUnknown : AsyncIUnknown.Interface
+public unsafe partial struct AsyncIUnknown : AsyncIUnknown.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_AsyncIUnknown));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Unknwnbase/IClassFactory.cs b/sources/Interop/Windows/Windows/um/Unknwnbase/IClassFactory.cs
index 9c1b1df468..860ba7e896 100644
--- a/sources/Interop/Windows/Windows/um/Unknwnbase/IClassFactory.cs
+++ b/sources/Interop/Windows/Windows/um/Unknwnbase/IClassFactory.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("00000001-0000-0000-C000-000000000046")]
[NativeTypeName("struct IClassFactory : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IClassFactory : IClassFactory.Interface
+public unsafe partial struct IClassFactory : IClassFactory.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IClassFactory));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/Unknwnbase/IUnknown.cs b/sources/Interop/Windows/Windows/um/Unknwnbase/IUnknown.cs
index 9d645e1bce..3851677833 100644
--- a/sources/Interop/Windows/Windows/um/Unknwnbase/IUnknown.cs
+++ b/sources/Interop/Windows/Windows/um/Unknwnbase/IUnknown.cs
@@ -6,13 +6,16 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("00000000-0000-0000-C000-000000000046")]
-public unsafe partial struct IUnknown : IUnknown.Interface
+public unsafe partial struct IUnknown : IUnknown.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUnknown));
+
public void** lpVtbl;
///
@@ -41,7 +44,7 @@ public uint Release()
return ((delegate* unmanaged)(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this));
}
- public interface Interface
+ public interface Interface : INativeGuid
{
[VtblIndex(0)]
HRESULT QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject);
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IEnumWbemClassObject.cs b/sources/Interop/Windows/Windows/um/WbemCli/IEnumWbemClassObject.cs
index 7a4e6b5584..264516f29f 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IEnumWbemClassObject.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IEnumWbemClassObject.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("027947E1-D731-11CE-A357-000000000001")]
[NativeTypeName("struct IEnumWbemClassObject : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IEnumWbemClassObject : IEnumWbemClassObject.Interface
+public unsafe partial struct IEnumWbemClassObject : IEnumWbemClassObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IEnumWbemClassObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IMofCompiler.cs b/sources/Interop/Windows/Windows/um/WbemCli/IMofCompiler.cs
index 22b5313cb3..c82ce0903e 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IMofCompiler.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IMofCompiler.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("6DAF974E-2E37-11D2-AEC9-00C04FB68820")]
[NativeTypeName("struct IMofCompiler : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IMofCompiler : IMofCompiler.Interface
+public unsafe partial struct IMofCompiler : IMofCompiler.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IMofCompiler));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IUnsecuredApartment.cs b/sources/Interop/Windows/Windows/um/WbemCli/IUnsecuredApartment.cs
index e4338ae7c7..7e4615d9be 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IUnsecuredApartment.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IUnsecuredApartment.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("1CFABA8C-1523-11D1-AD79-00C04FD8FDFF")]
[NativeTypeName("struct IUnsecuredApartment : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IUnsecuredApartment : IUnsecuredApartment.Interface
+public unsafe partial struct IUnsecuredApartment : IUnsecuredApartment.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUnsecuredApartment));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemBackupRestore.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemBackupRestore.cs
index bffa327325..bf94c06d12 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemBackupRestore.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemBackupRestore.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("C49E32C7-BC8B-11D2-85D4-00105A1F8304")]
[NativeTypeName("struct IWbemBackupRestore : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemBackupRestore : IWbemBackupRestore.Interface
+public unsafe partial struct IWbemBackupRestore : IWbemBackupRestore.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemBackupRestore));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemBackupRestoreEx.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemBackupRestoreEx.cs
index 7ee0196550..f6de100daf 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemBackupRestoreEx.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemBackupRestoreEx.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("A359DEC5-E813-4834-8A2A-BA7F1D777D76")]
[NativeTypeName("struct IWbemBackupRestoreEx : IWbemBackupRestore")]
[NativeInheritance("IWbemBackupRestore")]
-public unsafe partial struct IWbemBackupRestoreEx : IWbemBackupRestoreEx.Interface
+public unsafe partial struct IWbemBackupRestoreEx : IWbemBackupRestoreEx.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemBackupRestoreEx));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemCallResult.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemCallResult.cs
index df8e30dc42..5199b12a05 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemCallResult.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemCallResult.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("44ACA675-E8FC-11D0-A07C-00C04FB68820")]
[NativeTypeName("struct IWbemCallResult : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemCallResult : IWbemCallResult.Interface
+public unsafe partial struct IWbemCallResult : IWbemCallResult.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemCallResult));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemClassObject.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemClassObject.cs
index 56f993726c..6bb234c1c6 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemClassObject.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemClassObject.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DC12A681-737F-11CF-884D-00AA004B2E24")]
[NativeTypeName("struct IWbemClassObject : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemClassObject : IWbemClassObject.Interface
+public unsafe partial struct IWbemClassObject : IWbemClassObject.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemClassObject));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemConfigureRefresher.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemConfigureRefresher.cs
index 9ef9be91a7..371752e7ad 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemConfigureRefresher.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemConfigureRefresher.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("49353C92-516B-11D1-AEA6-00C04FB68820")]
[NativeTypeName("struct IWbemConfigureRefresher : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemConfigureRefresher : IWbemConfigureRefresher.Interface
+public unsafe partial struct IWbemConfigureRefresher : IWbemConfigureRefresher.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemConfigureRefresher));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemContext.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemContext.cs
index 410b5e5e31..b7b30ad7c2 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemContext.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemContext.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("44ACA674-E8FC-11D0-A07C-00C04FB68820")]
[NativeTypeName("struct IWbemContext : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemContext : IWbemContext.Interface
+public unsafe partial struct IWbemContext : IWbemContext.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemContext));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemHiPerfEnum.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemHiPerfEnum.cs
index 184665bd25..60bbe0d673 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemHiPerfEnum.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemHiPerfEnum.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("2705C288-79AE-11D2-B348-00105A1F8177")]
[NativeTypeName("struct IWbemHiPerfEnum : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemHiPerfEnum : IWbemHiPerfEnum.Interface
+public unsafe partial struct IWbemHiPerfEnum : IWbemHiPerfEnum.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemHiPerfEnum));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemLocator.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemLocator.cs
index 8dfe9a4efc..ddc5da280c 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemLocator.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemLocator.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DC12A687-737F-11CF-884D-00AA004B2E24")]
[NativeTypeName("struct IWbemLocator : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemLocator : IWbemLocator.Interface
+public unsafe partial struct IWbemLocator : IWbemLocator.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemLocator));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectAccess.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectAccess.cs
index 308c27e714..d835fe65dc 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectAccess.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectAccess.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("49353C9A-516B-11D1-AEA6-00C04FB68820")]
[NativeTypeName("struct IWbemObjectAccess : IWbemClassObject")]
[NativeInheritance("IWbemClassObject")]
-public unsafe partial struct IWbemObjectAccess : IWbemObjectAccess.Interface
+public unsafe partial struct IWbemObjectAccess : IWbemObjectAccess.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemObjectAccess));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectSink.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectSink.cs
index 94165db879..eb7481a1bb 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectSink.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectSink.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("7C857801-7381-11CF-884D-00AA004B2E24")]
[NativeTypeName("struct IWbemObjectSink : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemObjectSink : IWbemObjectSink.Interface
+public unsafe partial struct IWbemObjectSink : IWbemObjectSink.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemObjectSink));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectSinkEx.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectSinkEx.cs
index 872d631ca6..856ddafea6 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectSinkEx.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectSinkEx.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("E7D35CFA-348B-485E-B524-252725D697CA")]
[NativeTypeName("struct IWbemObjectSinkEx : IWbemObjectSink")]
[NativeInheritance("IWbemObjectSink")]
-public unsafe partial struct IWbemObjectSinkEx : IWbemObjectSinkEx.Interface
+public unsafe partial struct IWbemObjectSinkEx : IWbemObjectSinkEx.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemObjectSinkEx));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectTextSrc.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectTextSrc.cs
index e62a8b69cf..28fa345a6d 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectTextSrc.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemObjectTextSrc.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("BFBF883A-CAD7-11D3-A11B-00105A1F515A")]
[NativeTypeName("struct IWbemObjectTextSrc : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemObjectTextSrc : IWbemObjectTextSrc.Interface
+public unsafe partial struct IWbemObjectTextSrc : IWbemObjectTextSrc.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemObjectTextSrc));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemQualifierSet.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemQualifierSet.cs
index dc602f1223..3901c63893 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemQualifierSet.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemQualifierSet.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("DC12A680-737F-11CF-884D-00AA004B2E24")]
[NativeTypeName("struct IWbemQualifierSet : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemQualifierSet : IWbemQualifierSet.Interface
+public unsafe partial struct IWbemQualifierSet : IWbemQualifierSet.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemQualifierSet));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemRefresher.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemRefresher.cs
index 9f216fa23d..f41822c12e 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemRefresher.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemRefresher.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("49353C99-516B-11D1-AEA6-00C04FB68820")]
[NativeTypeName("struct IWbemRefresher : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemRefresher : IWbemRefresher.Interface
+public unsafe partial struct IWbemRefresher : IWbemRefresher.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemRefresher));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemServices.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemServices.cs
index 42aba6b186..afd5439eec 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemServices.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemServices.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("9556DC99-828C-11CF-A37E-00AA003240C7")]
[NativeTypeName("struct IWbemServices : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemServices : IWbemServices.Interface
+public unsafe partial struct IWbemServices : IWbemServices.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemServices));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemShutdown.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemShutdown.cs
index 156e4b884a..24f5a31d2e 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemShutdown.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemShutdown.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("B7B31DF9-D515-11D3-A11C-00105A1F515A")]
[NativeTypeName("struct IWbemShutdown : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemShutdown : IWbemShutdown.Interface
+public unsafe partial struct IWbemShutdown : IWbemShutdown.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemShutdown));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemStatusCodeText.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemStatusCodeText.cs
index e0b2505c55..b1f6a13130 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemStatusCodeText.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemStatusCodeText.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("EB87E1BC-3233-11D2-AEC9-00C04FB68820")]
[NativeTypeName("struct IWbemStatusCodeText : IUnknown")]
[NativeInheritance("IUnknown")]
-public unsafe partial struct IWbemStatusCodeText : IWbemStatusCodeText.Interface
+public unsafe partial struct IWbemStatusCodeText : IWbemStatusCodeText.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemStatusCodeText));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/IWbemUnsecuredApartment.cs b/sources/Interop/Windows/Windows/um/WbemCli/IWbemUnsecuredApartment.cs
index 5df66b9bb8..a4dac719b1 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/IWbemUnsecuredApartment.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/IWbemUnsecuredApartment.cs
@@ -6,6 +6,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
@@ -13,8 +14,10 @@ namespace TerraFX.Interop.Windows;
[Guid("31739D04-3471-4CF4-9A7C-57A44AE71956")]
[NativeTypeName("struct IWbemUnsecuredApartment : IUnsecuredApartment")]
[NativeInheritance("IUnsecuredApartment")]
-public unsafe partial struct IWbemUnsecuredApartment : IWbemUnsecuredApartment.Interface
+public unsafe partial struct IWbemUnsecuredApartment : IWbemUnsecuredApartment.Interface, INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWbemUnsecuredApartment));
+
public void** lpVtbl;
///
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/MofCompiler.cs b/sources/Interop/Windows/Windows/um/WbemCli/MofCompiler.cs
index bfcfd560e0..29ffec716b 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/MofCompiler.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/MofCompiler.cs
@@ -3,12 +3,16 @@
// Ported from um/WbemCli.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("6DAF9757-2E37-11D2-AEC9-00C04FB68820")]
-public partial struct MofCompiler
+public unsafe partial struct MofCompiler : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_MofCompiler));
}
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/UnsecuredApartment.cs b/sources/Interop/Windows/Windows/um/WbemCli/UnsecuredApartment.cs
index d334bb00c7..5c22782d1d 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/UnsecuredApartment.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/UnsecuredApartment.cs
@@ -3,12 +3,16 @@
// Ported from um/WbemCli.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("49BD2028-1523-11D1-AD79-00C04FD8FDFF")]
-public partial struct UnsecuredApartment
+public unsafe partial struct UnsecuredApartment : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_UnsecuredApartment));
}
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/WbemBackupRestore.cs b/sources/Interop/Windows/Windows/um/WbemCli/WbemBackupRestore.cs
index f9a9c40cfa..5730005ba0 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/WbemBackupRestore.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/WbemBackupRestore.cs
@@ -3,12 +3,16 @@
// Ported from um/WbemCli.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("C49E32C6-BC8B-11D2-85D4-00105A1F8304")]
-public partial struct WbemBackupRestore
+public unsafe partial struct WbemBackupRestore : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WbemBackupRestore));
}
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/WbemClassObject.cs b/sources/Interop/Windows/Windows/um/WbemCli/WbemClassObject.cs
index f30173777f..7bd11e57ca 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/WbemClassObject.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/WbemClassObject.cs
@@ -3,12 +3,16 @@
// Ported from um/WbemCli.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("9A653086-174F-11D2-B5F9-00104B703EFD")]
-public partial struct WbemClassObject
+public unsafe partial struct WbemClassObject : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WbemClassObject));
}
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/WbemContext.cs b/sources/Interop/Windows/Windows/um/WbemCli/WbemContext.cs
index 49caf96a75..38e283d980 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/WbemContext.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/WbemContext.cs
@@ -3,12 +3,16 @@
// Ported from um/WbemCli.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("674B6698-EE92-11D0-AD71-00C04FD8FDFF")]
-public partial struct WbemContext
+public unsafe partial struct WbemContext : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WbemContext));
}
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/WbemLocator.cs b/sources/Interop/Windows/Windows/um/WbemCli/WbemLocator.cs
index 33f9f1a960..546f6aa804 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/WbemLocator.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/WbemLocator.cs
@@ -3,12 +3,16 @@
// Ported from um/WbemCli.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("4590F811-1D3A-11D0-891F-00AA004B2E24")]
-public partial struct WbemLocator
+public unsafe partial struct WbemLocator : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WbemLocator));
}
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/WbemObjectTextSrc.cs b/sources/Interop/Windows/Windows/um/WbemCli/WbemObjectTextSrc.cs
index aa0c2f64a3..4466cdc22f 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/WbemObjectTextSrc.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/WbemObjectTextSrc.cs
@@ -3,12 +3,16 @@
// Ported from um/WbemCli.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("8D1C559D-84F0-4BB3-A7D5-56A7435A9BA6")]
-public partial struct WbemObjectTextSrc
+public unsafe partial struct WbemObjectTextSrc : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WbemObjectTextSrc));
}
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/WbemRefresher.cs b/sources/Interop/Windows/Windows/um/WbemCli/WbemRefresher.cs
index 4974a4f522..bc127b3266 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/WbemRefresher.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/WbemRefresher.cs
@@ -3,12 +3,16 @@
// Ported from um/WbemCli.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("C71566F2-561E-11D1-AD87-00C04FD8FDFF")]
-public partial struct WbemRefresher
+public unsafe partial struct WbemRefresher : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WbemRefresher));
}
diff --git a/sources/Interop/Windows/Windows/um/WbemCli/WbemStatusCodeText.cs b/sources/Interop/Windows/Windows/um/WbemCli/WbemStatusCodeText.cs
index 1c9b3e9727..f0f539fce4 100644
--- a/sources/Interop/Windows/Windows/um/WbemCli/WbemStatusCodeText.cs
+++ b/sources/Interop/Windows/Windows/um/WbemCli/WbemStatusCodeText.cs
@@ -3,12 +3,16 @@
// Ported from um/WbemCli.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using static TerraFX.Interop.Windows.IID;
namespace TerraFX.Interop.Windows;
///
[Guid("EB87E1BD-3233-11D2-AEC9-00C04FB68820")]
-public partial struct WbemStatusCodeText
+public unsafe partial struct WbemStatusCodeText : INativeGuid
{
+ static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_WbemStatusCodeText));
}
diff --git a/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_DESCRIPTOR.cs b/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_DESCRIPTOR.cs
index 55002a610e..9e35ce1211 100644
--- a/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_DESCRIPTOR.cs
+++ b/sources/Interop/Windows/Windows/um/WinBase/FILE_ID_DESCRIPTOR.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -24,32 +25,35 @@ public partial struct FILE_ID_DESCRIPTOR
public _Anonymous_e__Union Anonymous;
///
+ [UnscopedRef]
public ref LARGE_INTEGER FileId
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.FileId, 1));
+ return ref Anonymous.FileId;
}
}
///
+ [UnscopedRef]
public ref Guid ObjectId
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.ObjectId, 1));
+ return ref Anonymous.ObjectId;
}
}
///
+ [UnscopedRef]
public ref FILE_ID_128 ExtendedFileId
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.ExtendedFileId, 1));
+ return ref Anonymous.ExtendedFileId;
}
}
diff --git a/sources/Interop/Windows/Windows/um/WinBase/FILE_RENAME_INFO.cs b/sources/Interop/Windows/Windows/um/WinBase/FILE_RENAME_INFO.cs
index 60718444e4..db26bbe194 100644
--- a/sources/Interop/Windows/Windows/um/WinBase/FILE_RENAME_INFO.cs
+++ b/sources/Interop/Windows/Windows/um/WinBase/FILE_RENAME_INFO.cs
@@ -3,6 +3,7 @@
// Ported from um/WinBase.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -27,22 +28,24 @@ public unsafe partial struct FILE_RENAME_INFO
public fixed ushort FileName[1];
///
+ [UnscopedRef]
public ref byte ReplaceIfExists
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.ReplaceIfExists, 1));
+ return ref Anonymous.ReplaceIfExists;
}
}
///
+ [UnscopedRef]
public ref uint Flags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.Flags, 1));
+ return ref Anonymous.Flags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/WinBase/GET.cs b/sources/Interop/Windows/Windows/um/WinBase/GET.cs
index 2f5a28ca4f..31f40c15e6 100644
--- a/sources/Interop/Windows/Windows/um/WinBase/GET.cs
+++ b/sources/Interop/Windows/Windows/um/WinBase/GET.cs
@@ -16,7 +16,7 @@ public static partial class GET
public const int GET_TAPE_DRIVE_INFORMATION = 1;
[NativeTypeName("#define GET_SYSTEM_WOW64_DIRECTORY_NAME_A_A \"GetSystemWow64DirectoryA\"")]
- public static ReadOnlySpan GET_SYSTEM_WOW64_DIRECTORY_NAME_A_A => new byte[] { 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6D, 0x57, 0x6F, 0x77, 0x36, 0x34, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6F, 0x72, 0x79, 0x41, 0x00 };
+ public static ReadOnlySpan GET_SYSTEM_WOW64_DIRECTORY_NAME_A_A => "GetSystemWow64DirectoryA"u8;
[NativeTypeName("#define GET_SYSTEM_WOW64_DIRECTORY_NAME_A_W L\"GetSystemWow64DirectoryA\"")]
public const string GET_SYSTEM_WOW64_DIRECTORY_NAME_A_W = "GetSystemWow64DirectoryA";
@@ -25,7 +25,7 @@ public static partial class GET
public const string GET_SYSTEM_WOW64_DIRECTORY_NAME_A_T = "GetSystemWow64DirectoryA";
[NativeTypeName("#define GET_SYSTEM_WOW64_DIRECTORY_NAME_W_A \"GetSystemWow64DirectoryW\"")]
- public static ReadOnlySpan GET_SYSTEM_WOW64_DIRECTORY_NAME_W_A => new byte[] { 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6D, 0x57, 0x6F, 0x77, 0x36, 0x34, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6F, 0x72, 0x79, 0x57, 0x00 };
+ public static ReadOnlySpan GET_SYSTEM_WOW64_DIRECTORY_NAME_W_A => "GetSystemWow64DirectoryW"u8;
[NativeTypeName("#define GET_SYSTEM_WOW64_DIRECTORY_NAME_W_W L\"GetSystemWow64DirectoryW\"")]
public const string GET_SYSTEM_WOW64_DIRECTORY_NAME_W_W = "GetSystemWow64DirectoryW";
@@ -34,7 +34,7 @@ public static partial class GET
public const string GET_SYSTEM_WOW64_DIRECTORY_NAME_W_T = "GetSystemWow64DirectoryW";
[NativeTypeName("#define GET_SYSTEM_WOW64_DIRECTORY_NAME_T_A GET_SYSTEM_WOW64_DIRECTORY_NAME_W_A")]
- public static ReadOnlySpan GET_SYSTEM_WOW64_DIRECTORY_NAME_T_A => new byte[] { 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6D, 0x57, 0x6F, 0x77, 0x36, 0x34, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6F, 0x72, 0x79, 0x57, 0x00 };
+ public static ReadOnlySpan GET_SYSTEM_WOW64_DIRECTORY_NAME_T_A => "GetSystemWow64DirectoryW"u8;
[NativeTypeName("#define GET_SYSTEM_WOW64_DIRECTORY_NAME_T_W GET_SYSTEM_WOW64_DIRECTORY_NAME_W_W")]
public const string GET_SYSTEM_WOW64_DIRECTORY_NAME_T_W = "GetSystemWow64DirectoryW";
diff --git a/sources/Interop/Windows/Windows/um/WinBase/UMS_SYSTEM_THREAD_INFORMATION.cs b/sources/Interop/Windows/Windows/um/WinBase/UMS_SYSTEM_THREAD_INFORMATION.cs
index b00bd402af..4d1a3b52f1 100644
--- a/sources/Interop/Windows/Windows/um/WinBase/UMS_SYSTEM_THREAD_INFORMATION.cs
+++ b/sources/Interop/Windows/Windows/um/WinBase/UMS_SYSTEM_THREAD_INFORMATION.cs
@@ -3,6 +3,7 @@
// Ported from um/WinBase.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -52,12 +53,13 @@ public uint IsUmsWorkerThread
}
///
+ [UnscopedRef]
public ref uint ThreadUmsFlags
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref Anonymous.ThreadUmsFlags, 1));
+ return ref Anonymous.ThreadUmsFlags;
}
}
diff --git a/sources/Interop/Windows/Windows/um/WinTrust/CAT.cs b/sources/Interop/Windows/Windows/um/WinTrust/CAT.cs
index a38c4670e1..e5c290753f 100644
--- a/sources/Interop/Windows/Windows/um/WinTrust/CAT.cs
+++ b/sources/Interop/Windows/Windows/um/WinTrust/CAT.cs
@@ -10,13 +10,13 @@ namespace TerraFX.Interop.Windows;
public static unsafe partial class CAT
{
[NativeTypeName("#define CAT_NAMEVALUE_OBJID \"1.3.6.1.4.1.311.12.2.1\"")]
- public static ReadOnlySpan CAT_NAMEVALUE_OBJID => new byte[] { 0x31, 0x2E, 0x33, 0x2E, 0x36, 0x2E, 0x31, 0x2E, 0x34, 0x2E, 0x31, 0x2E, 0x33, 0x31, 0x31, 0x2E, 0x31, 0x32, 0x2E, 0x32, 0x2E, 0x31, 0x00 };
+ public static ReadOnlySpan CAT_NAMEVALUE_OBJID => "1.3.6.1.4.1.311.12.2.1"u8;
[NativeTypeName("#define CAT_MEMBERINFO_OBJID \"1.3.6.1.4.1.311.12.2.2\"")]
- public static ReadOnlySpan CAT_MEMBERINFO_OBJID => new byte[] { 0x31, 0x2E, 0x33, 0x2E, 0x36, 0x2E, 0x31, 0x2E, 0x34, 0x2E, 0x31, 0x2E, 0x33, 0x31, 0x31, 0x2E, 0x31, 0x32, 0x2E, 0x32, 0x2E, 0x32, 0x00 };
+ public static ReadOnlySpan CAT_MEMBERINFO_OBJID => "1.3.6.1.4.1.311.12.2.2"u8;
[NativeTypeName("#define CAT_MEMBERINFO2_OBJID \"1.3.6.1.4.1.311.12.2.3\"")]
- public static ReadOnlySpan CAT_MEMBERINFO2_OBJID => new byte[] { 0x31, 0x2E, 0x33, 0x2E, 0x36, 0x2E, 0x31, 0x2E, 0x34, 0x2E, 0x31, 0x2E, 0x33, 0x31, 0x31, 0x2E, 0x31, 0x32, 0x2E, 0x32, 0x2E, 0x33, 0x00 };
+ public static ReadOnlySpan CAT_MEMBERINFO2_OBJID => "1.3.6.1.4.1.311.12.2.3"u8;
[NativeTypeName("#define CAT_NAMEVALUE_STRUCT ((LPCSTR) 2221)")]
public static sbyte* CAT_NAMEVALUE_STRUCT => ((sbyte*)(2221));
diff --git a/sources/Interop/Windows/Windows/um/WinTrust/CRYPT_PROVIDER_DATA.cs b/sources/Interop/Windows/Windows/um/WinTrust/CRYPT_PROVIDER_DATA.cs
index e4ae3436db..6f2c447284 100644
--- a/sources/Interop/Windows/Windows/um/WinTrust/CRYPT_PROVIDER_DATA.cs
+++ b/sources/Interop/Windows/Windows/um/WinTrust/CRYPT_PROVIDER_DATA.cs
@@ -4,6 +4,7 @@
// Original source is Copyright © Microsoft. All rights reserved.
using System;
+using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -136,12 +137,13 @@ public unsafe partial struct CRYPT_PROVIDER_DATA
public WINTRUST_SIGNATURE_SETTINGS* pSigSettings;
///
+ [UnscopedRef]
public ref PROVDATA_SIP* pPDSip
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
- return ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this, 1)).Anonymous.pPDSip;
+ return ref Anonymous.pPDSip;
}
}
diff --git a/sources/Interop/Windows/Windows/um/WinTrust/SPC.cs b/sources/Interop/Windows/Windows/um/WinTrust/SPC.cs
index 48caef5dc1..ee525972b7 100644
--- a/sources/Interop/Windows/Windows/um/WinTrust/SPC.cs
+++ b/sources/Interop/Windows/Windows/um/WinTrust/SPC.cs
@@ -10,79 +10,79 @@ namespace TerraFX.Interop.Windows;
public static unsafe partial class SPC
{
[NativeTypeName("#define SPC_COMMON_NAME_OBJID szOID_COMMON_NAME")]
- public static ReadOnlySpan SPC_COMMON_NAME_OBJID => new byte[] { 0x32, 0x2E, 0x35, 0x2E, 0x34, 0x2E, 0x33, 0x00 };
+ public static ReadOnlySpan SPC_COMMON_NAME_OBJID => "2.5.4.3"u8;
[NativeTypeName("#define SPC_TIME_STAMP_REQUEST_OBJID \"1.3.6.1.4.1.311.3.2.1\"")]
- public static ReadOnlySpan SPC_TIME_STAMP_REQUEST_OBJID => new byte[] { 0x31, 0x2E, 0x33, 0x2E, 0x36, 0x2E, 0x31, 0x2E, 0x34, 0x2E, 0x31, 0x2E, 0x33, 0x31, 0x31, 0x2E, 0x33, 0x2E, 0x32, 0x2E, 0x31, 0x00 };
+ public static ReadOnlySpan SPC_TIME_STAMP_REQUEST_OBJID => "1.3.6.1.4.1.311.3.2.1"u8;
[NativeTypeName("#define SPC_INDIRECT_DATA_OBJID \"1.3.6.1.4.1.311.2.1.4\"")]
- public static ReadOnlySpan SPC_INDIRECT_DATA_OBJID => new byte[] { 0x31, 0x2E, 0x33, 0x2E, 0x36, 0x2E, 0x31, 0x2E, 0x34, 0x2E, 0x31, 0x2E, 0x33, 0x31, 0x31, 0x2E, 0x32, 0x2E, 0x31, 0x2E, 0x34, 0x00 };
+ public static ReadOnlySpan SPC_INDIRECT_DATA_OBJID => "1.3.6.1.4.1.311.2.1.4"u8;
[NativeTypeName("#define SPC_SP_AGENCY_INFO_OBJID \"1.3.6.1.4.1.311.2.1.10\"")]
- public static ReadOnlySpan SPC_SP_AGENCY_INFO_OBJID => new byte[] { 0x31, 0x2E, 0x33, 0x2E, 0x36, 0x2E, 0x31, 0x2E, 0x34, 0x2E, 0x31, 0x2E, 0x33, 0x31, 0x31, 0x2E, 0x32, 0x2E, 0x31, 0x2E, 0x31, 0x30, 0x00 };
+ public static ReadOnlySpan SPC_SP_AGENCY_INFO_OBJID => "1.3.6.1.4.1.311.2.1.10"u8;
[NativeTypeName("#define SPC_STATEMENT_TYPE_OBJID \"1.3.6.1.4.1.311.2.1.11\"")]
- public static ReadOnlySpan