Commit 66960ba4 authored by Peter Oberndorfer's avatar Peter Oberndorfer Committed by Alexandre Julliard

dwmapi: Add stub implementation for DwmSetWindowAttribute and DwmUnregisterThumbnail.

parent 005b4936
...@@ -39,6 +39,6 @@ ...@@ -39,6 +39,6 @@
@ stub DwmRegisterThumbnail @ stub DwmRegisterThumbnail
@ stub DwmSetDxFrameDuration @ stub DwmSetDxFrameDuration
@ stub DwmSetPresentParameters @ stub DwmSetPresentParameters
@ stub DwmSetWindowAttribute @ stdcall DwmSetWindowAttribute(long long ptr long)
@ stub DwmUnregisterThumbnail @ stdcall DwmUnregisterThumbnail(long)
@ stub DwmUpdateThumbnailProperties @ stub DwmUpdateThumbnailProperties
...@@ -69,3 +69,23 @@ HRESULT WINAPI DwmEnableComposition(UINT uCompositionAction) ...@@ -69,3 +69,23 @@ HRESULT WINAPI DwmEnableComposition(UINT uCompositionAction)
return S_OK; return S_OK;
} }
/**********************************************************************
* DwmSetWindowAttribute (DWMAPI.@)
*/
HRESULT WINAPI DwmSetWindowAttribute(HWND hwnd, DWORD attributenum, LPCVOID attribute, DWORD size)
{
FIXME("(%p, %x, %p, %x) stub\n", hwnd, attributenum, attribute, size);
return E_NOTIMPL;
}
/**********************************************************************
* DwmUnregisterThumbnail (DWMAPI.@)
*/
HRESULT WINAPI DwmUnregisterThumbnail(HTHUMBNAIL thumbnail)
{
FIXME("(%p) stub\n", thumbnail);
return E_NOTIMPL;
}
...@@ -29,8 +29,12 @@ extern "C" { ...@@ -29,8 +29,12 @@ extern "C" {
# define DWMAPI_(type) STDAPI_(type) # define DWMAPI_(type) STDAPI_(type)
#endif #endif
DECLARE_HANDLE(HTHUMBNAIL);
DWMAPI DwmEnableComposition(UINT); DWMAPI DwmEnableComposition(UINT);
DWMAPI DwmIsCompositionEnabled(BOOL*); DWMAPI DwmIsCompositionEnabled(BOOL*);
DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD);
DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
...@@ -1371,11 +1371,16 @@ REFIID ...@@ -1371,11 +1371,16 @@ REFIID
%long %long
DWORD
HRESULT HRESULT
HTHUMBNAIL
HWND
UINT
%ptr %ptr
BOOL * BOOL *
LPCVOID
%%dxdiagn.dll %%dxdiagn.dll
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment