dwmapi: Add stub implementation for DwmSetWindowAttribute and DwmUnregisterThumbnail.
This commit is contained in:
parent
005b493619
commit
66960ba4bf
|
@ -39,6 +39,6 @@
|
|||
@ stub DwmRegisterThumbnail
|
||||
@ stub DwmSetDxFrameDuration
|
||||
@ stub DwmSetPresentParameters
|
||||
@ stub DwmSetWindowAttribute
|
||||
@ stub DwmUnregisterThumbnail
|
||||
@ stdcall DwmSetWindowAttribute(long long ptr long)
|
||||
@ stdcall DwmUnregisterThumbnail(long)
|
||||
@ stub DwmUpdateThumbnailProperties
|
||||
|
|
|
@ -69,3 +69,23 @@ HRESULT WINAPI DwmEnableComposition(UINT uCompositionAction)
|
|||
|
||||
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" {
|
|||
# define DWMAPI_(type) STDAPI_(type)
|
||||
#endif
|
||||
|
||||
DECLARE_HANDLE(HTHUMBNAIL);
|
||||
|
||||
DWMAPI DwmEnableComposition(UINT);
|
||||
DWMAPI DwmIsCompositionEnabled(BOOL*);
|
||||
DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD);
|
||||
DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -1371,11 +1371,16 @@ REFIID
|
|||
|
||||
%long
|
||||
|
||||
DWORD
|
||||
HRESULT
|
||||
HTHUMBNAIL
|
||||
HWND
|
||||
UINT
|
||||
|
||||
%ptr
|
||||
|
||||
BOOL *
|
||||
LPCVOID
|
||||
|
||||
%%dxdiagn.dll
|
||||
|
||||
|
|
Loading…
Reference in New Issue