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__ 36