reactos/base/applications/msconfig_new/comctl32ex/comctl32supp.h
Mark Jansen f9e50f5471 [ATL] Add GET_X_LPARAM and GET_Y_LPARAM to atlwin.h
Remove all local definitions
2019-01-15 14:34:53 +02:00

36 lines
1,015 B
C

/*
* PROJECT: ReactOS Applications
* LICENSE: LGPL - See COPYING in the top level directory
* FILE: base/applications/msconfig_new/comctl32ex/comctl32supp.h
* PURPOSE: Common Controls helper functions.
* COPYRIGHT: Copyright 2011-2012 Hermes BELUSCA - MAITO <hermes.belusca@sfr.fr>
*/
#ifndef __COMCTL32SUPP_H__
#define __COMCTL32SUPP_H__
#include <windowsx.h>
#define Button_IsEnabled(hwndCtl) IsWindowEnabled((hwndCtl))
#define UM_CHECKSTATECHANGE (WM_USER + 100)
#if 0
// this typedef, present in newer include files,
// supports the building tokenmon on older systems
typedef struct _DLLVERSIONINFO
{
DWORD cbSize;
DWORD dwMajorVersion;
DWORD dwMinorVersion;
DWORD dwBuildNumber;
DWORD dwPlatformID;
} DLLVERSIONINFO, *PDLLVERSIONINFO;
// Version information function
typedef HRESULT (WINAPI* DLLGETVERSIONPROC)(PDLLVERSIONINFO);
#endif
HRESULT GetComCtl32Version(OUT PDWORD pdwMajor, OUT PDWORD pdwMinor, OUT PDWORD pdwBuild);
#endif // __COMCTL32SUPP_H__