1 // security.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_SECURITY_HPP
10 #define BOOST_DETAIL_WIN_SECURITY_HPP
12 #include <boost/detail/win/basic_types.hpp>
21 #if defined( BOOST_USE_WINDOWS_H )
22 typedef ::SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES_;
23 typedef ::PSECURITY_ATTRIBUTES PSECURITY_ATTRIBUTES_;
24 typedef ::LPSECURITY_ATTRIBUTES LPSECURITY_ATTRIBUTES_;
28 struct SECURITY_DESCRIPTOR_;
29 typedef SECURITY_DESCRIPTOR_* PSECURITY_DESCRIPTOR_;
38 typedef struct _SECURITY_ATTRIBUTES {
40 LPVOID_ lpSecurityDescriptor;
42 } SECURITY_ATTRIBUTES_, *PSECURITY_ATTRIBUTES_, *LPSECURITY_ATTRIBUTES_;
44 __declspec(dllimport) BOOL_ __stdcall
45 InitializeSecurityDescriptor(
46 PSECURITY_DESCRIPTOR_ pSecurityDescriptor,
49 __declspec(dllimport) BOOL_ __stdcall
50 SetSecurityDescriptorDacl(
51 PSECURITY_DESCRIPTOR_ pSecurityDescriptor,
62 #endif // BOOST_DETAIL_WIN_SECURITY_HPP