[PRINTING]
[reactos.git] / reactos / base / applications / msconfig_new / comctl32ex / comctl32supp.h
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 GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
15 #define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))
16 */
17
18 #define Button_IsEnabled(hwndCtl) IsWindowEnabled((hwndCtl))
19
20 #define UM_CHECKSTATECHANGE (WM_USER + 100)
21
22 #if 0
23 // this typedef, present in newer include files,
24 // supports the building tokenmon on older systems
25 typedef struct _DLLVERSIONINFO
26 {
27 DWORD cbSize;
28 DWORD dwMajorVersion;
29 DWORD dwMinorVersion;
30 DWORD dwBuildNumber;
31 DWORD dwPlatformID;
32 } DLLVERSIONINFO, *PDLLVERSIONINFO;
33 // Version information function
34 typedef HRESULT (WINAPI* DLLGETVERSIONPROC)(PDLLVERSIONINFO);
35 #endif
36
37 HRESULT GetComCtl32Version(OUT PDWORD pdwMajor, OUT PDWORD pdwMinor, OUT PDWORD pdwBuild);
38
39 #endif // __COMCTL32SUPP_H__