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 access_rights_abi.cpp 9 * \author Andrey Semashev 10 * \date 09.03.2018 11 * 12 * \brief This file contains ABI test for access_rights.hpp 13 */ 14 15 #include <boost/winapi/access_rights.hpp> 16 #include <windows.h> 17 #include "abi_test_tools.hpp" 18 main()19int main() 20 { 21 BOOST_WINAPI_TEST_CONSTANT(DELETE); 22 BOOST_WINAPI_TEST_CONSTANT(READ_CONTROL); 23 BOOST_WINAPI_TEST_CONSTANT(WRITE_DAC); 24 BOOST_WINAPI_TEST_CONSTANT(WRITE_OWNER); 25 BOOST_WINAPI_TEST_CONSTANT(SYNCHRONIZE); 26 27 BOOST_WINAPI_TEST_CONSTANT(STANDARD_RIGHTS_ALL); 28 BOOST_WINAPI_TEST_CONSTANT(STANDARD_RIGHTS_EXECUTE); 29 BOOST_WINAPI_TEST_CONSTANT(STANDARD_RIGHTS_READ); 30 BOOST_WINAPI_TEST_CONSTANT(STANDARD_RIGHTS_REQUIRED); 31 BOOST_WINAPI_TEST_CONSTANT(STANDARD_RIGHTS_WRITE); 32 33 BOOST_WINAPI_TEST_CONSTANT(SPECIFIC_RIGHTS_ALL); 34 35 BOOST_WINAPI_TEST_CONSTANT(ACCESS_SYSTEM_SECURITY); 36 37 BOOST_WINAPI_TEST_CONSTANT(MAXIMUM_ALLOWED); 38 39 BOOST_WINAPI_TEST_CONSTANT(GENERIC_ALL); 40 BOOST_WINAPI_TEST_CONSTANT(GENERIC_EXECUTE); 41 BOOST_WINAPI_TEST_CONSTANT(GENERIC_WRITE); 42 BOOST_WINAPI_TEST_CONSTANT(GENERIC_READ); 43 44 BOOST_WINAPI_TEST_TYPE_SAME(ACCESS_MASK); 45 BOOST_WINAPI_TEST_TYPE_SAME(PACCESS_MASK); 46 47 return boost::report_errors(); 48 } 49