ReactOS 0.4.15-dev-7958-gcd0bb1a
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
21typedef 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
30typedef HRESULT (WINAPI* DLLGETVERSIONPROC)(PDLLVERSIONINFO);
31#endif
32
33HRESULT 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
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD * PDWORD
Definition: pedump.c:68
HRESULT(CALLBACK * DLLGETVERSIONPROC)(DLLVERSIONINFO *)
Definition: shlwapi.h:1964
struct _DllVersionInfo DLLVERSIONINFO
#define OUT
Definition: typedefs.h:40
#define HRESULT
Definition: msvc.h:7
#define WINAPI
Definition: msvc.h:6