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

2024-09-06 Thread LIU Hao
在 2024-09-05 18:41, 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 DwmDefWi

[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