Louis Lenders : dwmapi: Add stubbed DwmGetWindowAttribute.

Alexandre Julliard julliard at winehq.org
Tue Oct 26 12:34:44 CDT 2010


Module: wine
Branch: master
Commit: ca79cf9beae752639899dcf1f34e8dff414c9e06
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ca79cf9beae752639899dcf1f34e8dff414c9e06

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Mon Oct 25 21:04:34 2010 +0200

dwmapi: Add stubbed DwmGetWindowAttribute.

---

 dlls/dwmapi/dwmapi.spec   |    2 +-
 dlls/dwmapi/dwmapi_main.c |   10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/dlls/dwmapi/dwmapi.spec b/dlls/dwmapi/dwmapi.spec
index 33d062f..8e01cac 100644
--- a/dlls/dwmapi/dwmapi.spec
+++ b/dlls/dwmapi/dwmapi.spec
@@ -32,7 +32,7 @@
 @ stdcall DwmGetGraphicsStreamClient(long ptr)
 @ stdcall DwmGetGraphicsStreamTransformHint(long ptr)
 @ stdcall DwmGetTransportAttributes(ptr ptr ptr)
-@ stub DwmGetWindowAttribute
+@ stdcall DwmGetWindowAttribute(ptr long ptr long)
 @ stdcall DwmIsCompositionEnabled(ptr)
 @ stub DwmModifyPreviousDxFrameDuration
 @ stub DwmQueryThumbnailSourceSize
diff --git a/dlls/dwmapi/dwmapi_main.c b/dlls/dwmapi/dwmapi_main.c
index fc0a792..c1bc000 100644
--- a/dlls/dwmapi/dwmapi_main.c
+++ b/dlls/dwmapi/dwmapi_main.c
@@ -188,3 +188,13 @@ BOOL WINAPI DwmDefWindowProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam,
 
     return FALSE;
 }
+
+/**********************************************************************
+ *           DwmGetWindowAttribute         (DWMAPI.@)
+ */
+HRESULT WINAPI DwmGetWindowAttribute(HWND hwnd, DWORD attribute, PVOID pv_attribute, DWORD size)
+{
+    FIXME("(%p %d %p %d) stub\n", hwnd, attribute, pv_attribute, size);
+
+    return E_NOTIMPL;
+}




More information about the wine-cvs mailing list