46 lines
1007 B
C++
46 lines
1007 B
C++
/*
|
|
* Copyright 2016 Klemens D. Morgenstern
|
|
*
|
|
* Distributed under the Boost Software License, Version 1.0.
|
|
* See http://www.boost.org/LICENSE_1_0.txt
|
|
*/
|
|
|
|
#ifndef ACTIV_BOOST_WINAPI_OVERLAPPED_HPP_INCLUDED_
|
|
#define ACTIV_BOOST_WINAPI_OVERLAPPED_HPP_INCLUDED_
|
|
|
|
#include <ActivBoost/winapi/basic_types.hpp>
|
|
#include <ActivBoost/winapi/detail/header.hpp>
|
|
|
|
#ifdef ACTIV_BOOST_HAS_PRAGMA_ONCE
|
|
#pragma once
|
|
#endif
|
|
|
|
#if !defined( ACTIV_BOOST_USE_WINDOWS_H )
|
|
extern "C" {
|
|
struct _OVERLAPPED;
|
|
}
|
|
#endif
|
|
|
|
namespace Boost {
|
|
namespace winapi {
|
|
|
|
typedef struct ACTIV_BOOST_MAY_ALIAS _OVERLAPPED {
|
|
ULONG_PTR_ Internal;
|
|
ULONG_PTR_ InternalHigh;
|
|
union {
|
|
ACTIV_BOOST_WINAPI_DETAIL_EXTENSION struct {
|
|
DWORD_ Offset;
|
|
DWORD_ OffsetHigh;
|
|
};
|
|
PVOID_ Pointer;
|
|
};
|
|
HANDLE_ hEvent;
|
|
} OVERLAPPED_, *LPOVERLAPPED_;
|
|
|
|
} // namespace winapi
|
|
} // namespace Boost
|
|
|
|
#include <ActivBoost/winapi/detail/footer.hpp>
|
|
|
|
#endif // ACTIV_BOOST_WINAPI_OVERLAPPED_HPP_INCLUDED_
|