sync dwmapi with wine 1.1.32

svn path=/trunk/; revision=44128
This commit is contained in:
Christoph von Wittich 2009-11-13 11:47:11 +00:00
parent e113d59df6
commit f54043e5ae
3 changed files with 44 additions and 3 deletions

View file

@ -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

View file

@ -110,6 +110,26 @@ 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.@)
*/
HRESULT WINAPI DwmGetTransportAttributes(BOOL *pfIsRemoting, BOOL *pfIsConnected, DWORD *pDwGeneration)
{
FIXME("(%p, %p, %p) stub\n", pfIsRemoting, pfIsConnected, pDwGeneration);
return E_NOTIMPL;
}
/**********************************************************************
* DwmUnregisterThumbnail (DWMAPI.@)
*/
@ -129,3 +149,13 @@ HRESULT WINAPI DwmEnableMMCSS(BOOL enableMMCSS)
return S_OK;
}
/**********************************************************************
* DwmGetGraphicsStreamTransformHint (DWMAPI.@)
*/
HRESULT WINAPI DwmGetGraphicsStreamTransformHint(UINT uIndex, MilMatrix3x2D *pTransform)
{
FIXME("(%d, %p) stub\n", uIndex, pTransform);
return E_NOTIMPL;
}

View file

@ -31,7 +31,18 @@ extern "C" {
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*);