Skip to content

Full SDK header annotation migration (SDK28000 WIP) - #2365

Draft
Jevan Saks (jevansaks) wants to merge 76 commits into
jevansaks-header-annotation-migrationfrom
jevansaks-winhttp-header-annotations
Draft

Jevan Saks (jevansaks) wants to merge 76 commits into
jevansaks-header-annotation-migrationfrom
jevansaks-winhttp-header-annotations

Conversation

@jevansaks

@jevansaks Jevan Saks (jevansaks) commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

What and why

Moves covered SDK-specific metadata into reviewed authored-header and original-IDL patches and retires the corresponding sidecar/manual providers. This is the SDK migration-data layer above tooling PR #2363. The C# scraper/emitter and matched ClangSharp 21 stack remain in place. The tooling PR stays independently mergeable.

SDK inputs and ownership

Selects shipped Microsoft.Windows.SDK.CPP 10.0.28000.2705, with native include/bin version 10.0.28000.0. The SDK mirror subtree is 4dd741bb691ea30f83ac09d56c836201b63dd442; the shared annotation helper is pinned to SHA256 CCF58C367C6CA06844126D14FE6D0C478C26E5DF1191793082BC3358AFCAF959.

The recipe admits 759 patches. There are 772 physical patch assets; the 13 unreferenced historical assets are retained but are not applied coverage. Authored declarations are patched directly. Original-IDL declarations are patched before MIDL and regenerated privately with the selected SDK tools. Generated SDK headers are not hand-patched. Shared artifacts have one owner. Patch/input/tool hashes, preprocessing closure, diagnostics and transactional cache checks remain enforced.

GetBestInterfaceEx availability follows its native declaration to the witnessed user-mode branch in netioapi.h. Shader-cache APIs removed from the shipped SDK are not restored. Existing STGC/VARENUM Flags facts use original-IDL metadata comments without changing native enum storage.

The two active ImageHlp.h declarations for ImageNtHeader and SymFindDebugInfoFile carry _Win32_SetLastError_ in the existing authored-header patch. Debug selects these declarations rather than the separately annotated dbghelp.h copies. The repair uses the existing annotation transport without per-function tooling overrides.

Constants and ordering

The sole explicit header priority is um\devicetopology.h, declared once in the shared ConstantsScraper.settings.rsp consumed by ordinary SDK generation and CI. Its E_NOTFOUND = 0x80070490 definition is canonical. Unlisted headers retain project partition, traversed-header and native declaration order. Finalization retains every conflict candidate and its warning evidence, including equal-valued discarded candidates.

Generation uses the tooling layer's scanner-first path: supported simple values do not create compiler value probes, genuine unresolved expressions use a separate value translation unit, and structural/nonvalue macros remain unprobed. This does not replace the C# toolchain or weaken native ownership and diagnostics.

Qualification and remaining scope

Normal PR Validation run 40300158573, attempt 1 for head 435d9ecdf0d82dd96f4795b09fc7b05eb30beb2e completed all three native jobs and produced the WinMD. The consumer job was cancelled during tests with GitHub's annotation: "The job has exceeded the maximum execution time of 1h0m0s". Both always-upload steps succeeded; API comparison and NuGet publishing were skipped. The authenticated image has SHA256 F343DFD6D7028B1E6DA5D78E234303825B57601663BD218978E44FEDF7698D43. Complete ordinary SDK integrity checks, API/ABI review, exact-head CI and performance acceptance remain open. Matrix work, failure propagation, diagnostics, coverage and required tests are unchanged.

The matching-SDK OLD909 image remains immutable (SHA256 CCA506F18EDAC3EED07BA2BBC74ADBA2931909ABCDA5CE272B55F3AB6127DCC4). Bulk grading retains complete OLD/NEW declaration dumps, raw comparison rows and the complete declaration patch without a known-differences allowlist or semantic normalization. Const, imports, flags, literals and physical parameter-sequence evidence remain distinct. Producing a complete image does not approve API/ABI or annotation-contract differences.

Retirement is partial. Preserved newer metadata facts, invalid values, manual import overrides, unmatched routing facts and shared Unicode evaluation are not deleted to satisfy a retirement count. PSTR-versus-CHAR* and VARENUM projected-storage differences remain recorded follow-ups; no equality or qualified compatibility is claimed.

For seven generated-header owners whose original IDL is unavailable in the selected SDK, the report-only SourceBlockedMetadata.json ledger retains all 30 historical units: 26 availability values, three associations and IdentityUpdateEvent Flags. All 47 documented interface names plus both enum-name probes were checked across all 932 shipped IDLs without a match. These entries provide no preservation or completed-migration credit and no semantic fallback. Accounting and mutation controls reject deleted/altered facts and false coverage claims, retain sidecar-absence and no-generated-header-patch checks, and keep strict historical physical controls unchanged.

Apply independently reviewed, SDK-pinned post-MIDL patches to a private header tree. Remove emitted-scope semantic sidecars and retain native ABI types with AssociatedEnum. Add complete-image, physical metadata, native ABI, transactional preparation, and exact-owner acceptance controls.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Force a second normal WinHttp and HttpServer scrape with aggregate discoveries present. Require identical native source and pointer-discovery hashes before emitting and recording producer provenance.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Filtered SDK scrapes intentionally do not publish the global crossarch marker. Clear it only if present when forcing the selected repeatability control.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Record first and repeated native-source/discovery hashes and retain the first generated inputs before enforcing the strict gate. Document the exact constructor control and complete SDK diagnostic closure.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Require committed, unchanged producer inputs and compare normal SDK aggregate response files as well as per-TU discoveries and native sources across repeated scrapes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Serialize the six SDK-sized native controls against other Clang test collections to avoid a combined-suite concurrency stall. Record immutable full-image inputs, exact metadata/physical grades, and the agreed consumer contract.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep genuine native scheme macros and emitted constants distinct, with exact owner/value checks and no semantic fallback.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

📋 API Surface Diff

+115293 additions / -181215 deletions vs main branch (full validation run)

Click to expand API diff
diff --git "a/bin\\baseline.apidump.cs" "b/bin\\current.apidump.cs"
index 1a20d2ad..d89b8b04 100644
--- "a/bin\\baseline.apidump.cs"
+++ "b/bin\\current.apidump.cs"
@@ -16,8 +16,6 @@ namespace Windows.Win32.AI.MachineLearning.DirectML;
 [StructLayout (LayoutKind.Auto, CharSet = CharSet.Auto)]
 public static class Apis
 {
-	public const uint DML_TARGET_VERSION = 25600u;
-
 	public const uint DML_TENSOR_DIMENSION_COUNT_MAX = 5u;
 
 	public const uint DML_TENSOR_DIMENSION_COUNT_MAX1 = 8u;
@@ -28,13 +26,13 @@ public static class Apis
 
 	public const uint DML_MINIMUM_BUFFER_TENSOR_ALIGNMENT = 16u;
 
+	public const int DML_TARGET_VERSION = 20480;
+
 	[DllImport ("DirectML.dll", ExactSpelling = true, PreserveSig = false)]
 	[SupportedOSPlatform ("windows10.0.10240")]
-	[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/nf-directml-dmlcreatedevice")]
 	public unsafe static extern HRESULT DMLCreateDevice ([In] ID3D12Device d3d12Device, [In] DML_CREATE_DEVICE_FLAGS flags, [In][Const] Guid* riid, [Optional][Out][ComOutPtr] void** ppv);
 
 	[DllImport ("DirectML.dll", ExactSpelling = true, PreserveSig = false)]
-	[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/nf-directml-dmlcreatedevice1")]
 	public unsafe static extern HRESULT DMLCreateDevice1 ([In] ID3D12Device d3d12Device, [In] DML_CREATE_DEVICE_FLAGS flags, [In] DML_FEATURE_LEVEL minimumFeatureLevel, [In][Const] Guid* riid, [Optional][Out][ComOutPtr] void** ppv);
 }
 
@@ -42,7 +40,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_celu_operator_desc")]
 public struct DML_ACTIVATION_CELU_OPERATOR_DESC
 {
 	[Const]
@@ -58,7 +55,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_elu_operator_desc")]
 public struct DML_ACTIVATION_ELU_OPERATOR_DESC
 {
 	[Const]
@@ -74,7 +70,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_hardmax_operator_desc")]
 public struct DML_ACTIVATION_HARDMAX_OPERATOR_DESC
 {
 	[Const]
@@ -88,7 +83,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_hard_sigmoid_operator_desc")]
 public struct DML_ACTIVATION_HARD_SIGMOID_OPERATOR_DESC
 {
 	[Const]
@@ -106,7 +100,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_identity_operator_desc")]
 public struct DML_ACTIVATION_IDENTITY_OPERATOR_DESC
 {
 	[Const]
@@ -120,7 +113,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_leaky_relu_operator_desc")]
 public struct DML_ACTIVATION_LEAKY_RELU_OPERATOR_DESC
 {
 	[Const]
@@ -136,7 +128,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_linear_operator_desc")]
 public struct DML_ACTIVATION_LINEAR_OPERATOR_DESC
 {
 	[Const]
@@ -154,7 +145,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_log_softmax_operator_desc")]
 public struct DML_ACTIVATION_LOG_SOFTMAX_OPERATOR_DESC
 {
 	[Const]
@@ -168,7 +158,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_parameterized_relu_operator_desc")]
 public struct DML_ACTIVATION_PARAMETERIZED_RELU_OPERATOR_DESC
 {
 	[Const]
@@ -185,7 +174,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_parametric_softplus_operator_desc")]
 public struct DML_ACTIVATION_PARAMETRIC_SOFTPLUS_OPERATOR_DESC
 {
 	[Const]
@@ -203,7 +191,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_relu_grad_operator_desc")]
 public struct DML_ACTIVATION_RELU_GRAD_OPERATOR_DESC
 {
 	[Const]
@@ -220,7 +207,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_relu_operator_desc")]
 public struct DML_ACTIVATION_RELU_OPERATOR_DESC
 {
 	[Const]
@@ -234,7 +220,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_scaled_elu_operator_desc")]
 public struct DML_ACTIVATION_SCALED_ELU_OPERATOR_DESC
 {
 	[Const]
@@ -252,7 +237,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_scaled_tanh_operator_desc")]
 public struct DML_ACTIVATION_SCALED_TANH_OPERATOR_DESC
 {
 	[Const]
@@ -270,7 +254,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_shrink_operator_desc")]
 public struct DML_ACTIVATION_SHRINK_OPERATOR_DESC
 {
 	[Const]
@@ -288,7 +271,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_sigmoid_operator_desc")]
 public struct DML_ACTIVATION_SIGMOID_OPERATOR_DESC
 {
 	[Const]
@@ -302,7 +284,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_softmax_operator_desc")]
 public struct DML_ACTIVATION_SOFTMAX_OPERATOR_DESC
 {
 	[Const]
@@ -316,7 +297,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_softplus_operator_desc")]
 public struct DML_ACTIVATION_SOFTPLUS_OPERATOR_DESC
 {
 	[Const]
@@ -332,7 +312,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_softsign_operator_desc")]
 public struct DML_ACTIVATION_SOFTSIGN_OPERATOR_DESC
 {
 	[Const]
@@ -346,7 +325,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_tanh_operator_desc")]
 public struct DML_ACTIVATION_TANH_OPERATOR_DESC
 {
 	[Const]
@@ -360,7 +338,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_activation_thresholded_relu_operator_desc")]
 public struct DML_ACTIVATION_THRESHOLDED_RELU_OPERATOR_DESC
 {
 	[Const]
@@ -376,7 +353,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_adam_optimizer_operator_desc")]
 public struct DML_ADAM_OPTIMIZER_OPERATOR_DESC
 {
 	[Const]
@@ -416,7 +392,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_argmax_operator_desc")]
 public struct DML_ARGMAX_OPERATOR_DESC
 {
 	[Const]
@@ -437,7 +412,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_argmin_operator_desc")]
 public struct DML_ARGMIN_OPERATOR_DESC
 {
 	[Const]
@@ -459,7 +433,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_average_pooling_grad_operator_desc")]
 public struct DML_AVERAGE_POOLING_GRAD_OPERATOR_DESC
 {
 	[Const]
@@ -490,7 +463,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_average_pooling_operator_desc")]
 public struct DML_AVERAGE_POOLING_OPERATOR_DESC
 {
 	[Const]
@@ -516,11 +488,8 @@ public struct DML_AVERAGE_POOLING_OPERATOR_DESC
 	public BOOL IncludePadding;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_axis_direction")]
 public enum DML_AXIS_DIRECTION
 {
 	DML_AXIS_DIRECTION_INCREASING,
@@ -531,7 +500,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_batch_normalization_grad_operator_desc")]
 public struct DML_BATCH_NORMALIZATION_GRAD_OPERATOR_DESC
 {
 	[Const]
@@ -566,7 +534,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_batch_normalization_operator_desc")]
 public struct DML_BATCH_NORMALIZATION_OPERATOR_DESC
 {
 	[Const]
@@ -599,7 +566,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_batch_normalization_training_grad_operator_desc")]
 public struct DML_BATCH_NORMALIZATION_TRAINING_GRAD_OPERATOR_DESC
 {
 	[Const]
@@ -633,7 +599,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_batch_normalization_training_operator_desc")]
 public struct DML_BATCH_NORMALIZATION_TRAINING_OPERATOR_DESC
 {
 	[Const]
@@ -667,7 +632,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_binding_desc")]
 public struct DML_BINDING_DESC
 {
 	public DML_BINDING_TYPE Type;
@@ -676,11 +640,8 @@ public struct DML_BINDING_DESC
 	public unsafe void* Desc;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_binding_properties")]
 public struct DML_BINDING_PROPERTIES
 {
 	public uint RequiredDescriptorCount;
@@ -690,12 +651,10 @@ public struct DML_BINDING_PROPERTIES
 	public ulong PersistentResourceSize;
 }
 
-using Windows.Win32.Foundation.Metadata;
 using Windows.Win32.Graphics.Direct3D12;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_binding_table_desc")]
 public struct DML_BINDING_TABLE_DESC
 {
 	public IDMLDispatchable Dispatchable;
@@ -707,11 +666,8 @@ public struct DML_BINDING_TABLE_DESC
 	public uint SizeInDescriptors;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_binding_type")]
 public enum DML_BINDING_TYPE
 {
 	DML_BINDING_TYPE_NONE,
@@ -723,7 +679,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_buffer_array_binding")]
 public struct DML_BUFFER_ARRAY_BINDING
 {
 	public uint BindingCount;
@@ -732,12 +687,10 @@ public struct DML_BUFFER_ARRAY_BINDING
 	public unsafe DML_BUFFER_BINDING* Bindings;
 }
 
-using Windows.Win32.Foundation.Metadata;
 using Windows.Win32.Graphics.Direct3D12;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_buffer_binding")]
 public struct DML_BUFFER_BINDING
 {
 	public ID3D12Resource Buffer;
@@ -751,7 +704,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_buffer_tensor_desc")]
 public struct DML_BUFFER_TENSOR_DESC
 {
 	public DML_TENSOR_DATA_TYPE DataType;
@@ -775,7 +727,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_cast_operator_desc")]
 public struct DML_CAST_OPERATOR_DESC
 {
 	[Const]
@@ -785,11 +736,8 @@ public struct DML_CAST_OPERATOR_DESC
 	public unsafe DML_TENSOR_DESC* OutputTensor;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_convolution_direction")]
 public enum DML_CONVOLUTION_DIRECTION
 {
 	DML_CONVOLUTION_DIRECTION_FORWARD,
@@ -834,11 +782,8 @@ public struct DML_CONVOLUTION_INTEGER_OPERATOR_DESC
 	public uint GroupCount;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_convolution_mode")]
 public enum DML_CONVOLUTION_MODE
 {
 	DML_CONVOLUTION_MODE_CONVOLUTION,
@@ -849,7 +794,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_convolution_operator_desc")]
 public struct DML_CONVOLUTION_OPERATOR_DESC
 {
 	[Const]
@@ -892,11 +836,9 @@ public struct DML_CONVOLUTION_OPERATOR_DESC
 }
 
 using System;
-using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_create_device_flags")]
 [Flags]
 public enum DML_CREATE_DEVICE_FLAGS
 {
@@ -909,7 +851,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_cumulative_product_operator_desc")]
 public struct DML_CUMULATIVE_PRODUCT_OPERATOR_DESC
 {
 	[Const]
@@ -930,7 +871,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_cumulative_summation_operator_desc")]
 public struct DML_CUMULATIVE_SUMMATION_OPERATOR_DESC
 {
 	[Const]
@@ -946,11 +886,8 @@ public struct DML_CUMULATIVE_SUMMATION_OPERATOR_DESC
 	public BOOL HasExclusiveSum;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_depth_space_order")]
 public enum DML_DEPTH_SPACE_ORDER
 {
 	DML_DEPTH_SPACE_ORDER_DEPTH_COLUMN_ROW,
@@ -961,7 +898,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_depth_to_space1_operator_desc")]
 public struct DML_DEPTH_TO_SPACE1_OPERATOR_DESC
 {
 	[Const]
@@ -979,7 +915,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_depth_to_space_operator_desc")]
 public struct DML_DEPTH_TO_SPACE_OPERATOR_DESC
 {
 	[Const]
@@ -995,7 +930,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_diagonal_matrix_operator_desc")]
 public struct DML_DIAGONAL_MATRIX_OPERATOR_DESC
 {
 	[Const]
@@ -1010,7 +944,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_dynamic_quantize_linear_operator_desc")]
 public struct DML_DYNAMIC_QUANTIZE_LINEAR_OPERATOR_DESC
 {
 	[Const]
@@ -1030,7 +963,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_abs_operator_desc")]
 public struct DML_ELEMENT_WISE_ABS_OPERATOR_DESC
 {
 	[Const]
@@ -1047,7 +979,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_acosh_operator_desc")]
 public struct DML_ELEMENT_WISE_ACOSH_OPERATOR_DESC
 {
 	[Const]
@@ -1064,7 +995,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_acos_operator_desc")]
 public struct DML_ELEMENT_WISE_ACOS_OPERATOR_DESC
 {
 	[Const]
@@ -1081,7 +1011,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_add1_operator_desc")]
 public struct DML_ELEMENT_WISE_ADD1_OPERATOR_DESC
 {
 	[Const]
@@ -1101,7 +1030,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_add_operator_desc")]
 public struct DML_ELEMENT_WISE_ADD_OPERATOR_DESC
 {
 	[Const]
@@ -1118,7 +1046,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_asinh_operator_desc")]
 public struct DML_ELEMENT_WISE_ASINH_OPERATOR_DESC
 {
 	[Const]
@@ -1135,7 +1062,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_asin_operator_desc")]
 public struct DML_ELEMENT_WISE_ASIN_OPERATOR_DESC
 {
 	[Const]
@@ -1152,7 +1078,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_atanh_operator_desc")]
 public struct DML_ELEMENT_WISE_ATANH_OPERATOR_DESC
 {
 	[Const]
@@ -1169,7 +1094,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_atan_operator_desc")]
 public struct DML_ELEMENT_WISE_ATAN_OPERATOR_DESC
 {
 	[Const]
@@ -1186,7 +1110,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_atan_yx_operator_desc")]
 public struct DML_ELEMENT_WISE_ATAN_YX_OPERATOR_DESC
 {
 	[Const]
@@ -1203,7 +1126,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_bit_and_operator_desc")]
 public struct DML_ELEMENT_WISE_BIT_AND_OPERATOR_DESC
 {
 	[Const]
@@ -1220,7 +1142,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_bit_count_operator_desc")]
 public struct DML_ELEMENT_WISE_BIT_COUNT_OPERATOR_DESC
 {
 	[Const]
@@ -1234,7 +1155,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_bit_not_operator_desc")]
 public struct DML_ELEMENT_WISE_BIT_NOT_OPERATOR_DESC
 {
 	[Const]
@@ -1248,7 +1168,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_bit_or_operator_desc")]
 public struct DML_ELEMENT_WISE_BIT_OR_OPERATOR_DESC
 {
 	[Const]
@@ -1265,7 +1184,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_bit_shift_left_operator_desc")]
 public struct DML_ELEMENT_WISE_BIT_SHIFT_LEFT_OPERATOR_DESC
 {
 	[Const]
@@ -1282,7 +1200,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_bit_shift_right_operator_desc")]
 public struct DML_ELEMENT_WISE_BIT_SHIFT_RIGHT_OPERATOR_DESC
 {
 	[Const]
@@ -1299,7 +1216,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_bit_xor_operator_desc")]
 public struct DML_ELEMENT_WISE_BIT_XOR_OPERATOR_DESC
 {
 	[Const]
@@ -1316,7 +1232,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_ceil_operator_desc")]
 public struct DML_ELEMENT_WISE_CEIL_OPERATOR_DESC
 {
 	[Const]
@@ -1333,7 +1248,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_clip1_operator_desc")]
 public struct DML_ELEMENT_WISE_CLIP1_OPERATOR_DESC
 {
 	[Const]
@@ -1356,7 +1270,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_clip_grad1_operator_desc")]
 public struct DML_ELEMENT_WISE_CLIP_GRAD1_OPERATOR_DESC
 {
 	[Const]
@@ -1379,7 +1292,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_clip_grad_operator_desc")]
 public struct DML_ELEMENT_WISE_CLIP_GRAD_OPERATOR_DESC
 {
 	[Const]
@@ -1400,7 +1312,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_clip_operator_desc")]
 public struct DML_ELEMENT_WISE_CLIP_OPERATOR_DESC
 {
 	[Const]
@@ -1421,7 +1332,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_constant_pow_operator_desc")]
 public struct DML_ELEMENT_WISE_CONSTANT_POW_OPERATOR_DESC
 {
 	[Const]
@@ -1440,7 +1350,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_cosh_operator_desc")]
 public struct DML_ELEMENT_WISE_COSH_OPERATOR_DESC
 {
 	[Const]
@@ -1457,7 +1366,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_cos_operator_desc")]
 public struct DML_ELEMENT_WISE_COS_OPERATOR_DESC
 {
 	[Const]
@@ -1474,7 +1382,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_dequantize_linear_operator_desc")]
 public struct DML_ELEMENT_WISE_DEQUANTIZE_LINEAR_OPERATOR_DESC
 {
 	[Const]
@@ -1494,7 +1401,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_difference_square_operator_desc")]
 public struct DML_ELEMENT_WISE_DIFFERENCE_SQUARE_OPERATOR_DESC
 {
 	[Const]
@@ -1511,7 +1417,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_divide_operator_desc")]
 public struct DML_ELEMENT_WISE_DIVIDE_OPERATOR_DESC
 {
 	[Const]
@@ -1528,7 +1433,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_erf_operator_desc")]
 public struct DML_ELEMENT_WISE_ERF_OPERATOR_DESC
 {
 	[Const]
@@ -1545,7 +1449,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_exp_operator_desc")]
 public struct DML_ELEMENT_WISE_EXP_OPERATOR_DESC
 {
 	[Const]
@@ -1562,7 +1465,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_floor_operator_desc")]
 public struct DML_ELEMENT_WISE_FLOOR_OPERATOR_DESC
 {
 	[Const]
@@ -1579,7 +1481,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_identity_operator_desc")]
 public struct DML_ELEMENT_WISE_IDENTITY_OPERATOR_DESC
 {
 	[Const]
@@ -1596,7 +1497,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_if_operator_desc")]
 public struct DML_ELEMENT_WISE_IF_OPERATOR_DESC
 {
 	[Const]
@@ -1616,7 +1516,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_is_infinity_operator_desc")]
 public struct DML_ELEMENT_WISE_IS_INFINITY_OPERATOR_DESC
 {
 	[Const]
@@ -1632,7 +1531,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_is_nan_operator_desc")]
 public struct DML_ELEMENT_WISE_IS_NAN_OPERATOR_DESC
 {
 	[Const]
@@ -1646,7 +1544,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_logical_and_operator_desc")]
 public struct DML_ELEMENT_WISE_LOGICAL_AND_OPERATOR_DESC
 {
 	[Const]
@@ -1663,7 +1560,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_logical_equals_operator_desc")]
 public struct DML_ELEMENT_WISE_LOGICAL_EQUALS_OPERATOR_DESC
 {
 	[Const]
@@ -1680,7 +1576,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_logical_greater_than_operator_desc")]
 public struct DML_ELEMENT_WISE_LOGICAL_GREATER_THAN_OPERATOR_DESC
 {
 	[Const]
@@ -1697,7 +1592,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_logical_greater_than_or_equal_operator_desc")]
 public struct DML_ELEMENT_WISE_LOGICAL_GREATER_THAN_OR_EQUAL_OPERATOR_DESC
 {
 	[Const]
@@ -1714,7 +1608,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_logical_less_than_operator_desc")]
 public struct DML_ELEMENT_WISE_LOGICAL_LESS_THAN_OPERATOR_DESC
 {
 	[Const]
@@ -1731,7 +1624,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_logical_less_than_or_equal_operator_desc")]
 public struct DML_ELEMENT_WISE_LOGICAL_LESS_THAN_OR_EQUAL_OPERATOR_DESC
 {
 	[Const]
@@ -1748,7 +1640,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_logical_not_operator_desc")]
 public struct DML_ELEMENT_WISE_LOGICAL_NOT_OPERATOR_DESC
 {
 	[Const]
@@ -1762,7 +1653,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_logical_or_operator_desc")]
 public struct DML_ELEMENT_WISE_LOGICAL_OR_OPERATOR_DESC
 {
 	[Const]
@@ -1779,7 +1669,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_logical_xor_operator_desc")]
 public struct DML_ELEMENT_WISE_LOGICAL_XOR_OPERATOR_DESC
 {
 	[Const]
@@ -1796,7 +1685,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_log_operator_desc")]
 public struct DML_ELEMENT_WISE_LOG_OPERATOR_DESC
 {
 	[Const]
@@ -1813,7 +1701,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_max_operator_desc")]
 public struct DML_ELEMENT_WISE_MAX_OPERATOR_DESC
 {
 	[Const]
@@ -1830,7 +1717,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_mean_operator_desc")]
 public struct DML_ELEMENT_WISE_MEAN_OPERATOR_DESC
 {
 	[Const]
@@ -1847,7 +1733,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_min_operator_desc")]
 public struct DML_ELEMENT_WISE_MIN_OPERATOR_DESC
 {
 	[Const]
@@ -1864,7 +1749,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_modulus_floor_operator_desc")]
 public struct DML_ELEMENT_WISE_MODULUS_FLOOR_OPERATOR_DESC
 {
 	[Const]
@@ -1881,7 +1765,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_modulus_truncate_operator_desc")]
 public struct DML_ELEMENT_WISE_MODULUS_TRUNCATE_OPERATOR_DESC
 {
 	[Const]
@@ -1898,7 +1781,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_multiply_operator_desc")]
 public struct DML_ELEMENT_WISE_MULTIPLY_OPERATOR_DESC
 {
 	[Const]
@@ -1915,7 +1797,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_negate_operator_desc")]
 public struct DML_ELEMENT_WISE_NEGATE_OPERATOR_DESC
 {
 	[Const]
@@ -1929,7 +1810,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_pow_operator_desc")]
 public struct DML_ELEMENT_WISE_POW_OPERATOR_DESC
 {
 	[Const]
@@ -1949,7 +1829,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_quantized_linear_add_operator_desc")]
 public struct DML_ELEMENT_WISE_QUANTIZED_LINEAR_ADD_OPERATOR_DESC
 {
 	[Const]
@@ -1984,7 +1863,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_quantize_linear_operator_desc")]
 public struct DML_ELEMENT_WISE_QUANTIZE_LINEAR_OPERATOR_DESC
 {
 	[Const]
@@ -2004,7 +1882,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_recip_operator_desc")]
 public struct DML_ELEMENT_WISE_RECIP_OPERATOR_DESC
 {
 	[Const]
@@ -2021,7 +1898,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_round_operator_desc")]
 public struct DML_ELEMENT_WISE_ROUND_OPERATOR_DESC
 {
 	[Const]
@@ -2037,7 +1913,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_sign_operator_desc")]
 public struct DML_ELEMENT_WISE_SIGN_OPERATOR_DESC
 {
 	[Const]
@@ -2051,7 +1926,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_sinh_operator_desc")]
 public struct DML_ELEMENT_WISE_SINH_OPERATOR_DESC
 {
 	[Const]
@@ -2068,7 +1942,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_sin_operator_desc")]
 public struct DML_ELEMENT_WISE_SIN_OPERATOR_DESC
 {
 	[Const]
@@ -2085,7 +1958,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_sqrt_operator_desc")]
 public struct DML_ELEMENT_WISE_SQRT_OPERATOR_DESC
 {
 	[Const]
@@ -2102,7 +1974,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_subtract_operator_desc")]
 public struct DML_ELEMENT_WISE_SUBTRACT_OPERATOR_DESC
 {
 	[Const]
@@ -2119,7 +1990,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_tanh_operator_desc")]
 public struct DML_ELEMENT_WISE_TANH_OPERATOR_DESC
 {
 	[Const]
@@ -2136,7 +2006,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_tan_operator_desc")]
 public struct DML_ELEMENT_WISE_TAN_OPERATOR_DESC
 {
 	[Const]
@@ -2153,7 +2022,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_element_wise_threshold_operator_desc")]
 public struct DML_ELEMENT_WISE_THRESHOLD_OPERATOR_DESC
 {
 	[Const]
@@ -2169,11 +2037,9 @@ public struct DML_ELEMENT_WISE_THRESHOLD_OPERATOR_DESC
 }
 
 using System;
-using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_execution_flags")]
 [Flags]
 public enum DML_EXECUTION_FLAGS
 {
@@ -2183,43 +2049,32 @@ public enum DML_EXECUTION_FLAGS
 	DML_EXECUTION_FLAG_DESCRIPTORS_VOLATILE = 4
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_feature")]
 public enum DML_FEATURE
 {
 	DML_FEATURE_TENSOR_DATA_TYPE_SUPPORT,
 	DML_FEATURE_FEATURE_LEVELS
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_feature_data_feature_levels")]
 public struct DML_FEATURE_DATA_FEATURE_LEVELS
 {
 	public DML_FEATURE_LEVEL MaxSupportedFeatureLevel;
 }
 
 using Windows.Win32.Foundation;
-using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_feature_data_tensor_data_type_support")]
 public struct DML_FEATURE_DATA_TENSOR_DATA_TYPE_SUPPORT
 {
 	public BOOL IsSupported;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_feature_level")]
 public enum DML_FEATURE_LEVEL
 {
 	DML_FEATURE_LEVEL_1_0 = 4096,
@@ -2243,7 +2098,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_feature_query_feature_levels")]
 public struct DML_FEATURE_QUERY_FEATURE_LEVELS
 {
 	public uint RequestedFeatureLevelCount;
@@ -2252,11 +2106,8 @@ public struct DML_FEATURE_QUERY_FEATURE_LEVELS
 	public unsafe DML_FEATURE_LEVEL* RequestedFeatureLevels;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_feature_query_tensor_data_type_support")]
 public struct DML_FEATURE_QUERY_TENSOR_DATA_TYPE_SUPPORT
 {
 	public DML_TENSOR_DATA_TYPE DataType;
@@ -2266,7 +2117,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_fill_value_constant_operator_desc")]
 public struct DML_FILL_VALUE_CONSTANT_OPERATOR_DESC
 {
 	[Const]
@@ -2281,7 +2131,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_fill_value_sequence_operator_desc")]
 public struct DML_FILL_VALUE_SEQUENCE_OPERATOR_DESC
 {
 	[Const]
@@ -2298,7 +2147,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_gather_elements_operator_desc")]
 public struct DML_GATHER_ELEMENTS_OPERATOR_DESC
 {
 	[Const]
@@ -2317,7 +2165,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_gather_nd1_operator_desc")]
 public struct DML_GATHER_ND1_OPERATOR_DESC
 {
 	[Const]
@@ -2340,7 +2187,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_gather_nd_operator_desc")]
 public struct DML_GATHER_ND_OPERATOR_DESC
 {
 	[Const]
@@ -2361,7 +2207,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_gather_operator_desc")]
 public struct DML_GATHER_OPERATOR_DESC
 {
 	[Const]
@@ -2382,7 +2227,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_gemm_operator_desc")]
 public struct DML_GEMM_OPERATOR_DESC
 {
 	[Const]
@@ -2413,7 +2257,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_graph_desc")]
 public struct DML_GRAPH_DESC
 {
 	public uint InputCount;
@@ -2445,7 +2288,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_graph_edge_desc")]
 public struct DML_GRAPH_EDGE_DESC
 {
 	public DML_GRAPH_EDGE_TYPE Type;
@@ -2454,11 +2296,8 @@ public struct DML_GRAPH_EDGE_DESC
 	public unsafe void* Desc;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_graph_edge_type")]
 public enum DML_GRAPH_EDGE_TYPE
 {
 	DML_GRAPH_EDGE_TYPE_INVALID,
@@ -2471,7 +2310,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_graph_node_desc")]
 public struct DML_GRAPH_NODE_DESC
 {
 	public DML_GRAPH_NODE_TYPE Type;
@@ -2480,11 +2318,8 @@ public struct DML_GRAPH_NODE_DESC
 	public unsafe void* Desc;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_graph_node_type")]
 public enum DML_GRAPH_NODE_TYPE
 {
 	DML_GRAPH_NODE_TYPE_INVALID,
@@ -2496,7 +2331,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_gru_operator_desc")]
 public struct DML_GRU_OPERATOR_DESC
 {
 	[Const]
@@ -2538,7 +2372,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_input_graph_edge_desc")]
 public struct DML_INPUT_GRAPH_EDGE_DESC
 {
 	public uint GraphInputIndex;
@@ -2556,7 +2389,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_intermediate_graph_edge_desc")]
 public struct DML_INTERMEDIATE_GRAPH_EDGE_DESC
 {
 	public uint FromNodeIndex;
@@ -2571,11 +2403,8 @@ public struct DML_INTERMEDIATE_GRAPH_EDGE_DESC
 	public PSTR Name;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_interpolation_mode")]
 public enum DML_INTERPOLATION_MODE
 {
 	DML_INTERPOLATION_MODE_NEAREST_NEIGHBOR,
@@ -2595,7 +2424,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_join_operator_desc")]
 public struct DML_JOIN_OPERATOR_DESC
 {
 	public uint InputCount;
@@ -2614,7 +2442,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_local_response_normalization_grad_operator_desc")]
 public struct DML_LOCAL_RESPONSE_NORMALIZATION_GRAD_OPERATOR_DESC
 {
 	[Const]
@@ -2642,7 +2469,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_local_response_normalization_operator_desc")]
 public struct DML_LOCAL_RESPONSE_NORMALIZATION_OPERATOR_DESC
 {
 	[Const]
@@ -2666,7 +2492,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_lp_normalization_operator_desc")]
 public struct DML_LP_NORMALIZATION_OPERATOR_DESC
 {
 	[Const]
@@ -2686,7 +2511,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_lp_pooling_operator_desc")]
 public struct DML_LP_POOLING_OPERATOR_DESC
 {
 	[Const]
@@ -2717,7 +2541,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_lstm_operator_desc")]
 public struct DML_LSTM_OPERATOR_DESC
 {
 	[Const]
@@ -2771,7 +2594,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_matrix_multiply_integer_operator_desc")]
 public struct DML_MATRIX_MULTIPLY_INTEGER_OPERATOR_DESC
 {
 	[Const]
@@ -2790,11 +2612,8 @@ public struct DML_MATRIX_MULTIPLY_INTEGER_OPERATOR_DESC
 	public unsafe DML_TENSOR_DESC* OutputTensor;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_matrix_transform")]
 public enum DML_MATRIX_TRANSFORM
 {
 	DML_MATRIX_TRANSFORM_NONE,
@@ -2805,7 +2624,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_max_pooling1_operator_desc")]
 public struct DML_MAX_POOLING1_OPERATOR_DESC
 {
 	[Const]
@@ -2836,7 +2654,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_max_pooling2_operator_desc")]
 public struct DML_MAX_POOLING2_OPERATOR_DESC
 {
 	[Const]
@@ -2870,7 +2687,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_max_pooling_grad_operator_desc")]
 public struct DML_MAX_POOLING_GRAD_OPERATOR_DESC
 {
 	[Const]
@@ -2904,7 +2720,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_max_pooling_operator_desc")]
 public struct DML_MAX_POOLING_OPERATOR_DESC
 {
 	[Const]
@@ -2932,7 +2747,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_max_unpooling_operator_desc")]
 public struct DML_MAX_UNPOOLING_OPERATOR_DESC
 {
 	[Const]
@@ -2950,7 +2764,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_mean_variance_normalization1_operator_desc")]
 public struct DML_MEAN_VARIANCE_NORMALIZATION1_OPERATOR_DESC
 {
 	[Const]
@@ -2983,7 +2796,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_mean_variance_normalization_operator_desc")]
 public struct DML_MEAN_VARIANCE_NORMALIZATION_OPERATOR_DESC
 {
 	[Const]
@@ -3012,7 +2824,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_nonzero_coordinates_operator_desc")]
 public struct DML_NONZERO_COORDINATES_OPERATOR_DESC
 {
 	[Const]
@@ -3029,7 +2840,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_one_hot_operator_desc")]
 public struct DML_ONE_HOT_OPERATOR_DESC
 {
 	[Const]
@@ -3048,7 +2858,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_operator_desc")]
 public struct DML_OPERATOR_DESC
 {
 	public DML_OPERATOR_TYPE Type;
@@ -3062,7 +2871,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_operator_graph_node_desc")]
 public struct DML_OPERATOR_GRAPH_NODE_DESC
 {
 	public IDMLOperator Operator;
@@ -3071,11 +2879,8 @@ public struct DML_OPERATOR_GRAPH_NODE_DESC
 	public PSTR Name;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_operator_type")]
 public enum DML_OPERATOR_TYPE
 {
 	DML_OPERATOR_INVALID = 0,
@@ -3243,7 +3048,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_output_graph_edge_desc")]
 public struct DML_OUTPUT_GRAPH_EDGE_DESC
 {
 	public uint FromNodeIndex;
@@ -3260,7 +3064,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_padding1_operator_desc")]
 public struct DML_PADDING1_OPERATOR_DESC
 {
 	[Const]
@@ -3284,11 +3087,8 @@ public struct DML_PADDING1_OPERATOR_DESC
 	public unsafe uint* EndPadding;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_padding_mode")]
 public enum DML_PADDING_MODE
 {
 	DML_PADDING_MODE_CONSTANT,
@@ -3301,7 +3101,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_padding_operator_desc")]
 public struct DML_PADDING_OPERATOR_DESC
 {
 	[Const]
@@ -3327,7 +3126,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_quantized_linear_convolution_operator_desc")]
 public struct DML_QUANTIZED_LINEAR_CONVOLUTION_OPERATOR_DESC
 {
 	[Const]
@@ -3381,7 +3179,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_quantized_linear_matrix_multiply_operator_desc")]
 public struct DML_QUANTIZED_LINEAR_MATRIX_MULTIPLY_OPERATOR_DESC
 {
 	[Const]
@@ -3416,7 +3213,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_random_generator_operator_desc")]
 public struct DML_RANDOM_GENERATOR_OPERATOR_DESC
 {
 	[Const]
@@ -3431,21 +3227,15 @@ public struct DML_RANDOM_GENERATOR_OPERATOR_DESC
 	public DML_RANDOM_GENERATOR_TYPE Type;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_random_generator_type")]
 public enum DML_RANDOM_GENERATOR_TYPE
 {
 	DML_RANDOM_GENERATOR_TYPE_PHILOX_4X32_10
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_recurrent_network_direction")]
 public enum DML_RECURRENT_NETWORK_DIRECTION
 {
 	DML_RECURRENT_NETWORK_DIRECTION_FORWARD,
@@ -3453,11 +3243,8 @@ public enum DML_RECURRENT_NETWORK_DIRECTION
 	DML_RECURRENT_NETWORK_DIRECTION_BIDIRECTIONAL
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_reduce_function")]
 public enum DML_REDUCE_FUNCTION
 {
 	DML_REDUCE_FUNCTION_ARGMAX,
@@ -3478,7 +3265,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_reduce_operator_desc")]
 public struct DML_REDUCE_OPERATOR_DESC
 {
 	public DML_REDUCE_FUNCTION Function;
@@ -3499,7 +3285,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_resample1_operator_desc")]
 public struct DML_RESAMPLE1_OPERATOR_DESC
 {
 	[Const]
@@ -3526,7 +3311,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_resample_grad_operator_desc")]
 public struct DML_RESAMPLE_GRAD_OPERATOR_DESC
 {
 	[Const]
@@ -3553,7 +3337,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_resample_operator_desc")]
 public struct DML_RESAMPLE_OPERATOR_DESC
 {
 	[Const]
@@ -3574,7 +3357,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_reverse_subsequences_desc")]
 public struct DML_REVERSE_SUBSEQUENCES_OPERATOR_DESC
 {
 	[Const]
@@ -3593,7 +3375,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_rnn_operator_desc")]
 public struct DML_RNN_OPERATOR_DESC
 {
 	[Const]
@@ -3633,7 +3414,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_roi_align1_operator_desc")]
 public struct DML_ROI_ALIGN1_OPERATOR_DESC
 {
 	[Const]
@@ -3674,7 +3454,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_roi_align_grad_operator_desc")]
 public struct DML_ROI_ALIGN_GRAD_OPERATOR_DESC
 {
 	[Const]
@@ -3718,7 +3497,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_roi_align_operator_desc")]
 public struct DML_ROI_ALIGN_OPERATOR_DESC
 {
 	[Const]
@@ -3752,7 +3530,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_roi_pooling_operator_desc")]
 public struct DML_ROI_POOLING_OPERATOR_DESC
 {
 	[Const]
@@ -3779,12 +3556,10 @@ public enum DML_ROUNDING_MODE
 }
 
 using System.Runtime.InteropServices;
-using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
 [StructLayout (LayoutKind.Explicit)]
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_scalar_union")]
 public struct DML_SCALAR_UNION
 {
 	[FieldOffset (0)]
@@ -3821,11 +3596,8 @@ public struct DML_SCALAR_UNION
 	public double Float64;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_scale_bias")]
 public struct DML_SCALE_BIAS
 {
 	public float Scale;
@@ -3837,7 +3609,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_scatter_nd_operator_desc")]
 public struct DML_SCATTER_ND_OPERATOR_DESC
 {
 	[Const]
@@ -3861,7 +3632,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_scatter_operator_desc")]
 public struct DML_SCATTER_OPERATOR_DESC
 {
 	[Const]
@@ -3879,11 +3649,8 @@ public struct DML_SCATTER_OPERATOR_DESC
 	public uint Axis;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_size_2d")]
 public struct DML_SIZE_2D
 {
 	public uint Width;
@@ -3895,7 +3662,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_slice1_operator_desc")]
 public struct DML_SLICE1_OPERATOR_DESC
 {
 	[Const]
@@ -3920,7 +3686,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_slice_grad_operator_desc")]
 public struct DML_SLICE_GRAD_OPERATOR_DESC
 {
 	[Const]
@@ -3945,7 +3710,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_slice_operator_desc")]
 public struct DML_SLICE_OPERATOR_DESC
 {
 	[Const]
@@ -3970,7 +3734,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_space_to_depth1_operator_desc")]
 public struct DML_SPACE_TO_DEPTH1_OPERATOR_DESC
 {
 	[Const]
@@ -3988,7 +3751,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_space_to_depth_operator_desc")]
 public struct DML_SPACE_TO_DEPTH_OPERATOR_DESC
 {
 	[Const]
@@ -4004,7 +3766,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_split_operator_desc")]
 public struct DML_SPLIT_OPERATOR_DESC
 {
 	[Const]
@@ -4018,11 +3779,8 @@ public struct DML_SPLIT_OPERATOR_DESC
 	public uint Axis;
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_tensor_data_type")]
 public enum DML_TENSOR_DATA_TYPE
 {
 	DML_TENSOR_DATA_TYPE_UNKNOWN,
@@ -4043,7 +3801,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_tensor_desc")]
 public struct DML_TENSOR_DESC
 {
 	public DML_TENSOR_TYPE Type;
@@ -4053,11 +3810,9 @@ public struct DML_TENSOR_DESC
 }
 
 using System;
-using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_tensor_flags")]
 [Flags]
 public enum DML_TENSOR_FLAGS
 {
@@ -4065,11 +3820,8 @@ public enum DML_TENSOR_FLAGS
 	DML_TENSOR_FLAG_OWNED_BY_DML = 1
 }
 
-using Windows.Win32.Foundation.Metadata;
-
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ne-directml-dml_tensor_type")]
 public enum DML_TENSOR_TYPE
 {
 	DML_TENSOR_TYPE_INVALID,
@@ -4080,7 +3832,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_tile_operator_desc")]
 public struct DML_TILE_OPERATOR_DESC
 {
 	[Const]
@@ -4099,7 +3850,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_top_k1_operator_desc")]
 public struct DML_TOP_K1_OPERATOR_DESC
 {
 	[Const]
@@ -4122,7 +3872,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_top_k_operator_desc")]
 public struct DML_TOP_K_OPERATOR_DESC
 {
 	[Const]
@@ -4143,7 +3892,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_upsample_2d_operator_desc")]
 public struct DML_UPSAMPLE_2D_OPERATOR_DESC
 {
 	[Const]
@@ -4161,7 +3909,6 @@ using Windows.Win32.Foundation.Metadata;
 
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/ns-directml-dml_value_scale_2d_operator_desc")]
 public struct DML_VALUE_SCALE_2D_OPERATOR_DESC
 {
 	[Const]
@@ -4185,22 +3932,16 @@ using Windows.Win32.Foundation.Metadata;
 namespace Windows.Win32.AI.MachineLearning.DirectML;
 
 [Windows.Win32.Foundation.Metadata.Guid (700876764u, 56948, 20027, 171, 0, 17, 104, 242, 252, 60, 252)]
-[Documentation ("https://learn.microsoft.com/windows/win32/api/directml/nn-directml-idmlbindi

Diff truncated to fit this comment. Download the complete api-diff.patch from the api-diff artifact.

This comment is automatically updated on each push.

Jevan Saks (jevansaks) and others added 11 commits October 14, 2026 17:56
Preserve all OLD enum identities, names and values; reject extra APIs and document the bounded partition review playbook.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve SDK-derived bindings and exact OLD enum identities; include Base and FileHistory in the shared-header closure and grade only the reviewed use-site representation changes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve the rejected candidate and restore only SecurityCenter and WinSat facts. Keep ToolHelp and UpdateAssessment and the exact approved enum-use differences.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jevansaks Jevan Saks (jevansaks) changed the title Migrate WinHttp semantic facts to reviewed header patches Migrate WinHttp and selected partitions to header annotations Oct 15, 2026
Relocate seven demonstrated missing-scan Wsl bindings and ten existing Xinput logical enums with exact OLD membership and native use-site types. Keep SecurityCenter and WinSat deferred without admitting retval changes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jevansaks Jevan Saks (jevansaks) changed the title Migrate WinHttp and selected partitions to header annotations Migrate WinHttp and ten partitions to header annotations Oct 15, 2026
Accept faithful SDK/SAL/MIDL capture and surface exact source-backed metadata and consumer differences. Clarify the historical C# retval finding without re-enabling migrations or changing emission inputs. Preserve B9 artifact and CI provenance separately from this documentation head.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve the existing stacked branch history and inherit the exact qualified tooling dependency.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Inherit tested tooling efc2082 and refresh the private prepared-header tree identity. Preserve all 119 existing OS facts as direct annotations for the same-tooling scope control; change no header preimages or authored semantic facts.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep nativeFieldArrayInfo absent and default-off for the scoped SupportedOS migration. Preserve the rejected efc2082 evidence separately without admitting its SDK-wide field changes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Pin the immutable B9 image and compare every physical type without normalization or scope allowances. Keep the existing exact OLD and tooling-control gates intact.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- ULONG Flags,
- ULONG ResourceType,
+ _Win32_AssociatedEnum_(VERIFIER_ENUM_RESOURCE_FLAGS) ULONG Flags,
+ _Win32_AssociatedEnum_(enum eAvrfResourceTypes) ULONG ResourceType,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this enum FooType be just FooType ? The restatement of "enum" is one of those wacky C things.


+
+_Win32_FlagsEnum_(VERIFIER_ENUM_RESOURCE_FLAGS, ULONG,
+ AVRF_ENUM_RESOURCES_FLAGS_DONT_RESOLVE_TRACES,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ordering inverted from the list - probably OK, but "reads weird"

cpp_quote("#endif")
struct tag_inner_PROPVARIANT
{
- VARTYPE vt;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't VARTYPE already a enum VARENUM ? Why is this added bit needed?

#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SERVER)

/* Determines if a distribution is already registered */
+_Win32_ImportLibrary_("Api-ms-win-wsl-api-l1-1-0.dll")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider all-lower-case.dll

);

/* Registers a new distribution given the information provided. */
+_Win32_ImportLibrary_("Api-ms-win-wsl-api-l1-1-0.dll")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not on the other header patches?

Inherit exact tooling 6d897be and carry the complete header/IDL patch assets and pinned recipe from 42d80ee. Retire covered legacy metadata/manual API inputs while retaining newer unmatched upstream facts, current import discovery and namespace routing. Keep generic code, scripts, tests, shared vocabulary, project logic and the SDK mirror from the tooling parent.

Publish as WIP for review: the recipe remains pinned to SDK 10.0.26100.7705 and its original mirror, so preparation must reject the inherited SDK 10.0.28000.2705 baseline. This commit does not establish API equivalence or final-stack SDK qualification. Preserve the historical pilot through the ordinary merge parent.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jevansaks Jevan Saks (jevansaks) changed the title Move pilot metadata annotations into SDK headers and IDL Full SDK header annotation migration (WIP) Oct 24, 2026
Ordinarily inherit exact tooling 909a851 while preserving the complete existing SDK migration-data delta without alteration. All implementation changes come from the lower layer, including deferral of the SEC_WINNT_AUTH_IDENTITY donor namespace route to preserve legacy Rpc ownership.

Keep the original 42d80ee header/IDL patches, recipe pins, partial retirement residuals and data-support inputs unchanged. The SDK 26100 recipe versus SDK 28000 baseline mismatch remains a review blocker; this inheritance is not header-stack qualification.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Ordinarily inherit exact tooling a73bff9. All packaging and regression implementation comes from the lower PR; no SDK patch or recipe changes are included in this inheritance commit.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Retain existing annotation facts while refreshing exact native context and coordinates, including the shipped SAL physical line splitting. Keep removed and relocated targets held; recipe alignment and full preparation remain pending.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Pin the shipped SDK28000 source, original-IDL closure and MIDL tools.
Include the new native D3D12 marker-enum input unchanged. Move the
GetBestInterfaceEx availability annotation to its actual user-mode
provider and stop selecting the removed shader-cache native source,
while retaining its historical patch asset.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jevansaks Jevan Saks (jevansaks) changed the title Full SDK header annotation migration (WIP) Full SDK header annotation migration (SDK28000 WIP) Oct 24, 2026
Jevan Saks (jevansaks) and others added 18 commits October 24, 2026 00:01
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Inherit exact a826894 without changing SDK patches, retirement inputs, native providers or preparation identities. Full migrated generation remains held for the separate native-handle and ANSI compatibility repairs.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Inherit exact released756e2da tooling while preserving the existing SDK28000 migration data and native stack.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Inherit exact 2b750f6 from tooling PR #2363 while preserving the reviewed SDK28000 data, strict preparation inputs and native stack lineage. Fresh producers and image qualification remain separate gates.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Project existing enum Flags through original IDL metadata comments and pin the admitted SDK mirror/helper to the supported published toolchain. Separate complete generation and normal CI gates from recorded migration differences.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…letion

Keep the exact30 historical source-blocked metadata units in a report-only inventory bound to selected SDK28000. Replace unconditional source-completion assertions with exact deferred/unqualified accounting, preserve sidecar-absence and generated-header ownership guards, and reject missing/changed facts or false coverage claims. Keep historical strict physical controls unchanged and correct report/documentation preservation wording. Refresh the migration fixture's published shared-helper pin.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Run the same exact thirty-unit accounting on refreshed coverage reports and cover the real refresh entry point with a focused regression. Preserve frozen source inputs and avoid rescanning SDK sources in the refresh path.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The expanded SDK annotation/native-constant workload exceeded the one-hour x86 job budget in exact-head run40113275852 while source generation was still advancing. Its GitHub check explicitly reports the maximum execution time, not a compiler failure. Increase only the scrape-matrix budget60to120minutes and cover both the new scrape budget and unchanged60-minute build/test budget in the existing48-case workflow regression suite. Keep matrix work, prerequisite checks, diagnostics, coverage, cancellation and all correctness gates unchanged.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep generated C# imports aligned with the selected SDK namespace closure. Guard the authored scraper preamble without restoring removed APIs or suppressing compiler diagnostics.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep the independently mergeable tooling branch intact while making the SDK test surface match the already-qualified actual CI merge source.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Require the exact remaining import sequence and reject missing, duplicate, changed, reordered or reintroduced Hlsl imports. Preserve the historical257-import snapshot and all eight retained and436retired metadata records.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Integrate compiler-backed constant selection with the qualified SDK
header patch, namespace and import-coverage repairs. Preserve source
enum owners and signed legacy dependencies without changing genuine
owner storage. Record the deterministic header-priority conflict policy.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Match incomplete storage expectations to the existing void-pointer contract while preserving complete/empty controls and the separate SDK annotation layer.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep the SDK migration above the independently published C# tooling changes without changing either pull request base or native stack membership.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Declare SetLastError on the authored ImageHlp declarations used by Debug while retaining the existing annotation transport. Prefer devicetopology.h for E_NOTFOUND through the shared SDK constants response file and retain native ordering for unlisted headers.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep the SDK source contracts above the bounded default provider-work correction. Preserve the independently qualified AAA/runtime04 image as predecessor evidence, without changing SDK data or native stack membership.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants