directory_management_abi.cpp 907 B

123456789101112131415161718192021222324252627282930313233
  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 directory_management_abi.cpp
  9. * \author Andrey Semashev
  10. * \date 09.03.2018
  11. *
  12. * \brief This file contains ABI test for directory_management.hpp
  13. */
  14. #include <boost/winapi/directory_management.hpp>
  15. #include <windows.h>
  16. #include "abi_test_tools.hpp"
  17. int main()
  18. {
  19. #if !defined( BOOST_NO_ANSI_APIS )
  20. #if BOOST_WINAPI_PARTITION_APP_SYSTEM
  21. BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(GetTempPathA);
  22. #endif
  23. BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(RemoveDirectoryA);
  24. #endif
  25. #if BOOST_WINAPI_PARTITION_APP_SYSTEM
  26. BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(GetTempPathW);
  27. #endif
  28. BOOST_WINAPI_TEST_FUNCTION_SIGNATURE(RemoveDirectoryW);
  29. return boost::report_errors();
  30. }