dwmapi: Add DwmUpdateThumbnailProperties stub.

This commit is contained in:
Alistair Leslie-Hughes 2015-09-02 11:20:24 +10:00 committed by Alexandre Julliard
parent 601aa570f1
commit e28d6b2fb0
3 changed files with 21 additions and 1 deletions

View File

@ -42,4 +42,4 @@
@ stub DwmSetPresentParameters @ stub DwmSetPresentParameters
@ stdcall DwmSetWindowAttribute(long long ptr long) @ stdcall DwmSetWindowAttribute(long long ptr long)
@ stdcall DwmUnregisterThumbnail(long) @ stdcall DwmUnregisterThumbnail(long)
@ stub DwmUpdateThumbnailProperties @ stdcall DwmUpdateThumbnailProperties(ptr ptr)

View File

@ -250,3 +250,12 @@ HRESULT WINAPI DwmDetachMilContent(HWND hwnd)
FIXME("(%p) stub\n", hwnd); FIXME("(%p) stub\n", hwnd);
return E_NOTIMPL; return E_NOTIMPL;
} }
/**********************************************************************
* DwmUpdateThumbnailProperties (DWMAPI.@)
*/
HRESULT WINAPI DwmUpdateThumbnailProperties(HTHUMBNAIL thumbnail, const DWM_THUMBNAIL_PROPERTIES *props)
{
FIXME("(%p, %p) stub\n", thumbnail, props);
return E_NOTIMPL;
}

View File

@ -107,6 +107,16 @@ typedef struct _DWM_BLURBEHIND
BOOL fTransitionOnMaximized; BOOL fTransitionOnMaximized;
} DWM_BLURBEHIND, *PDWM_BLURBEHIND; } DWM_BLURBEHIND, *PDWM_BLURBEHIND;
typedef struct _DWM_THUMBNAIL_PROPERTIES
{
DWORD dwFlags;
RECT rcDestination;
RECT rcSource;
BYTE opacity;
BOOL fVisible;
BOOL fSourceClientAreaOnly;
} DWM_THUMBNAIL_PROPERTIES, *PDWM_THUMBNAIL_PROPERTIES;
#include <poppack.h> #include <poppack.h>
DWMAPI DwmDefWindowProc(HWND, UINT, WPARAM, LPARAM, LRESULT*); DWMAPI DwmDefWindowProc(HWND, UINT, WPARAM, LPARAM, LRESULT*);
@ -121,6 +131,7 @@ DWMAPI DwmIsCompositionEnabled(BOOL*);
DWMAPI DwmRegisterThumbnail(HWND, HWND, PHTHUMBNAIL); DWMAPI DwmRegisterThumbnail(HWND, HWND, PHTHUMBNAIL);
DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD); DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD);
DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL); DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL);
DWMAPI DwmUpdateThumbnailProperties(HTHUMBNAIL, const DWM_THUMBNAIL_PROPERTIES *);
#ifdef __cplusplus #ifdef __cplusplus
} }