...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Boost.WinAPI recognizes the following configuration macros:
Table 1.1. Configuration macros
Macro name |
Effect |
---|---|
|
If defined, designates the Windows API version to use. The version
should be given as hexadecimal integer, same as 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/detail/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, this macro is 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. |