dwmapi: add a stub for DwmGetGraphicsStreamClient

Austin English austinenglish at gmail.com
Wed Sep 30 13:11:20 CDT 2009


Bug 20212 again.

Also fixes the indentation from the last patch...vim was being silly
and it slipped in.

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/dwmapi/dwmapi.spec b/dlls/dwmapi/dwmapi.spec
index 7b7ad8e..27e0704 100644
--- a/dlls/dwmapi/dwmapi.spec
+++ b/dlls/dwmapi/dwmapi.spec
@@ -29,7 +29,7 @@
 @ stdcall DwmFlush()
 @ stdcall DwmGetColorizationColor(ptr long)
 @ stub DwmGetCompositionTimingInfo
-@ stub DwmGetGraphicsStreamClient
+@ stdcall DwmGetGraphicsStreamClient(long ptr)
 @ stub DwmGetGraphicsStreamTransformHint
 @ stdcall DwmGetTransportAttributes(ptr ptr ptr)
 @ stub DwmGetWindowAttribute
diff --git a/dlls/dwmapi/dwmapi_main.c b/dlls/dwmapi/dwmapi_main.c
index 2bbb501..40ecec7 100644
--- a/dlls/dwmapi/dwmapi_main.c
+++ b/dlls/dwmapi/dwmapi_main.c
@@ -110,10 +110,19 @@ HRESULT WINAPI DwmSetWindowAttribute(HWND hwnd, DWORD attributenum, LPCVOID attr
     return E_NOTIMPL;
 }
 
+/**********************************************************************
+ *           DwmGetGraphicsStreamClient         (DWMAPI.@)
+ */
+HRESULT WINAPI DwmGetGraphicsStreamClient(UINT uIndex, UUID *pClientUuid)
+{
+    FIXME("(%d, %p) stub\n", uIndex, pClientUuid);
+
+    return E_NOTIMPL;
+}
 
 /**********************************************************************
- *  *           DwmGetTransportAttributes         (DWMAPI.@)
- *   */
+ *           DwmGetTransportAttributes         (DWMAPI.@)
+ */
 HRESULT WINAPI DwmGetTransportAttributes(BOOL *pfIsRemoting, BOOL *pfIsConnected, DWORD *pDwGeneration)
 {
     FIXME("(%p, %p, %p) stub\n", pfIsRemoting, pfIsConnected, pDwGeneration);


More information about the wine-patches mailing list