github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/winapi/get_current_process.hpp (about)

     1  /*
     2   * Copyright 2010 Vicente J. Botet Escriba
     3   * Copyright 2015 Andrey Semashev
     4   *
     5   * Distributed under the Boost Software License, Version 1.0.
     6   * See http://www.boost.org/LICENSE_1_0.txt
     7   */
     8  
     9  #ifndef BOOST_WINAPI_GET_CURRENT_PROCESS_HPP_INCLUDED_
    10  #define BOOST_WINAPI_GET_CURRENT_PROCESS_HPP_INCLUDED_
    11  
    12  #include <boost/winapi/basic_types.hpp>
    13  #include <boost/winapi/detail/header.hpp>
    14  
    15  #ifdef BOOST_HAS_PRAGMA_ONCE
    16  #pragma once
    17  #endif
    18  
    19  // Windows CE define GetCurrentProcess as an inline function in kfuncs.h
    20  #if !defined( BOOST_USE_WINDOWS_H ) && !defined( UNDER_CE )
    21  extern "C" {
    22  BOOST_WINAPI_IMPORT boost::winapi::HANDLE_ BOOST_WINAPI_WINAPI_CC GetCurrentProcess(BOOST_WINAPI_DETAIL_VOID);
    23  }
    24  #endif
    25  
    26  namespace boost {
    27  namespace winapi {
    28  using ::GetCurrentProcess;
    29  }
    30  }
    31  
    32  #include <boost/winapi/detail/footer.hpp>
    33  
    34  #endif // BOOST_WINAPI_GET_CURRENT_PROCESS_HPP_INCLUDED_