Author: cwittich
Date: Fri Nov 13 12:47:11 2009
New Revision: 44128
URL:
http://svn.reactos.org/svn/reactos?rev=44128&view=rev
Log:
sync dwmapi with wine 1.1.32
Modified:
trunk/reactos/dll/win32/dwmapi/dwmapi.spec
trunk/reactos/dll/win32/dwmapi/dwmapi_main.c
trunk/reactos/include/psdk/dwmapi.h
Modified: trunk/reactos/dll/win32/dwmapi/dwmapi.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dwmapi/dwmapi.sp…
==============================================================================
--- trunk/reactos/dll/win32/dwmapi/dwmapi.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dwmapi/dwmapi.spec [iso-8859-1] Fri Nov 13 12:47:11 2009
@@ -29,9 +29,9 @@
@ stdcall DwmFlush()
@ stdcall DwmGetColorizationColor(ptr long)
@ stub DwmGetCompositionTimingInfo
-@ stub DwmGetGraphicsStreamClient
-@ stub DwmGetGraphicsStreamTransformHint
-@ stub DwmGetTransportAttributes
+@ stdcall DwmGetGraphicsStreamClient(long ptr)
+@ stdcall DwmGetGraphicsStreamTransformHint(long ptr)
+@ stdcall DwmGetTransportAttributes(ptr ptr ptr)
@ stub DwmGetWindowAttribute
@ stdcall DwmIsCompositionEnabled(ptr)
@ stub DwmModifyPreviousDxFrameDuration
Modified: trunk/reactos/dll/win32/dwmapi/dwmapi_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dwmapi/dwmapi_ma…
==============================================================================
--- trunk/reactos/dll/win32/dwmapi/dwmapi_main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dwmapi/dwmapi_main.c [iso-8859-1] Fri Nov 13 12:47:11 2009
@@ -111,6 +111,26 @@
}
/**********************************************************************
+ * DwmGetGraphicsStreamClient (DWMAPI.@)
+ */
+HRESULT WINAPI DwmGetGraphicsStreamClient(UINT uIndex, UUID *pClientUuid)
+{
+ FIXME("(%d, %p) stub\n", uIndex, pClientUuid);
+
+ return E_NOTIMPL;
+}
+
+/**********************************************************************
+ * DwmGetTransportAttributes (DWMAPI.@)
+ */
+HRESULT WINAPI DwmGetTransportAttributes(BOOL *pfIsRemoting, BOOL *pfIsConnected, DWORD
*pDwGeneration)
+{
+ FIXME("(%p, %p, %p) stub\n", pfIsRemoting, pfIsConnected, pDwGeneration);
+
+ return E_NOTIMPL;
+}
+
+/**********************************************************************
* DwmUnregisterThumbnail (DWMAPI.@)
*/
HRESULT WINAPI DwmUnregisterThumbnail(HTHUMBNAIL thumbnail)
@@ -129,3 +149,13 @@
return S_OK;
}
+
+/**********************************************************************
+ * DwmGetGraphicsStreamTransformHint (DWMAPI.@)
+ */
+HRESULT WINAPI DwmGetGraphicsStreamTransformHint(UINT uIndex, MilMatrix3x2D *pTransform)
+{
+ FIXME("(%d, %p) stub\n", uIndex, pTransform);
+
+ return E_NOTIMPL;
+}
Modified: trunk/reactos/include/psdk/dwmapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/dwmapi.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/dwmapi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/dwmapi.h [iso-8859-1] Fri Nov 13 12:47:11 2009
@@ -31,7 +31,18 @@
DECLARE_HANDLE(HTHUMBNAIL);
+typedef struct _MilMatrix3x2D
+{
+ DOUBLE S_11;
+ DOUBLE S_12;
+ DOUBLE S_21;
+ DOUBLE S_22;
+ DOUBLE DX;
+ DOUBLE DY;
+} MilMatrix3x2D;
+
DWMAPI DwmEnableComposition(UINT);
+DWMAPI DwmEnableMMCSS(BOOL);
DWMAPI DwmExtendFrameIntoClientArea(HWND,const MARGINS*);
DWMAPI DwmGetColorizationColor(DWORD*,BOOL);
DWMAPI DwmIsCompositionEnabled(BOOL*);