From d9aad76acddeedb1ba9ae0566a35eb23e9998aa5 Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Wed, 1 Jul 2026 15:09:20 -0700 Subject: [PATCH] windows: Delete unused MEMORY.BASIC_INFORMATION definition This definition was also incorrect for 32-bit targets (the PartitionId field doesn't exist on 32-bit targets) Closes #35997 --- lib/std/os/windows.zig | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/std/os/windows.zig b/lib/std/os/windows.zig index 7a3c134e2a3416f35aed6cbff592105f0cd95109..c2295ba80d492086e7ad934698fa4636620f5a1a 100644 --- a/lib/std/os/windows.zig +++ b/lib/std/os/windows.zig @@ -1925,19 +1925,6 @@ pub const THREAD = struct { }; }; -pub const MEMORY = struct { - pub const BASIC_INFORMATION = extern struct { - BaseAddress: PVOID, - AllocationBase: PVOID, - AllocationProtect: DWORD, - PartitionId: WORD, - RegionSize: SIZE_T, - State: DWORD, - Protect: DWORD, - Type: DWORD, - }; -}; - // ref: km/ntifs.h pub const HEAP = opaque { -- 2.54.0