[DWMAPI]
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 24 Jan 2012 13:52:57 +0000 (13:52 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 24 Jan 2012 13:52:57 +0000 (13:52 +0000)
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55141

reactos/dll/win32/dwmapi/dwmapi.spec
reactos/dll/win32/dwmapi/dwmapi_main.c
reactos/media/doc/README.WINE

index 474587a..bb45563 100644 (file)
@@ -21,7 +21,7 @@
 120 stub DWMAPI_120
 
 @ stub DwmAttachMilContent
-@ stub DwmDefWindowProc
+@ stdcall DwmDefWindowProc(long long long long ptr)
 @ stub DwmDetachMilContent
 @ stdcall DwmEnableBlurBehindWindow(ptr ptr)
 @ stdcall DwmEnableMMCSS(long)
 @ 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
-@ stub DwmRegisterThumbnail
+@ stdcall DwmRegisterThumbnail(long long ptr)
 @ stub DwmSetDxFrameDuration
 @ stub DwmSetPresentParameters
 @ stdcall DwmSetWindowAttribute(long long ptr long)
index fcc52c3..39a9918 100644 (file)
@@ -176,3 +176,35 @@ HRESULT WINAPI DwmEnableBlurBehindWindow(HWND hWnd, const DWM_BLURBEHIND *pBlurB
 
     return E_NOTIMPL;
 }
+
+/**********************************************************************
+ *           DwmDefWindowProc         (DWMAPI.@)
+ */
+BOOL WINAPI DwmDefWindowProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult)
+{
+    static int i;
+
+    if (!i++) FIXME("stub\n");
+
+    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;
+}
+
+/**********************************************************************
+ *           DwmRegisterThumbnail         (DWMAPI.@)
+ */
+HRESULT WINAPI DwmRegisterThumbnail(HWND dest, HWND src, PHTHUMBNAIL thumbnail_id)
+{
+    FIXME("(%p %p %p) stub\n", dest, src, thumbnail_id);
+
+    return E_NOTIMPL;
+}
index d21e536..f7bff3f 100644 (file)
@@ -59,7 +59,7 @@ reactos/dll/win32/cryptnet        # Synced to Wine-1.3.37
 reactos/dll/win32/cryptui         # Autosync
 reactos/dll/win32/dbghelp         # Autosync
 reactos/dll/win32/dciman32        # Autosync
-reactos/dll/win32/dwmapi          # Autosync
+reactos/dll/win32/dwmapi          # Synced to Wine-1.3.37
 reactos/dll/win32/fusion          # Autosync
 reactos/dll/win32/gdiplus         # Autosync
 reactos/dll/win32/hhctrl.ocx      # Autosync