push 4198651bda69323c5c7f7710f437846e02cfc104
[wine/hacks.git] / include / dwmapi.h
blob967efedc5835691edda755e05276a0415f786c5f
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.
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
20 #include "wtypes.h"
21 #include "uxtheme.h"
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
27 #ifndef DWMAPI
28 # define DWMAPI STDAPI
29 # define DWMAPI_(type) STDAPI_(type)
30 #endif
32 DECLARE_HANDLE(HTHUMBNAIL);
34 DWMAPI DwmEnableComposition(UINT);
35 DWMAPI DwmIsCompositionEnabled(BOOL*);
36 DWMAPI DwmSetWindowAttribute(HWND, DWORD, LPCVOID, DWORD);
37 DWMAPI DwmUnregisterThumbnail(HTHUMBNAIL);
39 #ifdef __cplusplus
41 #endif
43 #endif /* __WINE_DWMAPI_H */