2 * This library is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2.1 of the License, or (at your option) any later version.
7 * This library is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with this library; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 #ifndef __WINE_DWMAPI_H
18 #define __WINE_DWMAPI_H
28 # define DWMAPI STDAPI
29 # define DWMAPI_(type) STDAPI_(type)
32 DECLARE_HANDLE(HTHUMBNAIL
);
33 typedef HTHUMBNAIL
*PHTHUMBNAIL
;
35 typedef struct _MilMatrix3x2D
45 #define DWM_BB_ENABLE 0x00000001
46 #define DWM_BB_BLURREGION 0x00000002
47 #define DWM_BB_TRANSITIONONMAXIMIZED 0x00000004
49 typedef struct _DWM_BLURBEHIND
54 BOOL fTransitionOnMaximized
;
55 } DWM_BLURBEHIND
, *PDWM_BLURBEHIND
;
57 DWMAPI
DwmDefWindowProc(HWND
, UINT
, WPARAM
, LPARAM
, LRESULT
*);
58 DWMAPI
DwmEnableBlurBehindWindow(HWND
, const DWM_BLURBEHIND
*);
59 DWMAPI
DwmEnableComposition(UINT
);
60 DWMAPI
DwmEnableMMCSS(BOOL
);
61 DWMAPI
DwmExtendFrameIntoClientArea(HWND
,const MARGINS
*);
62 DWMAPI
DwmGetColorizationColor(DWORD
*,BOOL
);
63 DWMAPI
DwmIsCompositionEnabled(BOOL
*);
64 DWMAPI
DwmRegisterThumbnail(HWND
, HWND
, PHTHUMBNAIL
);
65 DWMAPI
DwmSetWindowAttribute(HWND
, DWORD
, LPCVOID
, DWORD
);
66 DWMAPI
DwmUnregisterThumbnail(HTHUMBNAIL
);
72 #endif /* __WINE_DWMAPI_H */