dwmapi: Add a few stub implementations.

This commit is contained in:
Andrey Turkin 2008-10-01 19:53:23 +04:00 committed by Alexandre Julliard
parent 2a55b8d8e7
commit a8790e55fd
3 changed files with 35 additions and 3 deletions

View File

@ -25,9 +25,9 @@
@ stub DwmDetachMilContent @ stub DwmDetachMilContent
@ stub DwmEnableBlurBehindWindow @ stub DwmEnableBlurBehindWindow
@ stub DwmEnableMMCSS @ stub DwmEnableMMCSS
@ stub DwmExtendFrameIntoClientArea @ stdcall DwmExtendFrameIntoClientArea(long ptr)
@ stub DwmFlush @ stdcall DwmFlush()
@ stub DwmGetColorizationColor @ stdcall DwmGetColorizationColor(ptr long)
@ stub DwmGetCompositionTimingInfo @ stub DwmGetCompositionTimingInfo
@ stub DwmGetGraphicsStreamClient @ stub DwmGetGraphicsStreamClient
@ stub DwmGetGraphicsStreamTransformHint @ stub DwmGetGraphicsStreamTransformHint

View File

@ -70,6 +70,36 @@ HRESULT WINAPI DwmEnableComposition(UINT uCompositionAction)
return S_OK; return S_OK;
} }
/**********************************************************************
* DwmExtendFrameIntoClientArea (DWMAPI.@)
*/
HRESULT WINAPI DwmExtendFrameIntoClientArea(HWND hwnd, const MARGINS* margins)
{
FIXME("(%p, %p) stub\n", hwnd, margins);
return E_NOTIMPL;
}
/**********************************************************************
* DwmGetColorizationColor (DWMAPI.@)
*/
HRESULT WINAPI DwmGetColorizationColor(DWORD *colorization, BOOL opaque_blend)
{
FIXME("(%p, %d) stub\n", colorization, opaque_blend);
return E_NOTIMPL;
}
/**********************************************************************
* DwmFlush (DWMAPI.@)
*/
HRESULT WINAPI DwmFlush()
{
FIXME("() stub\n");
return E_NOTIMPL;
}
/********************************************************************** /**********************************************************************
* DwmSetWindowAttribute (DWMAPI.@) * DwmSetWindowAttribute (DWMAPI.@)
*/ */

View File

@ -32,6 +32,8 @@ extern "C" {
DECLARE_HANDLE(HTHUMBNAIL); DECLARE_HANDLE(HTHUMBNAIL);
DWMAPI DwmEnableComposition(UINT); DWMAPI DwmEnableComposition(UINT);
DWMAPI DwmExtendFrameIntoClientArea(HWND,const MARGINS*);
DWMAPI DwmGetColorizationColor(DWORD*,BOOL);
DWMAPI DwmIsCompositionEnabled(BOOL*); DWMAPI DwmIsCompositionEnabled(BOOL*);
DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD); DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD);
DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL); DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL);