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>
9 #ifndef __COMCTL32SUPP_H__
10 #define __COMCTL32SUPP_H__
14 #define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
15 #define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))
18 #define Button_IsEnabled(hwndCtl) IsWindowEnabled((hwndCtl))
20 #define UM_CHECKSTATECHANGE (WM_USER + 100)
23 // this typedef, present in newer include files,
24 // supports the building tokenmon on older systems
25 typedef struct _DLLVERSIONINFO
32 } DLLVERSIONINFO
, *PDLLVERSIONINFO
;
33 // Version information function
34 typedef HRESULT (WINAPI
* DLLGETVERSIONPROC
)(PDLLVERSIONINFO
);
37 HRESULT
GetComCtl32Version(OUT PDWORD pdwMajor
, OUT PDWORD pdwMinor
, OUT PDWORD pdwBuild
);
39 #endif // __COMCTL32SUPP_H__