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

2025-01-03 Thread LIU Hao
在 2025-01-04 09:39, 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 declaratio

[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

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-headers

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

2025-01-03 Thread LIU Hao
在 2025-01-04 10:02, Duncan Ogilvie 写道: Apologies, I am using gmail and was born too late to have learned how to use a mailing list 😅 Oh welcome; no need to apologize. It's said that GMail doesn't send a correct MIME type for patches, so they may get filtered out. But please don't send a patch

Re: [Mingw-w64-public] getmainargs changes

2025-01-03 Thread Lasse Collin
There is more information about the issue at . Seems that it may have been released in mid-December already. -- Lasse Collin ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lis

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

2025-01-03 Thread LIU Hao
在 2025-01-04 10:15, LIU Hao 写道: 在 2025-01-04 10:02, Duncan Ogilvie 写道: Apologies, I am using gmail and was born too late to have learned how to use a mailing list 😅 Oh welcome; no need to apologize. It's said that GMail doesn't send a correct MIME type for patches, so they may get filtered ou

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

2025-01-03 Thread Biswapriyo Nath
The new ones in your patch also seem incorrect. For example, I have looked into https://github.com/winsiderss/systeminformer/tree/master/phnt and RtlSetHeapInformation and RtlQueryHeapInformation return NTSTATUS. Also, I verified that by looking into those functions in ntdll.