Mercurial > hg > vamp-build-and-test
diff DEPENDENCIES/generic/include/boost/detail/winapi/handles.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/detail/winapi/handles.hpp Fri Sep 04 12:01:02 2015 +0100 +++ b/DEPENDENCIES/generic/include/boost/detail/winapi/handles.hpp Mon Sep 07 11:12:49 2015 +0100 @@ -24,14 +24,20 @@ #if defined( BOOST_USE_WINDOWS_H ) using ::CloseHandle; using ::DuplicateHandle; + + const DWORD_ duplicate_close_source = DUPLICATE_CLOSE_SOURCE; + const DWORD_ duplicate_same_access = DUPLICATE_SAME_ACCESS; + const HANDLE_ invalid_handle_value = INVALID_HANDLE_VALUE; #else -extern "C" { - __declspec(dllimport) int __stdcall +extern "C" { + __declspec(dllimport) int __stdcall CloseHandle(void*); - __declspec(dllimport) int __stdcall + __declspec(dllimport) int __stdcall DuplicateHandle(void*,void*,void*,void**,unsigned long,int,unsigned long); } - + const DWORD_ duplicate_close_source = 1; + const DWORD_ duplicate_same_access = 2; + const HANDLE_ invalid_handle_value = (HANDLE_)(-1); #endif } }