• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *             Copyright Andrey Semashev 2018.
3  * Distributed under the Boost Software License, Version 1.0.
4  *    (See accompanying file LICENSE_1_0.txt or copy at
5  *          http://www.boost.org/LICENSE_1_0.txt)
6  */
7 /*!
8  * \file   get_system_directory_abi.cpp
9  * \author Andrey Semashev
10  * \date   10.03.2018
11  *
12  * \brief  This file contains ABI test for get_system_directory.hpp
13  */
14 
15 #include <boost/winapi/get_system_directory.hpp>
16 #include <windows.h>
17 #include "abi_test_tools.hpp"
18 
main()19 int main()
20 {
21 #if BOOST_WINAPI_PARTITION_DESKTOP
22 #if !defined(BOOST_NO_ANSI_APIS)
23     BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(GetSystemDirectoryA);
24 #endif
25     BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(GetSystemDirectoryW);
26 #endif // BOOST_WINAPI_PARTITION_DESKTOP
27 
28     return boost::report_errors();
29 }
30