mCtrl
Macros
defs.h File Reference

Helper shared stuff. More...

Go to the source code of this file.

Macros

#define MCTRL_API   __declspec(dllimport) __stdcall
 
#define MCTRL_NAME_AW(name)   name##W
 
Common Constants
#define MC_CLR_NONE   ((COLORREF)0xffffffffL)
 No color.
 
#define MC_CLR_DEFAULT   ((COLORREF)0xff000000L)
 Default color.
 
#define MC_I_GROUPIDNONE   (-2)
 Index of no group.
 

Detailed Description

Helper shared stuff.

This helper header file provides some macro definitions shared by other public mCtrl headers. They all include this header so you shouldn't need to include this header file directly.

Macro Definition Documentation

#define MCTRL_API   __declspec(dllimport) __stdcall

Helper macro specifying the calling convention of functions exported by MCTRL.DLL.

#define MCTRL_NAME_AW (   name)    name##W

Helper macro for unicode resolution.

#define MC_CLR_NONE   ((COLORREF)0xffffffffL)

No color.

This is defined to have the same value and meaning as the constant CLR_NONE from <commctrl.h> and applications can use these two macros interchangeably.

#define MC_CLR_DEFAULT   ((COLORREF)0xff000000L)

Default color.

This is defined to have the same value and meaning as the constant CLR_DEFAULT from <commctrl.h> and applications can use these two macros interchangeably.

#define MC_I_GROUPIDNONE   (-2)

Index of no group.

This is defined to have the same value and meaning as the constant I_GROUPIDNONE from <commctrl.h> and applications can use these two macros interchangeably.