Re: [Mingw-w64-public] [PATCH 1/2] winstorecompat: Fix EnumProcessModule

2018-07-11 Thread Martin Storsjö
On Wed, 11 Jul 2018, Martin Storsjö wrote: On Wed, 11 Jul 2018, Hugo Beauzée-Luyssen wrote: Return the correct size if the buffer isn't big enough, Ah, I had misread the msdn docs; this behaviour makes much more sense. After rereading the docs, I now see how it should be interpteted. an

Re: [Mingw-w64-public] [PATCH 1/2] winstorecompat: Fix EnumProcessModule

2018-07-11 Thread Martin Storsjö
On Wed, 11 Jul 2018, Hugo Beauzée-Luyssen wrote: Return the correct size if the buffer isn't big enough, Ah, I had misread the msdn docs; this behaviour makes much more sense. After rereading the docs, I now see how it should be interpteted. and don't reference mods as it is undeclared O

[Mingw-w64-public] [PATCH 1/2] winstorecompat: Fix EnumProcessModule

2018-07-11 Thread Hugo Beauzée-Luyssen
Return the correct size if the buffer isn't big enough, and don't reference mods as it is undeclared --- .../winstorecompat/src/EnumProcessModules.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mingw-w64-libraries/winstorecompat/src/EnumProcessModules.c