Re: [Mingw-w64-public] Patch for incorrect heap function declarations in winnt.h

2025-01-05 Thread Duncan Ogilvie
wrote: > > 在 2025-01-05 03:09, Duncan Ogilvie 写道: > > Yeah looks great to me, thanks! > > > > Thanks. pushed now. > > > > -- > Best regards, > LIU Hao ___ Mingw-w64-public mailing list Mi

Re: [Mingw-w64-public] Patch for incorrect heap function declarations in winnt.h

2025-01-04 Thread Duncan Ogilvie
Yeah looks great to me, thanks! On Sat, 4 Jan 2025 at 14:22, LIU Hao wrote: > > 在 2025-01-04 20:24, Duncan Ogilvie 写道: > >> Is there a reason why you changed the return type of > >> `RtlMultipleAllocateHeap` from `DWORD` to > > `ULONG`? They are the same type a

Re: [Mingw-w64-public] Patch for incorrect heap function declarations in winnt.h

2025-01-04 Thread Duncan Ogilvie
> Is there a reason why you changed the return type of > `RtlMultipleAllocateHeap` from `DWORD` to `ULONG`? They are the same type and interchangeable. No reason, just found all the other definitions used ULONG (since DWORD generally isn't available in the kernel/ntdll context). Feel free to remo

Re: [Mingw-w64-public] Patch for incorrect heap function declarations in winnt.h

2025-01-03 Thread Duncan Ogilvie
Apologies, I am using gmail and was born too late to have learned how to use a mailing list 😅 From 758f4b203d8dc42ef19910d226eeb735f5dc15d6 Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Sat, 4 Jan 2025 02:34:26 +0100 Subject: [PATCH] Fix a few return types in winnt.h --- mingw-w64

[Mingw-w64-public] Patch for incorrect heap function declarations in winnt.h

2025-01-03 Thread Duncan Ogilvie
Today I was trying to use System Informer's phnt headers with mingw-w64. There are some missing headers and other minor issues, but I can work around them. Unfortunately it was not possible to work around a few errors related to incorrect function declarations related to heap management. Attached