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)
8 * \file security_abi.cpp
9 * \author Andrey Semashev
12 * \brief This file contains ABI test for security.hpp
15 #include <boost/winapi/security.hpp>
17 #include "abi_test_tools.hpp"
21 #if BOOST_WINAPI_PARTITION_APP_SYSTEM
23 BOOST_WINAPI_TEST_TYPE_SAME(PSID
);
24 BOOST_WINAPI_TEST_TYPE_SAME(SECURITY_DESCRIPTOR_CONTROL
);
25 BOOST_WINAPI_TEST_TYPE_SAME(PSECURITY_DESCRIPTOR_CONTROL
);
27 BOOST_WINAPI_TEST_STRUCT(ACL
, (AclRevision
)(Sbz1
)(AclSize
)(AceCount
)(Sbz2
));
28 BOOST_WINAPI_TEST_STRUCT(SECURITY_DESCRIPTOR
, (Revision
)(Sbz1
)(Control
)(Owner
)(Group
)(Sacl
)(Dacl
));
30 #endif // BOOST_WINAPI_PARTITION_APP_SYSTEM
32 return boost::report_errors();