include: Fix declaration of DwmDefWindowProc.

Sebastian Lackner sebastian at fds-team.de
Tue Sep 13 16:16:44 CDT 2016


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---

./dlls/dwmapi/dwmapi_main.c:201:5: warning: Returning type 'int' in function with HRESULT return type [wine-hresult-check]
    return FALSE;
    ^

 include/dwmapi.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/dwmapi.h b/include/dwmapi.h
index f5191e1..b2f39de 100644
--- a/include/dwmapi.h
+++ b/include/dwmapi.h
@@ -136,7 +136,7 @@ typedef struct _DWM_PRESENT_PARAMETERS {
 
 #include <poppack.h>
 
-DWMAPI DwmDefWindowProc(HWND, UINT, WPARAM, LPARAM, LRESULT*);
+DWMAPI_(BOOL) DwmDefWindowProc(HWND, UINT, WPARAM, LPARAM, LRESULT*);
 DWMAPI DwmEnableBlurBehindWindow(HWND, const DWM_BLURBEHIND *);
 DWMAPI DwmEnableComposition(UINT);
 DWMAPI DwmEnableMMCSS(BOOL);
-- 
2.9.0



More information about the wine-patches mailing list