Eric Pouech : dwmapi: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Thu Feb 10 16:10:28 CST 2022


Module: wine
Branch: master
Commit: 96aa7bcd7b86fa9ebb2460f14122913365ec5b09
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=96aa7bcd7b86fa9ebb2460f14122913365ec5b09

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Thu Feb 10 08:42:02 2022 +0100

dwmapi: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dwmapi/Makefile.in   | 1 -
 dlls/dwmapi/dwmapi_main.c | 8 ++++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/dlls/dwmapi/Makefile.in b/dlls/dwmapi/Makefile.in
index 4891fab88b1..e63dbc2ea00 100644
--- a/dlls/dwmapi/Makefile.in
+++ b/dlls/dwmapi/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = dwmapi.dll
 IMPORTLIB = dwmapi
 
diff --git a/dlls/dwmapi/dwmapi_main.c b/dlls/dwmapi/dwmapi_main.c
index 6a66aa51dad..cec20220ec2 100644
--- a/dlls/dwmapi/dwmapi_main.c
+++ b/dlls/dwmapi/dwmapi_main.c
@@ -115,7 +115,7 @@ HRESULT WINAPI DwmSetWindowAttribute(HWND hwnd, DWORD attributenum, LPCVOID attr
 {
     static BOOL once;
 
-    if (!once++) FIXME("(%p, %x, %p, %x) stub\n", hwnd, attributenum, attribute, size);
+    if (!once++) FIXME("(%p, %lx, %p, %lx) stub\n", hwnd, attributenum, attribute, size);
 
     return S_OK;
 }
@@ -197,7 +197,7 @@ BOOL WINAPI DwmDefWindowProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam,
  */
 HRESULT WINAPI DwmGetWindowAttribute(HWND hwnd, DWORD attribute, PVOID pv_attribute, DWORD size)
 {
-    FIXME("(%p %d %p %d) stub\n", hwnd, attribute, pv_attribute, size);
+    FIXME("(%p %ld %p %ld) stub\n", hwnd, attribute, pv_attribute, size);
 
     return E_NOTIMPL;
 }
@@ -265,7 +265,7 @@ HRESULT WINAPI DwmSetPresentParameters(HWND hwnd, DWM_PRESENT_PARAMETERS *params
  */
 HRESULT WINAPI DwmSetIconicLivePreviewBitmap(HWND hwnd, HBITMAP hbmp, POINT *pos, DWORD flags)
 {
-    FIXME("(%p %p %p %x) stub\n", hwnd, hbmp, pos, flags);
+    FIXME("(%p %p %p %lx) stub\n", hwnd, hbmp, pos, flags);
     return S_OK;
 };
 
@@ -274,7 +274,7 @@ HRESULT WINAPI DwmSetIconicLivePreviewBitmap(HWND hwnd, HBITMAP hbmp, POINT *pos
  */
 HRESULT WINAPI DwmSetIconicThumbnail(HWND hwnd, HBITMAP hbmp, DWORD flags)
 {
-    FIXME("(%p %p %x) stub\n", hwnd, hbmp, flags);
+    FIXME("(%p %p %lx) stub\n", hwnd, hbmp, flags);
     return S_OK;
 };
 




More information about the wine-cvs mailing list