[Mingw-w64-public] [PATCH 2/2] dwmapi.h: Use DWMAPI in function declarations

2024-09-05 Thread Daniel Verkamp
DWMAPI was already defined by dwmapi.h, but it was not actually used when declaring the functions in that header, so they were missing DECLSPEC_IMPORT. This patch replaces HRESULT WINAPI with DWMAPI, and WINBOOL WINAPI with DWMAPI_(WINBOOL) for the DwmDefWindowProc function that does not return HR

[Mingw-w64-public] [PATCH 1/2] dwmapi.h: Add explicit DwmFlush void param

2024-09-05 Thread Daniel Verkamp
The DwmFlush() function takes zero parameters, not an undefined number of parameters. Signed-off-by: Daniel Verkamp --- mingw-w64-headers/include/dwmapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/dwmapi.h b/mingw-w64-headers/include/dwmapi.h

[Mingw-w64-public] SAL annotations and headers to support Azure C++ SDK and Windows Implementation Libraries

2024-09-05 Thread Sharadh Rajaraman
Hi, The Windows Implementation Libraries (https://github.com/microsoft/wil) has recently been refactored to support compilation with MinGW-w64. However, there are missing SAL annotations, macros, and functions (listed here: https://github.com/microsoft/wil/pull/467/files) that need to be defined a

[Mingw-w64-public] [PATCH] headers: Add new symbols in wingdi.h

2024-09-05 Thread Biswapriyo Nath
From b697653194ce8ba7b2ac978744728ef01cc6c9a0 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 5 Sep 2024 15:39:31 + Subject: [PATCH] headers: Add new symbols in wingdi.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/wingdi.h | 97 +- 1 f

Re: [Mingw-w64-public] [PATCH] headers: Add enum operators in d2d1.h

2024-09-05 Thread LIU Hao
在 2024-09-05 11:30, Biswapriyo Nath 写道: From 0b97c44122a465edfca516c46fc8353a12d83982 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 5 Sep 2024 03:28:33 + Subject: [PATCH] headers: Add enum operators in d2d1.h This fixes compiler error as following. JUCE/modules/juce_graphics/na