On Sat, 1 Nov 2025, Pali Rohár wrote:

Copied from mingw-w64 ddk/ntddk.h header file.
---
mingw-w64-headers/include/winternl.h | 37 ++++++++++++++++++++++------
1 file changed, 30 insertions(+), 7 deletions(-)

diff --git a/mingw-w64-headers/include/winternl.h 
b/mingw-w64-headers/include/winternl.h
index ffbf750d9e3e..0a376fa8e69c 100644
--- a/mingw-w64-headers/include/winternl.h
+++ b/mingw-w64-headers/include/winternl.h
@@ -317,13 +317,36 @@ typedef struct _RTL_USER_PROCESS_PARAMETERS {
    FileIdBothDirectoryInformation,
    FileIdFullDirectoryInformation,
    FileValidDataLengthInformation,
-    FileShortNameInformation = 40,
-    FileSfioReserveInformation = 44,
-    FileSfioVolumeInformation = 45,

I do see that we already have enum declarations in our winternl.h that aren't there in public WinSDK versions - but I don't think that motivates adding newer things that isn't there.

If we have things in winternl.h that shouldn't be there we probably should remove that instead.

I checked with both current WinSDK versions, and really old ones (from around 2005-2010), and neither of them have any of these enums here - it all just amounts to "FileDirectoryInformation = 1", nothing more.

// Martin

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to