ReactOS  0.4.12-dev-685-gf36cbf7
comctl32supp.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Applications
3  * LICENSE: LGPL - See COPYING in the top level directory
4  * FILE: base/applications/msconfig_new/comctl32ex/comctl32supp.h
5  * PURPOSE: Common Controls helper functions.
6  * COPYRIGHT: Copyright 2011-2012 Hermes BELUSCA - MAITO <hermes.belusca@sfr.fr>
7  */
8 
9 #ifndef __COMCTL32SUPP_H__
10 #define __COMCTL32SUPP_H__
11 
12 #include <windowsx.h>
13 
14 #define Button_IsEnabled(hwndCtl) IsWindowEnabled((hwndCtl))
15 
16 #define UM_CHECKSTATECHANGE (WM_USER + 100)
17 
18 #if 0
19 // this typedef, present in newer include files,
20 // supports the building tokenmon on older systems
21 typedef struct _DLLVERSIONINFO
22 {
23  DWORD cbSize;
24  DWORD dwMajorVersion;
25  DWORD dwMinorVersion;
26  DWORD dwBuildNumber;
27  DWORD dwPlatformID;
28 } DLLVERSIONINFO, *PDLLVERSIONINFO;
29 // Version information function
30 typedef HRESULT (WINAPI* DLLGETVERSIONPROC)(PDLLVERSIONINFO);
31 #endif
32 
33 HRESULT GetComCtl32Version(OUT PDWORD pdwMajor, OUT PDWORD pdwMinor, OUT PDWORD pdwBuild);
34 
35 #endif // __COMCTL32SUPP_H__
HRESULT GetComCtl32Version(OUT PDWORD pdwMajor, OUT PDWORD pdwMinor, OUT PDWORD pdwBuild)
Definition: comctl32supp.c:11
LONG HRESULT
Definition: typedefs.h:77
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT(CALLBACK * DLLGETVERSIONPROC)(DLLVERSIONINFO *)
Definition: shlwapi.h:1964
#define WINAPI
Definition: msvc.h:20
DWORD * PDWORD
Definition: pedump.c:68
#define OUT
Definition: typedefs.h:39
struct _DllVersionInfo DLLVERSIONINFO
#define HRESULT
Definition: msvc.h:21