dwmapi: Add stub for DwmRegisterThumbnail.

This commit is contained in:
Louis Lenders 2011-09-30 12:30:10 +02:00 committed by Alexandre Julliard
parent 07b681e04a
commit 09dfda553c
3 changed files with 13 additions and 1 deletions

View File

@ -36,7 +36,7 @@
@ stdcall DwmIsCompositionEnabled(ptr) @ stdcall DwmIsCompositionEnabled(ptr)
@ stub DwmModifyPreviousDxFrameDuration @ stub DwmModifyPreviousDxFrameDuration
@ stub DwmQueryThumbnailSourceSize @ stub DwmQueryThumbnailSourceSize
@ stub DwmRegisterThumbnail @ stdcall DwmRegisterThumbnail(long long ptr)
@ stub DwmSetDxFrameDuration @ stub DwmSetDxFrameDuration
@ stub DwmSetPresentParameters @ stub DwmSetPresentParameters
@ stdcall DwmSetWindowAttribute(long long ptr long) @ stdcall DwmSetWindowAttribute(long long ptr long)

View File

@ -198,3 +198,13 @@ HRESULT WINAPI DwmGetWindowAttribute(HWND hwnd, DWORD attribute, PVOID pv_attrib
return E_NOTIMPL; return E_NOTIMPL;
} }
/**********************************************************************
* DwmRegisterThumbnail (DWMAPI.@)
*/
HRESULT WINAPI DwmRegisterThumbnail(HWND dest, HWND src, PHTHUMBNAIL thumbnail_id)
{
FIXME("(%p %p %p) stub\n", dest, src, thumbnail_id);
return E_NOTIMPL;
}

View File

@ -30,6 +30,7 @@ extern "C" {
#endif #endif
DECLARE_HANDLE(HTHUMBNAIL); DECLARE_HANDLE(HTHUMBNAIL);
typedef HTHUMBNAIL *PHTHUMBNAIL;
typedef struct _MilMatrix3x2D typedef struct _MilMatrix3x2D
{ {
@ -60,6 +61,7 @@ DWMAPI DwmEnableMMCSS(BOOL);
DWMAPI DwmExtendFrameIntoClientArea(HWND,const MARGINS*); DWMAPI DwmExtendFrameIntoClientArea(HWND,const MARGINS*);
DWMAPI DwmGetColorizationColor(DWORD*,BOOL); DWMAPI DwmGetColorizationColor(DWORD*,BOOL);
DWMAPI DwmIsCompositionEnabled(BOOL*); DWMAPI DwmIsCompositionEnabled(BOOL*);
DWMAPI DwmRegisterThumbnail(HWND, HWND, PHTHUMBNAIL);
DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD); DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD);
DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL); DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL);