ReactOS  0.4.12-dev-57-g7050ac4
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 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__
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