Home | Libraries | People | FAQ | More |
Boost.WinAPI recognizes the following configuration macros:
Table 1.1. Configuration macros
Macro name |
Effect |
---|---|
|
If defined, designates the target Windows API version. The version
should be given as hexadecimal integer, same as the |
|
If defined, designates the target Windows API version down to a particular
Service Pack. This macro offers a more fine grained way to define
the target Windows version than |
|
If defined, designates the Windows API family to use. The family
can be set to one of the values of the |
|
This macro is part of Boost.Config. If defined, Boost.WinAPI will
include |
|
This macro is defined by Boost.Config on platforms that do not support narrow-character versions of some APIs. Boost.WinAPI will not declare narrow-character APIs when this macro is defined. |
User's code can include <boost/winapi/config.hpp>
to define a number of macros that can be
useful. Including this header is recommended in any code that involves Windows
API usage.
Table 1.2. Defined configuration macros
Macro name |
Effect |
---|---|
|
If not defined by user, these macros are defined by the header to the target Windows API version. |
|
These macros expand to the constants designating the particular Windows
versions and can be used together with |
|
Defined if Windows SDK is provided by MinGW. |
|
Defined if Windows SDK is provided by MinGW-w64. Note that is does not mean that the code is compiled for 64-bit Windows. |
|
Defined if Windows SDK is provided by MinGW variant from Cygwin. |