1 /*
2  * PROJECT:     ReactOS Applications
3  * LICENSE:     LGPL - See COPYING in the top level directory
4  * FILE:        base/applications/msconfig_new/comctl32ex/uxthemesupp.h
5  * PURPOSE:     UX Theming helpers.
6  * COPYRIGHT:   Copyright 2015 Hermes BELUSCA - MAITO <hermes.belusca@sfr.fr>
7  */
8 
9 #ifndef _UXTHEMESUPP_H_
10 #define _UXTHEMESUPP_H_
11 
12 #pragma once
13 
14 #if defined(_UXTHEME_H) || defined(_UXTHEME_H_) // First one is our headers from Wine/MinGW, second one is MS PSDK
15 #warning "PSDK header uxtheme.h is already included, you might think about using it instead!"
16 #endif
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 //
23 //  Copied from uxtheme.h
24 //  If you have this new header, then delete these and
25 //  #include <uxtheme.h> instead!
26 //
27 
28 #define ETDT_DISABLE        0x00000001
29 #define ETDT_ENABLE         0x00000002
30 #define ETDT_USETABTEXTURE  0x00000004
31 #define ETDT_ENABLETAB      (ETDT_ENABLE  | ETDT_USETABTEXTURE)
32 
33 HRESULT
34 WINAPI
35 EnableThemeDialogTexture(_In_ HWND  hwnd,
36                          _In_ DWORD dwFlags);
37 
38 HRESULT
39 WINAPI
40 SetWindowTheme(_In_ HWND    hwnd,
41                _In_ LPCWSTR pszSubAppName,
42                _In_ LPCWSTR pszSubIdList);
43 
44 #ifdef __cplusplus
45 } // extern "C"
46 #endif
47 
48 #endif // _UXTHEMESUPP_H_
49