Module: wine Branch: master Commit: b1df9d11b1335bbbe091928341a403b0da5ec263 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b1df9d11b1335bbbe091928341...
Author: Andrey Turkin andrey.turkin@gmail.com Date: Sat Jan 24 22:35:54 2009 +0300
dwmapi: Add DwmEnableMMCSS stub.
---
dlls/dwmapi/dwmapi.spec | 2 +- dlls/dwmapi/dwmapi_main.c | 10 ++++++++++ include/dwmapi.h | 1 + 3 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/dwmapi/dwmapi.spec b/dlls/dwmapi/dwmapi.spec index 63ee2f5..f1c800f 100644 --- a/dlls/dwmapi/dwmapi.spec +++ b/dlls/dwmapi/dwmapi.spec @@ -24,7 +24,7 @@ @ stub DwmDefWindowProc @ stub DwmDetachMilContent @ stub DwmEnableBlurBehindWindow -@ stub DwmEnableMMCSS +@ stdcall DwmEnableMMCSS(long) @ stdcall DwmExtendFrameIntoClientArea(long ptr) @ stdcall DwmFlush() @ stdcall DwmGetColorizationColor(ptr long) diff --git a/dlls/dwmapi/dwmapi_main.c b/dlls/dwmapi/dwmapi_main.c index e306c56..4961c0b 100644 --- a/dlls/dwmapi/dwmapi_main.c +++ b/dlls/dwmapi/dwmapi_main.c @@ -119,3 +119,13 @@ HRESULT WINAPI DwmUnregisterThumbnail(HTHUMBNAIL thumbnail)
return E_NOTIMPL; } + +/********************************************************************** + * DwmEnableMMCSS (DWMAPI.@) + */ +HRESULT WINAPI DwmEnableMMCSS(BOOL enableMMCSS) +{ + FIXME("(%d) stub\n", enableMMCSS); + + return S_OK; +} diff --git a/include/dwmapi.h b/include/dwmapi.h index 710e3f4..551138e 100644 --- a/include/dwmapi.h +++ b/include/dwmapi.h @@ -32,6 +32,7 @@ extern "C" { DECLARE_HANDLE(HTHUMBNAIL);
DWMAPI DwmEnableComposition(UINT); +DWMAPI DwmEnableMMCSS(BOOL); DWMAPI DwmExtendFrameIntoClientArea(HWND,const MARGINS*); DWMAPI DwmGetColorizationColor(DWORD*,BOOL); DWMAPI DwmIsCompositionEnabled(BOOL*);