wined3d: Get rid of IWineD3DGeometryShader.
[wine] / include / dwmapi.h
1 /*
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.
6  *
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.
11  *
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
15  */
16
17 #ifndef __WINE_DWMAPI_H
18 #define __WINE_DWMAPI_H
19
20 #include "wtypes.h"
21 #include "uxtheme.h"
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 #ifndef DWMAPI
28 # define DWMAPI        STDAPI
29 # define DWMAPI_(type) STDAPI_(type)
30 #endif
31
32 DECLARE_HANDLE(HTHUMBNAIL);
33
34 typedef struct _MilMatrix3x2D
35 {
36     DOUBLE S_11;
37     DOUBLE S_12;
38     DOUBLE S_21;
39     DOUBLE S_22;
40     DOUBLE DX;
41     DOUBLE DY;
42 } MilMatrix3x2D;
43
44 #define DWM_BB_ENABLE                 0x00000001
45 #define DWM_BB_BLURREGION             0x00000002
46 #define DWM_BB_TRANSITIONONMAXIMIZED  0x00000004
47
48 typedef struct _DWM_BLURBEHIND
49 {
50     DWORD dwFlags;
51     BOOL fEnable;
52     HRGN hRgnBlur;
53     BOOL fTransitionOnMaximized;
54 } DWM_BLURBEHIND, *PDWM_BLURBEHIND;
55
56 DWMAPI DwmDefWindowProc(HWND, UINT, WPARAM, LPARAM, LRESULT*);
57 DWMAPI DwmEnableBlurBehindWindow(HWND, const DWM_BLURBEHIND *);
58 DWMAPI DwmEnableComposition(UINT);
59 DWMAPI DwmEnableMMCSS(BOOL);
60 DWMAPI DwmExtendFrameIntoClientArea(HWND,const MARGINS*);
61 DWMAPI DwmGetColorizationColor(DWORD*,BOOL);
62 DWMAPI DwmIsCompositionEnabled(BOOL*);
63 DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD);
64 DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL);
65
66 #ifdef __cplusplus
67 }
68 #endif
69
70 #endif  /* __WINE_DWMAPI_H */