1 // system.hpp --------------------------------------------------------------//
3 // Copyright 2010 Vicente J. Botet Escriba
5 // Distributed under the Boost Software License, Version 1.0.
6 // See http://www.boost.org/LICENSE_1_0.txt
9 #ifndef BOOST_DETAIL_WIN_SYSTEM_HPP
10 #define BOOST_DETAIL_WIN_SYSTEM_HPP
11 #include <boost/config.hpp>
14 #include <boost/detail/win/basic_types.hpp>
15 extern "C" __declspec(dllimport) void __stdcall GetSystemInfo (struct system_info *);
20 #if defined( BOOST_USE_WINDOWS_H )
21 typedef ::SYSTEM_INFO SYSTEM_INFO_;
24 typedef struct _SYSTEM_INFO {
28 WORD_ wProcessorArchitecture;
33 LPVOID_ lpMinimumApplicationAddress;
34 LPVOID_ lpMaximumApplicationAddress;
35 DWORD_PTR_ dwActiveProcessorMask;
36 DWORD_ dwNumberOfProcessors;
37 DWORD_ dwProcessorType;
38 DWORD_ dwAllocationGranularity;
39 WORD_ wProcessorLevel;
40 WORD_ wProcessorRevision;
43 __declspec(dllimport) void __stdcall
44 GetSystemInfo (struct system_info *);
50 #endif // BOOST_DETAIL_WIN_TIME_HPP