2007-08-04 03:21:06 +02:00
|
|
|
/*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_DWMAPI_H
|
|
|
|
#define __WINE_DWMAPI_H
|
|
|
|
|
|
|
|
#include "wtypes.h"
|
|
|
|
#include "uxtheme.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DWMAPI
|
|
|
|
# define DWMAPI STDAPI
|
|
|
|
# define DWMAPI_(type) STDAPI_(type)
|
|
|
|
#endif
|
|
|
|
|
2008-01-06 16:14:56 +01:00
|
|
|
DECLARE_HANDLE(HTHUMBNAIL);
|
|
|
|
|
2009-10-11 23:02:27 +02:00
|
|
|
typedef struct _MilMatrix3x2D
|
|
|
|
{
|
|
|
|
DOUBLE S_11;
|
|
|
|
DOUBLE S_12;
|
|
|
|
DOUBLE S_21;
|
|
|
|
DOUBLE S_22;
|
|
|
|
DOUBLE DX;
|
|
|
|
DOUBLE DY;
|
|
|
|
} MilMatrix3x2D;
|
|
|
|
|
2010-07-23 11:53:02 +02:00
|
|
|
#define DWM_BB_ENABLE 0x00000001
|
|
|
|
#define DWM_BB_BLURREGION 0x00000002
|
|
|
|
#define DWM_BB_TRANSITIONONMAXIMIZED 0x00000004
|
|
|
|
|
|
|
|
typedef struct _DWM_BLURBEHIND
|
|
|
|
{
|
|
|
|
DWORD dwFlags;
|
|
|
|
BOOL fEnable;
|
|
|
|
HRGN hRgnBlur;
|
|
|
|
BOOL fTransitionOnMaximized;
|
|
|
|
} DWM_BLURBEHIND, *PDWM_BLURBEHIND;
|
|
|
|
|
|
|
|
DWMAPI DwmEnableBlurBehindWindow(HWND, const DWM_BLURBEHIND *);
|
2007-08-04 03:21:06 +02:00
|
|
|
DWMAPI DwmEnableComposition(UINT);
|
2009-01-24 20:35:54 +01:00
|
|
|
DWMAPI DwmEnableMMCSS(BOOL);
|
2008-10-01 17:53:23 +02:00
|
|
|
DWMAPI DwmExtendFrameIntoClientArea(HWND,const MARGINS*);
|
|
|
|
DWMAPI DwmGetColorizationColor(DWORD*,BOOL);
|
2007-08-04 03:21:06 +02:00
|
|
|
DWMAPI DwmIsCompositionEnabled(BOOL*);
|
2008-01-06 16:14:56 +01:00
|
|
|
DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD);
|
|
|
|
DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL);
|
2007-08-04 03:21:06 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __WINE_DWMAPI_H */
|