]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/winapi/include/boost/detail/winapi/overlapped.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / winapi / include / boost / detail / winapi / overlapped.hpp
CommitLineData
7c673cae
FG
1// overlapped.hpp --------------------------------------------------------------//
2
3// Copyright 2016 Klemens D. Morgenstern
4
5// Distributed under the Boost Software License, Version 1.0.
6// See http://www.boost.org/LICENSE_1_0.txt
7
8#ifndef BOOST_DETAIL_WINAPI_OVERLAPPED_HPP_
9#define BOOST_DETAIL_WINAPI_OVERLAPPED_HPP_
10
11#include <boost/detail/winapi/basic_types.hpp>
12
13#ifdef BOOST_HAS_PRAGMA_ONCE
14#pragma once
15#endif
16
17#if !defined( BOOST_USE_WINDOWS_H )
18extern "C" {
19struct _OVERLAPPED;
20}
21#endif
22
23namespace boost {
24namespace detail {
25namespace winapi {
26
27#ifdef BOOST_MSVC
28#pragma warning(push)
29#pragma warning(disable:4201) // nonstandard extension used : nameless struct/union
30#endif
31
32typedef struct BOOST_DETAIL_WINAPI_MAY_ALIAS _OVERLAPPED {
33 ULONG_PTR_ Internal;
34 ULONG_PTR_ InternalHigh;
35 union {
36 struct {
37 DWORD_ Offset;
38 DWORD_ OffsetHigh;
39 };
40 PVOID_ Pointer;
41 };
42 HANDLE_ hEvent;
43} OVERLAPPED_, *LPOVERLAPPED_;
44
45#ifdef BOOST_MSVC
46#pragma warning(pop)
47#endif
48
49}}}
50
51#endif // BOOST_DETAIL_WINAPI_OVERLAPPED_HPP_