From ec00da57444c44d96cdd97ea5c554a6d00578fa0 Mon Sep 17 00:00:00 2001 From: Wolfgang Draxinger Date: Fri, 17 Apr 2015 21:38:13 +0200 Subject: initial commit --- dwm_load.h | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 dwm_load.h (limited to 'dwm_load.h') diff --git a/dwm_load.h b/dwm_load.h new file mode 100644 index 0000000..34ef87b --- /dev/null +++ b/dwm_load.h @@ -0,0 +1,117 @@ +#ifndef DWM_LOAD_H +#define DWM_LOAD_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +BOOL dwmload_DefWindowProc( + HWND hwnd, + UINT msg, + WPARAM wParam, + LPARAM lParam, + LRESULT *plResult +); +#define DwmDefWindowProc dwmload_DefWindowProc + +HRESULT dwmload_EnableBlurBehindWindow( + HWND hWnd, + const DWM_BLURBEHIND *pBlurBehind +); +#define DwmEnableBlurBehindWindow dwmload_EnableBlurBehindWindow + +HRESULT dwmload_EnableComposition( + UINT uCompositionAction +); +#define DwmEnableComposition dwmload_EnableComposition + +HRESULT dwmload_EnableMMCSS( + BOOL fEnableMMCSS +); +#define DwmEnableMMCSS dwmload_EnableMMCSS + +HRESULT dwmload_ExtendFrameIntoClientArea( + HWND hWnd, + const MARGINS *pMarInset +); +#define DwmExtendFrameIntoClientArea dwmload_ExtendFrameIntoClientArea + +HRESULT dwmload_GetColorizationColor( + DWORD *pcrColorization, + BOOL *pfOpaqueBlend +); +#define DwmGetColorizationColor dwmload_GetColorizationColor + +HRESULT dwmload_GetCompositionTimingInfo( + HWND hwnd, + DWM_TIMING_INFO *pTimingInfo +); +#define DwmGetCompositionTimingInfo dwmload_GetCompositionTimingInfo + +HRESULT dwmload_GetWindowAttribute( + HWND hwnd, + DWORD dwAttribute, + PVOID pvAttribute, + DWORD cbAttribute +); +#define DwmGetWindowAttribute dwmload_GetWindowAttribute + +HRESULT dwmload_IsCompositionEnabled( + BOOL *pfEnabled +); +#define DwmIsCompositionEnabled dwmload_IsCompositionEnabled + +HRESULT dwmload_ModifyPreviousDxFrameDuration( + HWND hwnd, + INT cRefreshes, + BOOL fRelative +); +#define DwmModifyPreviousDxFrameDuration dwmload_ModifyPreviousDxFrameDuration + +HRESULT dwmload_QueryThumbnailSourceSize( + HTHUMBNAIL hThumbnail, + PSIZE pSize +); +#define DwmQueryThumbnailSourceSize dwmload_QueryThumbnailSourceSize + +HRESULT dwmload_RegisterThumbnail( + HWND hwndDestination, + HWND *hwndSource, + PHTHUMBNAIL phThumbnailId +); +#define DwmRegisterThumbnail dwmload_RegisterThumbnail + +HRESULT dwmload_SetDxFrameDuration( + HWND hwnd, + INT cRefreshes +); +#define DwmSetDxFrameDuration dwmload_SetDxFrameDuration + +HRESULT dwmload_SetPresentParameters( + HWND hwnd, + DWM_PRESENT_PARAMETERS *pPresentParams +); +#define DwmSetPresentParameters dwmload_SetPresentParameters + +HRESULT dwmload_SetWindowAttribute( + HWND hwnd, + DWORD dwAttribute, + LPCVOID pvAttribute, + DWORD cbAttribute +); +#define DwmSetWindowAttribute dwmload_SetWindowAttribute + +HRESULT dwmload_UnregisterThumbnail( + HTHUMBNAIL hThumbnailId +); +#define DwmUnregisterThumbnail dwmload_UnregisterThumbnail + +HRESULT dwmload_UpdateThumbnailProperties( + HTHUMBNAIL hThumbnailId, + const DWM_THUMBNAIL_PROPERTIES *ptnProperties +); +#define DwmUpdateThumbnailProperties dwmload_UpdateThumbnailProperties + +#endif/*DWM_LOAD_H*/ -- cgit v1.2.3